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