Inheritance: GoGoComponent
コード例 #1
0
 void Awake()
 {
     gogoSound             = (GoGoSound)target;
     gogoSound.audioSource = gogoSound.GetComponent <AudioSource>();
     RegisterKeyFrameList(gogoSound.soundKeyFrameList.Cast <KeyFrameBase>());
     EditorApplication.update += UpdateInEditorMode;
 }
コード例 #2
0
ファイル: GoGoSoundEditor.cs プロジェクト: rouchen/UnityDemo
 void Awake()
 {
     gogoSound = (GoGoSound)target;
     gogoSound.audioSource = gogoSound.GetComponent<AudioSource>();
     RegisterKeyFrameList(gogoSound.soundKeyFrameList.Cast<KeyFrameBase>());
     EditorApplication.update += UpdateInEditorMode;
 }