public Leaf(InternalNode parent, Rectangle mapSpace, LeafDictionary leafDictionary, GetTreePosition positionFunc) : base(parent, mapSpace, leafDictionary, positionFunc) { unitList = new GameObjectListManager(); }
// Use this for initialization void Start() { obj = this.GetComponent <GameObjectListManager>(); }
public Leaf(InternalNode parent, Rectangle mapSpace, LeafDictionary leafDictionary) : base(parent, mapSpace, leafDictionary) { unitList = new GameObjectListManager(); }
// Use this for initialization void Start() { //assign the hex game obj list gameObjectListManager = this.GetComponent <GameObjectListManager>(); }
List <GameObject> n = new List <GameObject>(); //neighbours // Use this for initialization void Start() { obj = Camera.main.GetComponent <GameObjectListManager>(); }
public Leaf(InternalNode parent, Rectangle mapSpace, LeafDictionary leafDictionary) : base(parent, mapSpace, leafDictionary) { unitList = new GameObjectListManager(); }