// -- lifecycle -- protected void Start() { mDoor = GetComponent <Door>(); mHover = GetComponentInChildren <Interact.OnHover>(); mAmbientSound = GetComponent <AmbientSound>(); }
// -- lifecycle -- protected void Start() { mHover = GetComponent <Interact.OnHover>(); }
// -- lifecycle -- protected void Awake() { mHover = GetComponent <Interact.OnHover>(); mSound = GetComponent <AudioSource>(); }
// -- lifecycle -- void Awake() { mHover = fMoon.GetComponent <Interact.OnHover>(); mAnimator = GetComponent <Animator>(); }