Add support for loading JsonAsset instance objects if they implement ISerializable interface
This commit is contained in:
@@ -78,13 +78,15 @@ protected:
|
||||
API_CLASS(NoSpawn) class JsonAsset : public JsonAssetBase
|
||||
{
|
||||
DECLARE_ASSET_HEADER(JsonAsset);
|
||||
private:
|
||||
ScriptingType::Dtor _dtor;
|
||||
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// The deserialized unmanaged object instance (e.g. PhysicalMaterial).
|
||||
/// </summary>
|
||||
ISerializable* Instance;
|
||||
void* Instance;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user