Exemplo n.º 1
0
        void OnDisable()
        {
            instance = null;

            if (AnimationPreviewer.instance != null)
            {
                AnimationPreviewer.instance.Close();
            }
        }
Exemplo n.º 2
0
 void OnEnable()
 {
     minSize  = new Vector2(400f, 300f);
     instance = this;
 }