Beispiel #1
0
 // Start is called before the first frame update
 void Start()
 {
     hitPoint           = MaxHitPoint;
     instantSkillEffect = null;
     myState            = TitanState.AutoAttacking;
     skill = TitanSkill.CenterSphere;
 }
Beispiel #2
0
 void SkillChange()
 {
     timeLine++;
     if (timeLine == 500)
     {
         myState = TitanState.SkillChaging;
         skill   = TitanSkill.CenterSphere;
     }
     //else if (timeLine == 1500)
     //{
     //    myState = SkeltonState.SkillChaging;
     //    skill = SkeltonSkill.Search;
     //}
     else if (timeLine > 2000)
     {
         timeLine = 0;
     }
 }