protected override void PlayEffect() { GameObject effect = Instantiate <GameObject>(effectPrefab); effect.transform.position = transform.position; ArcEffect skillEffect = effect.GetComponent <ArcEffect>(); skillEffect.responseList = damageInfo.responseList; skillEffect.chainLength = target.Count; for (int i = 0; i < target.Count; i++) { skillEffect.SetTarget(target[i].transform.position); } }
public _Arc(LColor c) { arc = new ArcEffect(c); }