Exemplo n.º 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>();
 }
Exemplo n.º 2
0
Arquivo: cpujoy.cs Projeto: ShSaw/rock
 // Start is called before the first frame update
 void Start()
 {
     cpu  = GameObject.Find("cpu").GetComponent <cpu_script_real>();
     anim = GetComponent <Animator>();
 }