protected override void OnDispose() { base.OnDispose(); mSequenceNode.Dispose(); mSequenceNode = null; }
protected override void OnDispose() { base.OnDispose(); if (null != mSequenceNode) { mSequenceNode.Dispose(); } mSequenceNode = null; }
protected virtual void OnAllExecuteNodeEnd() { PTDebug.Log("#BaseStartProcess: OnAllExecuteNodeEnd"); mSequenceNode.OnEndedCallback -= OnAllExecuteNodeEnd; mSequenceNode.Dispose(); mSequenceNode = null; mOnProcessFinish.InvokeGracefully(); Actor.RemoveComponent(this); }
protected override void OnDispose() { base.OnDispose(); if (null != mRepeatAction) { mRepeatAction.Dispose(); } mRepeatAction = null; mSequenceNode.Dispose(); mSequenceNode = null; }
private void OnDestroy() { mSequenceNodeNode3.Dispose(); mSequenceNodeNode3 = null; }