Build Conditions SO
This scriptable object stores build condition data that can be used in Buildable Grid/Free Object Type SO assets, to add build conditions to the buildable objects.
You can create a new scriptable object, go to Asset > Create > SoulGames > Easy Grid Builder Pro > BuildCondtionSO.
Property | Function | Required |
---|---|---|
ToolTip Content | ToolTip to display on UI | No |
Food Amount | Amount of food required to be in inventory | No |
Consume Food On Build | Set to consume required food amount | No |
Metal Amount | Amount of metal required to be in inventory | No |
Consume Metal On Build | Set to consume required metal amount | No |
Wood Amount | Amount of wood required to be in inventory | No |
Consume Wood On Build | Set to consume required wood amount | No |
NOTE: This BuildConditionSO is an example scriptable object. To make your own build conditions go through Custom Build Conditions tutorials.
You can find an example implementation of these build conditions in the "3D All In One Demo" located in EasyGridBuilder Pro > Demo Scenes folder.
You can find pre-defined BuildConditionSO assets located in EasyGridBuilder Pro > Scriptable Objects > Build Condition SO.
These assets are designed to use in the demo scene, "3D All In One".
Last updated