Пример #1
0
    private void Start()
    {
        _gameSession = FindObjectOfType <GameSession>();
        HealthDisplay healthDisplay = FindObjectOfType <HealthDisplay>();

        if (healthDisplay)
        {
            healthDisplay.NewPlayer(this);
        }
    }