GAudio.GATSoundBank.AddSample C# (CSharp) Méthode

AddSample() public méthode

public AddSample ( string pathInResources, string guid, int numChannels, int samplesPerChannel, bool isStreamingAsset ) : void
pathInResources string
guid string
numChannels int
samplesPerChannel int
isStreamingAsset bool
Résultat void
        public void AddSample( string pathInResources, string guid, int numChannels, int samplesPerChannel, bool isStreamingAsset )
        {
            GATSampleInfo info = new GATSampleInfo( pathInResources, guid, numChannels, samplesPerChannel, isStreamingAsset );
            _sampleInfos.Add ( info );
            _totalUncompressedBytes += info.UncompressedBytesInMemory;
            _humanReadableUncompressedSize = null;
        }