示例#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>();
 }
示例#2
0
文件: cpujoy.cs 项目: ShSaw/rock
 // Start is called before the first frame update
 void Start()
 {
     cpu  = GameObject.Find("cpu").GetComponent <cpu_script_real>();
     anim = GetComponent <Animator>();
 }