示例#1
0
 void Start()
 {
     animator       = GetComponent <Animator>();
     movementScript = GameObject.Find("Player").GetComponent <Moving_Stage3>();
     shootingScript = GameObject.Find("Main Camera").GetComponent <Shooting_Stage3>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     blurImage.material.SetFloat("_Size", 0);
     movementScript = FindObjectOfType <Moving_Stage3>();
     healthScript   = FindObjectOfType <HealthAndRespawn_Stage3>();
 }