GameEntities.DoorType.OnPreloadResources C# (CSharp) Method

OnPreloadResources() protected method

protected OnPreloadResources ( ) : void
return void
        protected override void OnPreloadResources()
        {
            base.OnPreloadResources();

            if( !string.IsNullOrEmpty( SoundOpen ) )
                SoundWorld.Instance.SoundCreate( SoundOpen, SoundMode.Mode3D );
            if( !string.IsNullOrEmpty( SoundClose ) )
                SoundWorld.Instance.SoundCreate( SoundClose, SoundMode.Mode3D );
        }