A downloadable tool

Download NowName your own price

GameObject Serializer is a simple GameObject Serializer and Deserializer. The Serialization creates a simple JSON data representation of the GameObject and its Components. The Deserialization does the inverse operation by converting the  JSON data back into a GameObject.

To Serialize a GameObject in the Hierarchy simply right-click the GameObject and navigate to JellyFish -> QuickSetup -> GameObject Hierarchy -> Serialize GameObject.

This will serialize the selected GameObject and its components into a JSON representation. You then only need to save the .ghjson file to where ever you want.

The Deserialization is just as easy. You can either right-click on the .ghjson file and navigate to JellyFish -> QuickSetup -> GameObject Hierarchy -> Deserialize GHJson or you can Double Click the .ghjson file and select the Create Object option from the Dialog Options Window. 

You can also Serialize a GameObject as well as Deserialize the resulting JSON data at Runtime. You can view an Example of this in the Example Scene provided. 

Key Runtime Functions:
Serialization Function

JsonSerializer.SerializeTransformHierarchy(transform);

Deserialization Function:

JsonSerializer.DeserializeTransformHierarchy(json);

There are still many improvements that can be made to this tool. However, keep in mind that this is using a Serializer that is freely available on GitHub. 

You can watch a How To video Here: 

The Serializer has been created by Zalo. You can find a link to the Serializer here.

Download

Download NowName your own price

Click download now to get access to the following files:

gameobject-serializer.unitypackage 1 MB

Leave a comment

Log in with itch.io to leave a comment.