Exemplo n.º 1
0
    void EnterControllableObject(Controllable controllable)
    {
        ActivateSnot(false);
        myRigidbody.velocity = Vector2.zero;

        controllable.SetIsBeingControlled(true);

        TakeOver(controllable.gameObject);

        AudioManager.PlayShot(audioSource, enterObjectSound);
    }