public MoverLighting(ActLighting obj, Character src, Character dst, HitCallbackLighting onTriggerEnter) { this.mLightObj = obj; this.SrcCharacter = src; this.DstCharacter = dst; this.mUnit = GTWorld.Instance.Ect.LoadEffect(obj.ID, 0, obj.Retain); this.CacheTransform = mUnit.CacheTransform; this.mUnit.Release(mLightObj.Duration); this.mIsLoaded = true; this.mHitCallback = onTriggerEnter; }
public void MakeMove(ActLighting obj, Character src, Character dst, HitCallbackLighting onTriggerEnter) { MoverLighting mover = new MoverLighting(obj, src, dst, onTriggerEnter); mMovers.Add(mover); }