public void OnEnable() { Init(); UpdateRenderTextures(); // instantiate the debug view debugView = new DebugView(this); debugView.OnEnable(); }