读书人

定时消息 update:步骤

发布时间: 2012-06-29 15:48:47 作者: rapoo

定时消息 update:方法
scheduleUpdate方法会执行update:方法,每帧执行一次

或者指定定时方法

// in Node A-(void) scheduleUpdates{[self scheduleUpdate];}// in Node B-(void) scheduleUpdates{[self scheduleUpdateWithPriority:1];}// in Node C-(void) scheduleUpdates{[self scheduleUpdateWithPriority:-1];} 


ABC3个节点的优先级为C>A>B

读书人网 >PowerDesigner

热点推荐