void Awake() { if (Instance != null && this != Instance) { //There is already a copy of this script running Destroy(this); return; } Instance = this; }
public virtual void InitRecorders() { // TODO wire up to turn off and on on PC and mobile //raceRecorders = Recorders.Instance; audioRecorder = gameObject.AddComponent <AudioRecordObject>(); }