Hello,
The title explains if.
Can it be done? If so, then how?
Currently I have this setup
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameGeneration : MonoBehaviour {
// Setup Dictionary for list
Dictionary<string, List<ModularGameObjects>()> lists = new Dictionary<string, List<ModularGameObjects>()>();
void Awake() {
// Add stuff to list
lists.Add ("Platform", new List<ModularGameObjects>());
lists.Add ("Wall", new List<ModularGameObjects>());
lists.Add ("Stair", new List<ModularGameObjects>());
}
}