Example #1
0
 protected new void Start()
 {
     sceneController = (FirstController)Director.getInstance().sceneController;
     if (sceneController.is_physics == true)
     {
         sceneController.actionManager = this;
     }
     Fly.Add(PhysicMoveAction.GetSSAction());
 }
Example #2
0
    public static PhysicMoveAction GetSSAction()
    {
        PhysicMoveAction action = ScriptableObject.CreateInstance <PhysicMoveAction>();

        return(action);
    }