Inheritance: GoGoComponent
 void Awake()
 {
     gogoSound             = (GoGoSound)target;
     gogoSound.audioSource = gogoSound.GetComponent <AudioSource>();
     RegisterKeyFrameList(gogoSound.soundKeyFrameList.Cast <KeyFrameBase>());
     EditorApplication.update += UpdateInEditorMode;
 }
Esempio n. 2
0
 void Awake()
 {
     gogoSound = (GoGoSound)target;
     gogoSound.audioSource = gogoSound.GetComponent<AudioSource>();
     RegisterKeyFrameList(gogoSound.soundKeyFrameList.Cast<KeyFrameBase>());
     EditorApplication.update += UpdateInEditorMode;
 }