Exemple #1
0
 public void SetActive(bool isSwitch)
 {
     gameObject.SetActive(isSwitch);
     if (isSwitch == false)
     {
         StopAllCoroutines();
         spriteAnimator.Init();
     }
 }