예제 #1
0
    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);
        }
    }
예제 #2
0
 public _Arc(LColor c)
 {
     arc = new ArcEffect(c);
 }