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