コード例 #1
0
 protected override void InitializeEventInstance(EventInstance eventInstance)
 {
     //IL_001a: Unknown result type (might be due to invalid IL or missing references)
     //IL_001f: Unknown result type (might be due to invalid IL or missing references)
     //IL_0022: Unknown result type (might be due to invalid IL or missing references)
     //IL_0023: Unknown result type (might be due to invalid IL or missing references)
     if (!(null == m_mapCharacterObject))
     {
         ATTRIBUTES_3D val = FMODUtility.To3DAttributes(m_mapCharacterObject.get_transform());
         eventInstance.set3DAttributes(val);
     }
 }
コード例 #2
0
ファイル: HavreMap.cs プロジェクト: hussein-aitlahcen/nevaw
 public IEnumerator Initialize()
 {
     RenderSettings.set_ambientLight(m_ambientColor);
     m_cameraHandler.Initialize(m_mapData, m_mapCharacterObject.get_transform());
     if (AudioManager.isReady)
     {
         m_audioContext.Initialize();
         m_worldMusicRequest = AudioManager.LoadWorldMusic(m_musicGroup, m_ambianceGroup, m_audioContext);
         while (m_worldMusicRequest.state == AudioWorldMusicRequest.State.Loading)
         {
             yield return(null);
         }
     }
 }