private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     recordingButton = GetComponent <RecordingButton>();
 }