Skip to content

Support for ScriptableObject Tool parameters #290

Closed Answered by StephenHodgson
Bodekaer asked this question in Q&A
Discussion options

You must be logged in to vote

I may just simple create a separate simpler non-Unity-inherited object for the serialization, and then cast/convert them to the Unity ScriptableObject when the GPT assistant returns them.

Yeah just make your own class that serializes them to the json you prefer (if you wanna use my TypeExtensions class as a template). Then pass the raw json schema in with your request or tool creation. (pretty sure I made it possible to define a tool via json only).

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@Bodekaer
Comment options

@StephenHodgson
Comment options

@StephenHodgson
Comment options

@StephenHodgson
Comment options

Answer selected by Bodekaer
@StephenHodgson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants