public TransitionItem(Transition owner, TransitionActionType type) { this.type = type; easeType = Ease.OutQuad; value = new TransitionValue(); startValue = new TransitionValue(); endValue = new TransitionValue(); if (type == TransitionActionType.Shake) { onShake = (object param) => { owner.ShakeItem(this); } } ; else if (type == TransitionActionType.Transition) { onPlayComplete = () => { owner.PlayTransComplete(this); } } ; }