Ejemplo n.º 1
0
    public void SetModeVoid()
    {
        doAction = DoActionVoid;

        currentState = null;

        transform.position = new Vector3(0.6f, -0.2f, 0);

        CurrentMatter = START_MATTER;
    }
Ejemplo n.º 2
0
    public void SetModeDeath()
    {
        doAction = DoActionDeath;

        currentState = _deathState;

        ResetForce();

        end.Raise();

        RuntimeManager.PlayOneShot("event:/SD/SFX/SFX_Death", transform.position);
    }
Ejemplo n.º 3
0
    public void SetModeStuck()
    {
        doAction = DoActionStuck;

        currentState = _stuckState;

        ResetForce();

        currentDashNumber = 0;

        currentTimeBeforeRelease = 0;
    }
Ejemplo n.º 4
0
    public void SetModeNormal()
    {
        doAction = DoActionNormal;

        currentState = _normalState;
    }