Esempio n. 1
0
    public CAudioSource(CGameObject aGameObject) : base(aGameObject)
    {
        gameObject.name = "Audio Source: " + aGameObject.getName();

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