コード例 #1
0
 private SoundObjectCache <SoundCommand> GetOrCreateSoundCommonCache()
 {
     if (m_commonCache == null)
     {
         m_commonCache = new SoundObjectCache <SoundCommand>();
     }
     return(m_commonCache);
 }
コード例 #2
0
 private SoundObjectCache <SoundArgs> GetOrCreateSoundArgsCache()
 {
     if (m_argsCache == null)
     {
         m_argsCache = new SoundObjectCache <SoundArgs>();
     }
     return(m_argsCache);
 }