Exemple #1
0
        private void Init()
        {
            m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>();

            m_rttMonitor = GetComponent <G_RttMonitor>();

            m_shaderGraph = new G_GraphShader
            {
                Image = m_imageGraph
            };

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

            m_rectTransform = GetComponent <RectTransform>();

            m_rttGraph   = GetComponent <G_RttGraph>();
            m_rttMonitor = GetComponent <G_RttMonitor>();
            m_rttText    = GetComponent <G_RttText>();

            foreach (Transform child in transform)
            {
                if (child.parent == transform)
                {
                    m_childrenGameObjects.Add(child.gameObject);
                }
            }
        }
Exemple #3
0
        private void Init()
        {
            //TODO: Replace this with one activated from the core and figure out the min value.
            if (!G_IntString.Inited || G_IntString.MinValue > m_minRtt || G_IntString.MaxValue < m_maxRtt)
            {
                G_IntString.Init
                (
                    minNegativeValue: m_minRtt,
                    maxPositiveValue: m_maxRtt
                );
            }

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

            m_rttMonitor = GetComponent <G_RttMonitor>();

            UpdateParameters();
        }