Пример #1
0
 public static T2.Skill.Evasion GetInstance()
 {
     if (!instance)
     {
         instance = GameObject.FindGameObjectWithTag(Tags.Player).GetComponent <T2.Skill.Evasion>();
         if (!instance)
         {
             print("Evasion 인스턴스 생성에 실패하였습니다.");
         }
     }
     return(instance);
 }
Пример #2
0
 void Awake()
 {
     blinkSpeed = blinkDist / blinkTime;
     instance   = GetInstance();
 }