コード例 #1
0
    // Use this for initialization
    void Start()
    {
        StartCoroutine(WaitToChangeScene());
        InfoPlayer infoPlayer = FindObjectOfType <InfoPlayer>();

        textNbrDie.text = "Nombre de mort " + infoPlayer.GetPlayerDieCount();
    }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        StartCoroutine(ChangeScene());
        InfoPlayer infoPlayer = FindObjectOfType <InfoPlayer>();

        textNbrDie.text = "Nbr deaths : " + infoPlayer.GetPlayerDieCount();
    }