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()); }
public int money; // 달러 public void MoneyUpdate() { TextManaging temp = GameManager.Instance.interfaceManager.defaultIf[(int)_DefaultInterface._Costbar].GetComponent <TextManaging>(); temp.SetText(0, money.ToString() + "$"); }