Integrates sound and shapeAnimation assets into the importer

Added drag-n-drop spawn action for soundAssets
This commit is contained in:
Areloch 2020-08-24 20:24:50 -05:00
parent 20479cd818
commit 1942535923
6 changed files with 279 additions and 13 deletions

View file

@ -95,8 +95,8 @@ SoundAsset::SoundAsset()
mSoundFile = StringTable->EmptyString();
mSoundPath = StringTable->EmptyString();
mPitchAdjust = 0;
mVolumeAdjust = 0;
mPitchAdjust = 1;
mVolumeAdjust = 1;
//mSound = nullptr;
}
@ -157,3 +157,8 @@ void SoundAsset::setSoundFile(const char* pSoundFile)
// Refresh the asset.
refreshAsset();
}
DefineEngineMethod(SoundAsset, getSoundPath, const char*, (), , "")
{
return object->getSoundPath();
}