Exemple #1
0
        public override void Initialize()
        {
            base.Initialize();

            m_AudioFXPool  = FindObjectOfType <AudioFXPool>();
            m_VisualFXPool = FindObjectOfType <VisualFXPool>();
        }
Exemple #2
0
        protected override void Initialize()
        {
            base.Initialize();

            m_Trail         = GetComponent <TrailRenderer>();
            m_Trail.enabled = false;

            m_AudioFXPool  = FindObjectOfType <AudioFXPool>();
            m_VisualFXPool = FindObjectOfType <VisualFXPool>();
        }