cocos2d-x ActionManager控制精灵的暂停运动(2)
来源:未知 责任编辑:责任编辑 发表时间:2013-11-18 20:55 点击:次
	   
	
	  
	  
	  
p>            } else if (isPause)
p>            {
p>                        director->getActionManager()->resumeTarget( this ->getChildByTag(1));
p>                        isPause=!isPause;
p>            }
p>我们看pauseTarget的声名为:
p>     /** Pauses the target: all running actions and newly added actions will be paused.
p>    */
p>    void pauseTarget(CCObject *pTarget); 
p>对传入的对象进行暂停。
	
	
        
        
        
	
        相关新闻>>
最新推荐更多>>>
              
          - 发表评论
- 
				
- 最新评论 进入详细评论页>>

![cocos2d_x+lua[2]](/uploads/allimg/131030/110J64609-0-lp.jpg)








