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