BBGamelib.CCScheduler.unscheduleUpdateForTarget C# (CSharp) Method

unscheduleUpdateForTarget() public method

public unscheduleUpdateForTarget ( System target ) : void
target System
return void
		public void unscheduleUpdateForTarget(System.Object target){
			if(target == null)
				return;
			tHashUpdateEntry element = hashForUpdates.HASH_FIND_INT (target.GetHashCode());
			if (element != null) {
				if(updateHashLocked)
					element.entry.obj.markedForDeletion = true;
				else
					removeUpdatesFromHash(element.entry);
			}
		}

Usage Example

コード例 #1
0
 /* unschedules the "update" method.
  *
  * @since v0.99.3
  */
 public void unscheduleUpdate()
 {
     _scheduler.unscheduleUpdateForTarget(this);
 }