public override void Initialize() { base.Initialize(); m_AudioFXPool = FindObjectOfType <AudioFXPool>(); m_VisualFXPool = FindObjectOfType <VisualFXPool>(); }
protected override void Initialize() { base.Initialize(); m_Trail = GetComponent <TrailRenderer>(); m_Trail.enabled = false; m_AudioFXPool = FindObjectOfType <AudioFXPool>(); m_VisualFXPool = FindObjectOfType <VisualFXPool>(); }