Exemple #1
0
        private void TestAnimationFloatProperty()
        {
            float value = 0;

            Assert.IsTrue(animationInstance.SetFloat(floatProperty, 250.5f));

            if (animationInstance.GetFloat(floatProperty, ref value))
            {
                Debug.AddOnScreenMessage(-1, 30.0f, Color.LimeGreen, value.GetType() + " animation property value retrieved: " + value);
            }
            else
            {
                Debug.AddOnScreenMessage(-1, 30.0f, Color.Red, value.GetType() + " animation property value retrievement failed!");
            }
        }