Example #1
0
 static void APRRemapperWindow()
 {
     if (_instance == null)
     {
         APR_Remapper window = ScriptableObject.CreateInstance(typeof(APR_Remapper)) as APR_Remapper;
         window.maxSize = new Vector2(350f, 640f);
         window.minSize = window.maxSize;
         window.ShowUtility();
     }
 }
Example #2
0
 void OnDisable()
 {
     _instance = null;
 }
Example #3
0
 void OnEnable()
 {
     _instance = this;
 }