Ejemplo n.º 1
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();
        }