private void TestAnimationBoolProperty() { bool value = false; Assert.IsTrue(animationInstance.SetBool(boolProperty, true)); if (animationInstance.GetBool(boolProperty, 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!"); } }