예제 #1
0
        public void OnButtonClicked()
        {
            if (null == m_unitTesting)
            {
                return;
            }

            m_unitTesting.RunTestMethod(m_unitTestingData.MethodName);
        }
        public void OnValueChange(int value)
        {
            if (null == m_unitTesting)
            {
                return;
            }

            object[] data = new object[] { m_optionData[value] };

            m_unitTesting.RunTestMethod(m_unitTestingData.MethodName, data);
        }
        public void OnToggleChanged(bool value)
        {
            if (null == m_unitTesting)
            {
                return;
            }

            object[] data = new object[]{ value };

            m_unitTesting.RunTestMethod(m_unitTestingData.MethodName, data);
        }
        public void OnValueChanged(float value)
        {
            if (null == m_unitTesting)
            {
                return;
            }

            object[] data = new object[] { value };

            m_unitTesting.RunTestMethod(m_unitTestingData.MethodName, data);
            m_valueText.text = value.ToString();
        }