Esempio n. 1
0
 private void Awake()
 {
     Initialized         = false;
     m_temporaryCluster  = null;
     MeshDeletionUpdater = new MeshDeletionUpdater();
     SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
 }
Esempio n. 2
0
        protected override void Awake()
        {
            if (Playbacks == null)
            {
                Playbacks = new List <SoundToolKitPlayback>();
            }

            Initialized = false;
            SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
        }
Esempio n. 3
0
        private void Awake()
        {
            Initialized = false;
            SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);

            foreach (var source in m_sources)
            {
                if (source != null && source is SpatialComponent)
                {
                    m_toolkit.AddSoundSource(((SpatialComponent)source).SourceSpatial);
                }
            }
        }
Esempio n. 4
0
 private void Awake()
 {
     if (SoundToolKitManager.Instance != null &&
         SoundToolKitManager.Instance.ResourceContainer != null &&
         SoundToolKitManager.Instance.ResourceContainer.Status != null)
     {
         Destroy(gameObject);
     }
     else
     {
         DontDestroyOnLoad(gameObject);
         Initialized = false;
         SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
     }
 }
Esempio n. 5
0
 private void Awake()
 {
     Initialized       = false;
     m_previousCluster = m_meshCluster;
     SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
 }
Esempio n. 6
0
 private void Awake()
 {
     Initialized = false;
     SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
 }
 protected override void Awake()
 {
     Initialized = false;
     SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
 }