void Start() { // Get the Standard UI this.stdUI = GameObject.FindObjectOfType<StandardUI>(); if (this.stdUI == null) { Debug.LogWarning("[UIOverlay] StandardUI not found! UIOverlay is DISABLED."); return; } }
void Start() { // Get the Standard UI this.stdUI = GameObject.FindObjectOfType <StandardUI>(); if (this.stdUI == null) { Debug.LogWarning("[UIOverlay] StandardUI not found! UIOverlay is DISABLED."); return; } }
void Start() { // Get the Standard UI this.stdUI = GameObject.FindObjectOfType <StandardUI>(); if (this.stdUI == null) { Debug.LogWarning("[UIDebugOverlay] StandardUI not found! UIDebugOverlay is DISABLED."); return; } // Get the current position of the bike camera this.bikeCameraTransform = bikeController.transform.Find("BikeCamera"); this.camPositions[0] = new PositionRotation(this.bikeCameraTransform); }
void Start() { // Get the Standard UI this.stdUI = GameObject.FindObjectOfType<StandardUI>(); if (this.stdUI == null) { Debug.LogWarning("[UIDebugOverlay] StandardUI not found! UIDebugOverlay is DISABLED."); return; } // Get the current position of the bike camera this.bikeCameraTransform = bikeController.transform.Find("BikeCamera"); this.camPositions[0] = new PositionRotation(this.bikeCameraTransform); }