Пример #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);
        }
    }
Пример #2
0
        public void EndDateWithNoDialog()
        {
            DateScript DS = GameObject.FindWithTag("DateController").GetComponent <DateScript>();

            DS.EndDateNoDialog();
        }