Method Setup Setup() Called just before the first call to OnUpdate() or OnBeginRendering(ScriptableRenderContext). Implement this to initialize state. Declaration protected virtual void Setup()