Pathfinding.MonoModifier.OnDestroy C# (CSharp) Method

OnDestroy() public method

public OnDestroy ( ) : void
return void
		public void OnDestroy () {
			
			if (seeker != null) {
				seeker.DeregisterModifier (this);
				//seeker.postProcessOriginalPath -= new OnPathDelegate (ApplyOriginal);
				//seeker.postProcessPath -= new OnPathDelegate (Apply);
				//seeker.getNextTarget -= new GetNextTargetDelegate (GetNextTarget);
			}
		}