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

            m_fpsMonitor = GetComponent <FpsMonitor>();

            m_sb = new StringBuilder();

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

            m_fpsMonitor = GetComponent <FpsMonitor>();

            m_shaderGraph = new ShaderGraph();

            m_shaderGraph.Image = m_imageGraph;

            UpdateParameters();
        }
示例#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_fpsMonitor = GetComponent <FpsMonitor>();

            UpdateParameters();
        }
示例#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(-1001f, 16386f);
            }

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

            m_fpsMonitor = GetComponent <FpsMonitor>();

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

            m_rectTransform = GetComponent <RectTransform>();

            m_fpsGraph   = GetComponent <FpsGraph>();
            m_fpsMonitor = GetComponent <FpsMonitor>();
            m_fpsText    = GetComponent <FpsText>();

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

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

            m_fpsMonitor = GetComponent <FpsMonitor>();

            UpdateParameters();
        }