Skip to content

A project to generate custom UI object templates with the help of JSON data using unity custom editor

Notifications You must be signed in to change notification settings

AbhiMGame/UI-Object-Template-Generation-With-JSON-Format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI-Object-Generation-With-JSON

A project to generate custom UI object templates with the help of JSON data using Unity custom editor

1) Drag & drop all the respective elements into their respective fields in the AdObjectGenerator Custom Window

1st

2) Load, view and edit JSON template data directly in the custom editor

2nd

3) If the user wants to save any edited data, it can be directly saved with a click of button.

The saved data will be saved in a new JSON file in the JSONData folder.

4th

5th

4) The user can instantiate the UI object hierarchy in the scene directly with the loaded element data

#Note: As the UI element property fields are limited in the editor, the new instantiated object doesn't carry with it the excluded properties like the button position, text alignment, the bg image etc. To tweak it, the user can increment the fields in the JSON template directly from IDE and then load it in custom editor. Also Adproperties.cs and AdTemplateEditor.cs needs to be modified.

8th

About

A project to generate custom UI object templates with the help of JSON data using unity custom editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published