private void Awake() { controls = new AmongCars(); if (Instance == null) { instance = this; } else if (Instance != this) { Debug.LogError("More than one active GvrEditorEmulator instance was found in your " + "scene. Ensure that there is only one active GvrEditorEmulator."); this.enabled = false; return; } }
protected void Awake() => controls = new AmongCars();