コード例 #1
0
ファイル: TimerLight.cs プロジェクト: SvDvorak/PutAPinInIt
 public void Start()
 {
     _grenadeLogic = GetComponentInParent <GrenadeLogic>();
     _lights       = GetComponentsInChildren <Light>();
     _maxLight     = _lights.Average(x => x.intensity);
 }
コード例 #2
0
ファイル: SuckToCenter.cs プロジェクト: SvDvorak/PutAPinInIt
 public void Start()
 {
     _grenadeLogic = GetComponentInParent <GrenadeLogic>();
 }