예제 #1
0
파일: EyeCollision.cs 프로젝트: LordDz/birb
 void Start()
 {
     rend              = GetComponent <MeshRenderer>();
     rend.enabled      = false;
     PeterEatBehaviour = GetComponentInParent <PeterEatBehaviour>();
     eyeLook           = GetComponentInParent <EyeLook>();
     player            = GameObject.FindObjectOfType <PlayerController>();
     StopLook();
 }
예제 #2
0
파일: PeterMain.cs 프로젝트: LordDz/birb
 // Start is called before the first frame update
 void Start()
 {
     audioSource = GetComponent <AudioSource>();
     eyeLook     = GetComponentInChildren <EyeLook>();
 }
예제 #3
0
 void Start()
 {
     eyeLook     = GetComponentInChildren <EyeLook>();
     audioSource = GetComponent <AudioSource>();
     player      = GameObject.FindObjectOfType <PlayerController>();
 }