private void Init() { m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>(); m_audioMonitor = GetComponent <AudioMonitor>(); m_sb = new StringBuilder(); UpdateParameters(); }
private void Init() { m_graphyManager = transform.root.GetComponentInChildren <GraphyManager>(); m_audioMonitor = GetComponent <AudioMonitor>(); m_shaderGraph = new ShaderGraph(); m_shaderGraph.Image = m_imageGraph; UpdateParameters(); }
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(); }
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(); }
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); } } }