예제 #1
0
 public override void OnBind()
 {
     if (fx)
     {
         XResources.DestroyGameObject(path, fx);
     }
     Load((BoneFxClipData)data);
 }
예제 #2
0
        public override void OnDestroy()
        {
            if (!seqence.IsHostTrack(this))
            {
                XResources.DestroyGameObject(pat, bindObj);
            }

            base.OnDestroy();
        }
예제 #3
0
        public override void OnDestroy()
        {
            if (prefabGameObject)
            {
                XResources.DestroyGameObject(path, prefabGameObject);
                particleSystems = null;
            }
            SharedPool <XSceneFxClip> .Return(this);

            base.OnDestroy();
        }
예제 #4
0
        public override void OnDestroy()
        {
            if (fx)
            {
                XResources.DestroyGameObject(path, fx);
                fx = null;
            }
            ps = null;
            SharedPool <XBoneFxClip> .Return(this);

            base.OnDestroy();
        }