void Start() { try { soundthing = gameObject.GetComponent <SoundRandomizer>(); soundthing.ToString(); } catch { Debug.LogWarning("This thing does not have a SoundRandomizer, so there won't be any sound."); } }