コード例 #1
0
        public override void Setup(TransitionBase.ParametersBase defaults)
        {
            var param = defaults as Parameters;

            if (param == null)
            {
                return;
            }

            // Place params installation here
            this.inState    = param.inState;
            this.outState   = param.outState;
            this.resetState = param.resetState;

            this.material = param.material;
        }
コード例 #2
0
 public Parameters(TransitionBase.ParametersBase baseDefaults) : base(baseDefaults)
 {
 }
 public override void SetDefaultParameters(TransitionBase.ParametersBase parameters)
 {
     this.parameters = new WindowAnimationTransitionSlide.Parameters(parameters);
 }