Example #1
0
        private void TestAnimationIntProperty()
        {
            int value = 0;

            Assert.IsTrue(animationInstance.SetInt(intProperty, 500));

            if (animationInstance.GetInt(intProperty, 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!");
            }
        }