示例#1
0
        protected override void Initialize()
        {
            _controller = new AnimationController(duration);
            _controller.AddStatusListener(OnControllerStatusChanged);

            _opacity  = opacityTween.Animate(_controller);
            _position = positionTween.Animate(_controller);
            _rotation = rotationTween.Animate(_controller);

            _controller.Forward();
        }