コード例 #1
0
ファイル: BedroomExit.cs プロジェクト: tycobbb/insomnia
 // -- lifecycle --
 protected void Start()
 {
     mDoor         = GetComponent <Door>();
     mHover        = GetComponentInChildren <Interact.OnHover>();
     mAmbientSound = GetComponent <AmbientSound>();
 }
コード例 #2
0
ファイル: Food.cs プロジェクト: tycobbb/insomnia
 // -- lifecycle --
 protected void Start()
 {
     mHover = GetComponent <Interact.OnHover>();
 }
コード例 #3
0
ファイル: Fan.cs プロジェクト: tycobbb/insomnia
 // -- lifecycle --
 protected void Awake()
 {
     mHover = GetComponent <Interact.OnHover>();
     mSound = GetComponent <AudioSource>();
 }
コード例 #4
0
 // -- lifecycle --
 void Awake()
 {
     mHover    = fMoon.GetComponent <Interact.OnHover>();
     mAnimator = GetComponent <Animator>();
 }