示例#1
0
 protected new void Start()
 {
     sceneController = (FirstSceneController)Director.getInstance().currentScenceController;
     sceneController.actionManager = this;
     Fly.Add(CCFlyAction.GetSSAction());
 }
示例#2
0
        //实例化一个动作给动作管理器
        public static CCFlyAction GetSSAction()
        {
            CCFlyAction action = ScriptableObject.CreateInstance <CCFlyAction>();

            return(action);
        }