Пример #1
0
 public AttackBehaviour(GameObject sword)
 {
     Sword = sword;
     timeUntilUsage = TimeSpan.FromMilliseconds(0);
     if (Sword.HasBehaviourOfType("WeaponBehaviour"))
         BehaviourSword = Sword.GetBehaviourOfType("WeaponBehaviour");
 }