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