Beispiel #1
0
    public void ModifyDP(string[] amount)
    {
        DateScript DS = GameObject.FindWithTag("DateController").GetComponent <DateScript>();

        if (amount == null)
        {
            return;
        }

        int value;

        if (int.TryParse(amount[0], out value))
        {
            DS.ModifyDP(value);
        }
    }
Beispiel #2
0
        public void EndDateWithNoDialog()
        {
            DateScript DS = GameObject.FindWithTag("DateController").GetComponent <DateScript>();

            DS.EndDateNoDialog();
        }