Open up the Package Manager
Add the package through Github
Add the dependency
SocketIOUnity
, so make sure to also add it to your project using the same steps as
before: Socket IO UnityAttach the PlaybookSDK component
PlaybookSDK
component to your main camera.Add your API key
Playbook Account API Key
field. You can grab your API key from your
Playbook account.Select your team + workflow
Teams
and Workflows
properties will be populated with your respective
teams and workflows. Select the ones you want to work with.Start capturing
Wait for the render
PlaybookSDK
component. Copy this link,
paste it on your local internet browser, and your image will start downloading.Renderer
component attached cannot be added
to a mask group.MaskGroup
property. MaskGroup
also includes the “Catch-all” mask, which is the default
group for objects that are not part of a mask group.ResultReceived()
given in PlaybookSDK.cs
, which returns the result as a url string
.
OverrideNodeInputs()
given in PlaybookSDK.cs
.
To call OverrideNodeInputs()
, you must provide a dictionary on inputs to override the desired Playbook nodes in your selected workflow, where the key
is the node ID and the value
is the new value. For example:
"Playbook Nodes:"
.