gm3 / boom-tools

This is a unity dev tool that can randomize layers, and output VRMs, and erc1155 metadata.
Creative Commons Zero v1.0 Universal
29 stars 8 forks source link

[WIP] New randomization options #30

Closed memelotsqui closed 2 years ago

memelotsqui commented 2 years ago

Work in progress to quickly add random values and setup:

2 new main classes: RandomObjects and ActionCaller

RandomObject.cs

RandomObjects are meant to be the options of the traits, new classes can inherit from RandomObject to specify what type of class must be added (GameObject, Texture, Material, Model etc.), They include a list with:

ActionCaller.cs

ActionCaller is meant to do an action with the result of fetching an object from RandomObjects class with the method "Call()", and store the data of that random object and the name of the trait. Example of actions:

note: RandomObject.cs may look large, but most of that code is to have a custom inspector to quickly setup options.