void Awake() { gogoSound = (GoGoSound)target; gogoSound.audioSource = gogoSound.GetComponent <AudioSource>(); RegisterKeyFrameList(gogoSound.soundKeyFrameList.Cast <KeyFrameBase>()); EditorApplication.update += UpdateInEditorMode; }
void Awake() { gogoSound = (GoGoSound)target; gogoSound.audioSource = gogoSound.GetComponent<AudioSource>(); RegisterKeyFrameList(gogoSound.soundKeyFrameList.Cast<KeyFrameBase>()); EditorApplication.update += UpdateInEditorMode; }