Пример #1
0
    protected override void MakeISM()
    {
        mISM = new ISMStateMachine <ScreenMeshHalfCameraController>(this);

        mISM.CreateAndAdd <SMHBounceState>("Bounce", this);
        mISM.CreateAndAdd <SMHBounceDragState>("BounceDrag", this);


        mISM.Push("Bounce");
    }
    protected virtual void MakeISM()
    {
        mISM = new ISMStateMachine <CylinderPlaneMeshController>(this);

        mISM.CreateAndAdd <CMPlaneState>("Plane", this);
        mISM.CreateAndAdd <CMPinchState>("Pinch", this);
        mISM.CreateAndAdd <CMCylinderState>("Cylinder", this);
        mISM.CreateAndAdd <CMZoomOutState>("ZoomOut", this);
        mISM.CreateAndAdd <CMZoomInState>("ZoomIn", this);

        mISM.Push("Plane");
    }
    protected virtual void MakeISM()
    {
        mISM = new ISMStateMachine <WideAngleCameraController>(this);

        mISM.CreateAndAdd <WAIdleState>("Idle", this);
        mISM.CreateAndAdd <WADragState>("Drag", this);
        mISM.CreateAndAdd <WAZoomOutState>("ZoomOut", this);
        mISM.CreateAndAdd <WAZoomInState>("ZoomIn", this);
        mISM.CreateAndAdd <WABounceState>("Bounce", this);
        mISM.CreateAndAdd <WAPullEnergyState>("PullEnergy", this);
        mISM.CreateAndAdd <WAPatrolDragState>("PatrolDrag", this);


        mISM.Push("Idle");
    }
    protected virtual void MakeISM()
    {
        mISM = new ISMStateMachine <ScreenMeshHalfCameraController>(this);

        mISM.CreateAndAdd <SMHIdleState>("Idle", this);
        mISM.CreateAndAdd <SMHDragState>("Drag", this);
        mISM.CreateAndAdd <SMHZoomOutState>("ZoomOut", this);
        mISM.CreateAndAdd <SMHZoomInState>("ZoomIn", this);
        mISM.CreateAndAdd <SMHBounceState>("Bounce", this);
        mISM.CreateAndAdd <SMHBounceDragState>("BounceDrag", this);


        mISM.Push("Idle");
    }