Scripting API
The Daydream Unity plugin exposes a C# API for scripting, automation, and building custom interactions.Accessing the Component
State Machine
The component follows a simple state machine:States
Output Texture
Access the AI-transformed video as aTexture for use on any surface:
Changing Prompts at Runtime
Inspector Fields
All fields on theDaydream component are public and can be modified from scripts:
Types
ControlNetConfig
IPAdapterConfig
PromptEntry / SeedEntry
Example: Audio-Reactive Effects
Modulate AI parameters based on audio analysis:Example: Prompt Cycling
Cycle through prompts on a timer:Example: Render to 3D Surface
Apply AI output to a 3D object instead of the screen overlay:Next Steps
- Features - ControlNets, IP Adapter, prompt scheduling
- Installation - Setup guide
- GitHub Repository - Source code and issues