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

            Initialized = false;
            SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
        }
Exemplo 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);
                }
            }
        }
Exemplo 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);
     }
 }
Exemplo n.º 5
0
 private void Awake()
 {
     Initialized       = false;
     m_previousCluster = m_meshCluster;
     SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
 }
Exemplo n.º 6
0
 private void Awake()
 {
     Initialized = false;
     SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
 }
 protected override void Awake()
 {
     Initialized = false;
     SoundToolKitSubscriber.SubscribeOnIntialized(soundToolKitObserver: this);
 }