コード例 #1
0
    public int shark3; // 상어 3급

    public void SharkUpdate()
    {
        TextManaging temp = GameManager.Instance.interfaceManager.defaultIf[(int)_DefaultInterface._Costbar].GetComponent <TextManaging>();

        temp.SetText(1, shark1.ToString());
        temp.SetText(2, shark2.ToString());
        temp.SetText(3, shark3.ToString());
    }
コード例 #2
0
    public int money; // 달러

    public void MoneyUpdate()
    {
        TextManaging temp = GameManager.Instance.interfaceManager.defaultIf[(int)_DefaultInterface._Costbar].GetComponent <TextManaging>();

        temp.SetText(0, money.ToString() + "$");
    }