private void Init() { m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>(); m_ramMonitor = GetComponent <RamMonitor>(); m_shaderGraphAllocated = new ShaderGraph(); m_shaderGraphAllocated.Material = m_imageAllocated.material; m_shaderGraphAllocated.InitializeShader(); m_shaderGraphReserved = new ShaderGraph(); m_shaderGraphReserved.Material = m_imageReserved.material; m_shaderGraphReserved.InitializeShader(); m_shaderGraphMono = new ShaderGraph(); m_shaderGraphMono.Material = m_imageMono.material; m_shaderGraphMono.InitializeShader(); UpdateParameters(); }
private void Init() { m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>(); m_ramMonitor = GetComponent <RamMonitor>(); m_sb = new StringBuilder(); UpdateParameters(); }
private void Init() { if (!FloatString.Inited || FloatString.minValue > -1000f || FloatString.maxValue < 16384f) { FloatString.Init(-1001f, 16386f); } m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>(); m_ramMonitor = GetComponent <RamMonitor>(); UpdateParameters(); }
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_ramMonitor = GetComponent <RamMonitor>(); UpdateParameters(); }