Пример #1
0
    // Start is called before the first frame update
    void Start()
    {
        GameEvents.eventController.onGameScoreChange += OnGameScoreChange;
        fc = GetComponent <FollowCamera>();

        playerId = fc.GetPlayerID();

        tmpgui.SetText("Souls: " + sk.GetScoreById(1));
    }