public CAudioSource(CGameObject aGameObject) : base(aGameObject) { gameObject.name = "Audio Source: " + aGameObject.getName(); mAudioSource = gameObject.AddComponent <AudioSource>(); }
public CAudioListener(CGameObject aGameObject) : base(aGameObject) { gameObject.name = "Audio Listener " + aGameObject.getName(); mAudioListener = gameObject.AddComponent <AudioListener>(); }