// Use this for initialization void Start() { dpm = GameObject.Find("GameManager").GetComponent <DicePointManager>(); dpm.GetDP(); this.dpText = this.GetComponent <Text>(); this.dpText.text = dpm.GetDP().ToString(); }
// Use this for initialization void Start() { dpm = GameObject.Find("GameManager").GetComponent <DicePointManager>(); button = this.GetComponent <Button>(); button.onClick.AddListener(OnClickButton); button.interactable = false; putext = GetComponentInChildren <Text>(); putext.text = "自動ダイス間隔+1/m\n" + cost.ToString() + "DP"; }
// Use this for initialization void Start() { dpm = GameObject.Find("GameManager").GetComponent <DicePointManager>(); //diceObjs.AddRange(GameObject.FindGameObjectsWithTag("Dice")); rollList = new List <int> { 1, 1 }; //通常ダイス2個 rollIndex = 0; allStoped = false; valTxt.issue1 = check_456; valTxt.issue2 = check_coeff; }
// Use this for initialization void Start() { dpm = GameObject.Find("GameManager").GetComponent <DicePointManager>(); }