示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     speed = 0.6f;
     narration_HospitalScript_PlayerCtrl = GameObject.Find("Hobbang").GetComponent <Narration_Hospital>();
     cam = Camera.main.GetComponent <Transform>();
     cc  = player.GetComponent <CharacterController>();
 }
示例#2
0
    // Start is called before the first frame update
    void Start()
    {
        audioSource = GetComponent <AudioSource>();

        narration_HospitalScript_RayClick = GameObject.Find("Hobbang").GetComponent <Narration_Hospital>();
    }