Exemple #1
0
 void initializeClasses()
 {
     _gridClass = transform.GetComponent <Gridmap>();
     _gridMap   = _gridClass.gridMap;
 }
 void initializeClasses()
 {
     _gridClass = transform.GetComponent<Gridmap>();
     _gridMap = _gridClass.gridMap;
 }
 void initializeClasses()
 {
     /* Get the Gridmap class and put the array of that class in this class. */
     _gridClass = transform.GetComponent <Gridmap>();
     _gridMap   = _gridClass.gridMap;
 }
 void Start()
 {
     _grid = gameObject.GetComponent<Gridmap>();
     InitializeGridmap();
     InitializeObjects();
 }