Exemplo n.º 1
0
 void Awake()
 {
     _instance = this;
     _audioRoot = FageAudioRoot.Instance;
     AudioListener listener = (new GameObject ("AudioChannels", typeof(AudioListener))).GetComponent<AudioListener> ();
     listener.transform.SetParent (transform);
     _audioRoot.GenerateControl (listener);
 }
Exemplo n.º 2
0
    void Awake()
    {
        _instance  = this;
        _audioRoot = FageAudioRoot.Instance;
        AudioListener listener = (new GameObject("AudioChannels", typeof(AudioListener))).GetComponent <AudioListener> ();

        listener.transform.SetParent(transform);
        _audioRoot.GenerateControl(listener);
    }
Exemplo n.º 3
0
 public FageAudioRoot() : base()
 {
     _instance   = this;
     _dictionary = new Dictionary <string, FageAudioXML> ();
 }
Exemplo n.º 4
0
 public FageAudioRoot()
     : base()
 {
     _instance = this;
     _dictionary = new Dictionary<string, FageAudioXML> ();
 }