首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > PowerDesigner >

定时消息 update:步骤

2012-06-29 
定时消息 update:方法scheduleUpdate方法会执行update:方法,每帧执行一次或者指定定时方法// in Node A-(v

定时消息 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

热点排行