private void OnDestroy() { if (s_instance == this) { s_instance = null; s_recognizedCamera = null; } }
private void Awake() { s_instance = this; s_recognizedCamera = GetComponent <Camera>(); }