Exemple #1
0
    // save function confirmed
    private void saveFunctionConfirmed()
    {
        player = GameObject.FindGameObjectWithTag("Player").GetComponent <playercontroller>();
        player.PlayerSaveData();
        string msg = "Wooden has wrote a note for the time.";

        this.popup.GetComponent <PopUpMsgController>().PopUpMsg(msg, 2f);
    }