Beispiel #1
0
 void OnEnable()
 {
     World = new Storage2D <Component> (GetPosition, cellSize, gridWidth, gridWidth);
 }
Beispiel #2
0
 void OnDisable()
 {
     World.Dispose();
     World = null;
 }
Beispiel #3
0
 void OnEnable()
 {
     World = new Storage2D <MonoBehaviour> (GetPosition, cellSize, gridWidth, gridWidth);
 }