private void OnGUI() { if (TerrainCenter.SetupGUI()) { Rect r = new Rect(position) { x = 0, y = 0 }; GUI.Box(r, "", PGUIStyle.nodeBox); TerrainCenter.OnGUI(); } }
private void OnDestroy() { TerrainCenter.Stop(); }
private void OnEnable() { TerrainCenter.Start(); }