Exemplo n.º 1
0
    void Start()
    {
        gearType = "Connon";
        state = ConnonState.connon;
        connonEnable = true;
        targetPosition = target.transform.position;
        timerID = uint.MaxValue;

        hasFirePerson = false;

        EventDispatcher.AddEventListener<MonoBehaviour>(Events.GearEvent.MotorHandleEnd, ReturnGround);
    }
Exemplo n.º 2
0
    void Start()
    {
        gearType       = "Connon";
        state          = ConnonState.connon;
        connonEnable   = true;
        targetPosition = target.transform.position;
        timerID        = uint.MaxValue;

        hasFirePerson = false;

        EventDispatcher.AddEventListener <MonoBehaviour>(Events.GearEvent.MotorHandleEnd, ReturnGround);
    }
Exemplo n.º 3
0
    public void SetState()
    {
        state = ConnonState.catapult;

        if (MainUILogicManager.Instance != null)
        {
            MainUILogicManager.Instance.IsAttackable = false;
        }

        MogoWorld.thePlayer.CleanCharging();
        MogoWorld.thePlayer.ClearSkill();
        MogoWorld.thePlayer.ChangeMotionState(MotionState.ROLL);
        MogoWorld.thePlayer.motor.enableStick = false;
    }
Exemplo n.º 4
0
    public void SetState()
    {
        state = ConnonState.catapult;

        if (MainUILogicManager.Instance != null)
            MainUILogicManager.Instance.IsAttackable = false;

        MogoWorld.thePlayer.CleanCharging();
        MogoWorld.thePlayer.ClearSkill();
        MogoWorld.thePlayer.ChangeMotionState(MotionState.ROLL);
        MogoWorld.thePlayer.motor.enableStick = false;
    }