Example #1
0
    private void KillPlayer()
    {
        Debug.Log("killing player");

        // time to disable the player inputs
        inputController.DisableInputs();

        isAlive     = false;
        rb.velocity = Vector3.zero;

        Debug.Log("Disabling controls due to impact");
    }