示例#1
0
 void Start()
 {
     StartCoroutine(Ch_Move());
     TempMoveCount = 0;
     MoveIndex     = 0;
     diceClass     = GameObject.Find("dice").GetComponent <DiceClass>();
     _animator     = gameObject.GetComponentInChildren <Animator>();
     CMR           = gameObject.GetComponentInChildren <C_MoveRotationClass>();
 }
 void Start()
 {
     Gage      = GameObject.Find("gage").GetComponent <Image>();
     diceClass = GameObject.Find("dice").GetComponentInChildren <DiceClass>();
     EventBtn  = GameObject.Find("EventButton");
 }