/// <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); }
private void OnSceneChanged(Scene inPreviousScene, Scene inNextScene) { _gridInfo = null; _data = GetData(false); }
public void ReInitializeGridInfo() { _gridInfo = new GridInfo(Grid); }