예제 #1
0
        protected override void LoadComplete()
        {
            base.LoadComplete();

            BoxAlpha.BindValueChanged(alpha => box.Alpha = alpha.NewValue, true);
            TextSpin.BindValueChanged(spin =>
            {
                if (spin.NewValue)
                {
                    text.Spin(1000, RotationDirection.Clockwise);
                }
                else
                {
                    text.ClearTransforms();
                }
            }, true);

            disclaimer.FadeOutFromOne(5000, Easing.InQuint);
        }