Beispiel #1
0
    void OnDisable()
    {
        Player.OnShotFired   -= OnPlayerShotFired;
        Player.OnPlayerDeath -= OnPlayerDeath;

        if (personality != null)
        {
            personality.OnObjDisable();
        }
    }