Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     debounce   = true;
     animation  = GetComponent <Animator>();
     cpu        = GameObject.Find("cpu").GetComponent <cpu_script_real>();
     your_score = GameObject.Find("ScoreBoard").GetComponent <score>();
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     cpu  = GameObject.Find("cpu").GetComponent <cpu_script_real>();
     anim = GetComponent <Animator>();
 }