Beispiel #1
0
 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;
 }
Beispiel #2
0
        public void MakeMove(ActLighting obj, Character src, Character dst, HitCallbackLighting onTriggerEnter)
        {
            MoverLighting mover = new MoverLighting(obj, src, dst, onTriggerEnter);

            mMovers.Add(mover);
        }