Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 void OnDisable()
 {
     _instance = null;
 }
Exemplo n.º 3
0
 void OnEnable()
 {
     _instance = this;
 }