public bool FillBundleInfo(AudioClip audioClip) { if (audioClip == null) { return(false); } this.m_assetPathOfAudioClip = this.GetAssetPathOfAudioClip(audioClip); this.m_assetBundleName = TsAudioBundleInfo._MakeAssetBundleName(this.m_assetPathOfAudioClip); this.m_audioClipName = audioClip.name; return(true); }
public AudioClip LoadAssetAtPath() { if (!Application.isEditor) { TsLog.LogError("Cannot use this Function~! only EditorMode~!", new object[0]); return(null); } if (TsAudioBundleInfo.EventLoadAssetAtPath == null) { return(null); } return(TsAudioBundleInfo.EventLoadAssetAtPath(this.m_assetPathOfAudioClip)); }