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

            return(action);
        }