Esempio n. 1
0
 /// <summary>
 /// This function is used to switch data and grid references on scene changes.
 /// </summary>
 private void OnSceneChanged(Scene inScene, OpenSceneMode inMode)
 {
     _gridInfo = null;
     _data     = GetData(false);
 }
Esempio n. 2
0
 private void OnSceneChanged(Scene inPreviousScene, Scene inNextScene)
 {
     _gridInfo = null;
     _data     = GetData(false);
 }
Esempio n. 3
0
 public void ReInitializeGridInfo()
 {
     _gridInfo = new GridInfo(Grid);
 }