Пример #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);
 }
Пример #2
0
 private void OnSceneChanged(Scene inPreviousScene, Scene inNextScene)
 {
     _gridInfo = null;
     _data     = GetData(false);
 }
Пример #3
0
 public void ReInitializeGridInfo()
 {
     _gridInfo = new GridInfo(Grid);
 }