public override void OnBind() { if (fx) { XResources.DestroyGameObject(path, fx); } Load((BoneFxClipData)data); }
public override void OnDestroy() { if (!seqence.IsHostTrack(this)) { XResources.DestroyGameObject(pat, bindObj); } base.OnDestroy(); }
public override void OnDestroy() { if (prefabGameObject) { XResources.DestroyGameObject(path, prefabGameObject); particleSystems = null; } SharedPool <XSceneFxClip> .Return(this); base.OnDestroy(); }
public override void OnDestroy() { if (fx) { XResources.DestroyGameObject(path, fx); fx = null; } ps = null; SharedPool <XBoneFxClip> .Return(this); base.OnDestroy(); }