document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. using UnityEngine;
  2. using UnityEditor;
  3. using System.Collections;
  4.  
  5. [CustomEditor(typeof(TestScript))]
  6. public class TestScriptEditor : Editor {
  7.  
  8.     #region Public Variables
  9.     TestScript targetScript;
  10.     #endregion
  11.    
  12.     #region Private Variables
  13.     #endregion
  14.    
  15.     #region Main Methods
  16.     void OnEnable()
  17.     {
  18.         targetScript = (TestScript) target;
  19.     }
  20.  
  21.     public override void OnInspectorGUI ()
  22.     {
  23.         DrawDefaultInspector();
  24.     }
  25.     #endregion
  26. }
');