public override void Reset(IBehaviourEmployee employee) { base.mEmployee = employee; if (mChild != null) { mChild.Reset(employee); } }
public override void Reset(IBehaviourEmployee employee) { base.mEmployee = employee; mContinuousExecutionConstIntervalTime = mContinuousExecutionConstIntervalTimeBak; mStartTime = 0.0f; mLastExecutionTime = 0.0f; mIsFirstRunInThisCircle = true; mIsRandomFirstRunTime = mIsRandomFirstRunTimeBak; if (mIntervalAction != null) { mIntervalAction.Reset(employee); } }
public override void Reset(IBehaviourEmployee employee) { base.mEmployee = employee; if (mTrueBehavior != null) { mTrueBehavior.Reset(employee); } if (mFalseBehavior != null) { mFalseBehavior.Reset(employee); } mLastExecutionTime = 0.0f; mCachedExpressionResult = false; }
public void Reset(IBehaviourEmployee employee) { mEmployee = employee; mRootNode.Reset(employee); }