Exemplo n.º 1
0
        private void Init()
        {
            m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>();

            m_audioMonitor = GetComponent <AudioMonitor>();

            m_sb = new StringBuilder();

            UpdateParameters();
        }
Exemplo n.º 2
0
        private void Init()
        {
            m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>();

            m_audioMonitor = GetComponent <AudioMonitor>();

            m_shaderGraph = new ShaderGraph();

            m_shaderGraph.Image = m_imageGraph;

            UpdateParameters();
        }
Exemplo n.º 3
0
        private void Init()
        {
            if (!FloatString.Inited || FloatString.minValue > -1000f || FloatString.maxValue < 16384f)
            {
                FloatString.Init(-1001f, 16386f);
            }

            m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>();

            m_audioMonitor = GetComponent <AudioMonitor>();

            UpdateParameters();
        }
Exemplo n.º 4
0
        private void Init()
        {
            //TODO: Replace this with one activated from the core and figure out the min value.
            if (!FloatString.Inited || FloatString.MinValue > -1000f || FloatString.MaxValue < 16384f)
            {
                FloatString.Init
                (
                    minNegativeValue: -1001f,
                    maxPositiveValue: 16386f
                );
            }

            m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>();

            m_audioMonitor = GetComponent <AudioMonitor>();

            UpdateParameters();
        }
Exemplo n.º 5
0
        private void Init()
        {
            m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>();

            m_rectTransform = GetComponent <RectTransform>();

            m_audioGraph   = GetComponent <AudioGraph>();
            m_audioMonitor = GetComponent <AudioMonitor>();
            m_audioText    = GetComponent <AudioText>();

            foreach (Transform child in transform)
            {
                if (child.parent == transform)
                {
                    m_childrenGameObjects.Add(child.gameObject);
                }
            }
        }