CCScheduler
CCScheduler
Cocos2DInheritance: System.Object
Constructors
CCScheduler()
CCScheduler()()
Fields
TimeScale(System.Single)
kCCPriorityNonSystemMin(System.Int32)
kCCPrioritySystem(System.Int32)
kCCRepeatForever(System.UInt32)
Methods
IsTargetPaused(ICCSelectorProtocol)
System.Boolean IsTargetPaused(ICCSelectorProtocol)(Cocos2D.ICCSelectorProtocol target)
Parameters:
target
(Cocos2D.ICCSelectorProtocol)Returns:
System.Boolean
PauseAllTargets()
System.Collections.Generic.ListCocos2D.ICCSelectorProtocol PauseAllTargets()()
Returns:
System.Collections.Generic.ListCocos2D.ICCSelectorProtocol
PauseAllTargetsWithMinPriority(int)
System.Collections.Generic.ListCocos2D.ICCSelectorProtocol PauseAllTargetsWithMinPriority(int)(System.Int32 minPriority)
Parameters:
minPriority
(System.Int32)Returns:
System.Collections.Generic.ListCocos2D.ICCSelectorProtocol
PauseTarget(ICCSelectorProtocol)
PauseTarget(ICCSelectorProtocol)(Cocos2D.ICCSelectorProtocol target)
Parameters:
target
(Cocos2D.ICCSelectorProtocol)ResumeTarget(ICCSelectorProtocol)
ResumeTarget(ICCSelectorProtocol)(Cocos2D.ICCSelectorProtocol target)
Parameters:
target
(Cocos2D.ICCSelectorProtocol)ResumeTargets(List)
ResumeTargets(List)(System.Collections.Generic.ListCocos2D.ICCSelectorProtocol targetsToResume)
Parameters:
targetsToResume
(System.Collections.Generic.ListCocos2D.ICCSelectorProtocol)ScheduleSelector(Action, ICCSelectorProtocol, float, uint, float, bool)
ScheduleSelector(Action, ICCSelectorProtocol, float, uint, float, bool)(System.ActionSystem.Single selector, Cocos2D.ICCSelectorProtocol target, System.Single interval, System.UInt32 repeat, System.Single delay, System.Boolean paused)
Parameters:
selector
(System.ActionSystem.Single)target
(Cocos2D.ICCSelectorProtocol)interval
(System.Single)repeat
(System.UInt32)delay
(System.Single)paused
(System.Boolean)Example
ScheduleUpdateForTarget(ICCSelectorProtocol, int, bool)
ScheduleUpdateForTarget(ICCSelectorProtocol, int, bool)(Cocos2D.ICCSelectorProtocol targt, System.Int32 priority, System.Boolean paused)
Parameters:
targt
(Cocos2D.ICCSelectorProtocol)priority
(System.Int32)paused
(System.Boolean)Example
UnscheduleAll()
UnscheduleAll()()
UnscheduleAllForTarget(ICCSelectorProtocol)
UnscheduleAllForTarget(ICCSelectorProtocol)(Cocos2D.ICCSelectorProtocol target)
Parameters:
target
(Cocos2D.ICCSelectorProtocol)Example
UnscheduleAllWithMinPriority(int)
UnscheduleAllWithMinPriority(int)(System.Int32 minPriority)
Parameters:
minPriority
(System.Int32)UnscheduleSelector(Action, ICCSelectorProtocol)
UnscheduleSelector(Action, ICCSelectorProtocol)(System.ActionSystem.Single selector, Cocos2D.ICCSelectorProtocol target)
Parameters:
selector
(System.ActionSystem.Single)target
(Cocos2D.ICCSelectorProtocol)Example
UnscheduleUpdateForTarget(ICCSelectorProtocol)
UnscheduleUpdateForTarget(ICCSelectorProtocol)(Cocos2D.ICCSelectorProtocol target)
Parameters:
target
(Cocos2D.ICCSelectorProtocol)Events
OnUnhandledException(Event)