Beispiel #1
0
 public override void StartSkill(Animator animator)
 {
     summonField = KOFItem.InstantiateByPool(summonField, GameController.instance.transform, gameObject.layer);
     summonField.transform.localPosition = hero.transform.localPosition;
     wurmInstance = KOFItem.InstantiateByPool(wurm, new Vector3(-30, 5.13f, 0), GameController.instance.transform, gameObject.layer);
     wurmInstance.transform.localRotation = Quaternion.Euler(0, 180, 0);
 }
Beispiel #2
0
 public override void StartSkill(Animator animator)
 {
     summonField = KOFItem.InstantiateByPool(summonField, GameController.instance.transform, gameObject.layer);
     summonField.transform.localPosition = hero.transform.localPosition;
     StartCoroutine(startSkill(animator));
 }