コード例 #1
0
 void Start()
 {
     scriptRef = curveRampObj.GetComponent <CurveRamp>();
 }
コード例 #2
0
 void Start()
 {
     scriptRef = curveRampObj.GetComponent <CurveRamp>();
     sound     = GameObject.Find("SoundObjects").GetComponent <SoundController>();
 }