예제 #1
0
 private void Start()
 {
     if (mInstance == null)
     {
         mInstance = this;
     }
     else if (mInstance != this)
     {
         Destroy(gameObject);
     }
 }
예제 #2
0
 private void OnEnable()
 {
     mObj = (SimpleLeanFX)target;
 }