Pathfinding.NavmeshCut.NotifyUpdated C# (CSharp) Method

NotifyUpdated() public method

public NotifyUpdated ( ) : void
return void
		public void NotifyUpdated () {
			wasEnabled = enabled;
			
			if (wasEnabled) {
				lastPosition = tr.position;
				lastBounds = GetBounds();
				
				if (useRotation) {
					lastRotation = tr.rotation;
				}
			}
		}