Example #1
0
        private ActionSequenceGeneric <UISwitchTask> CreateNullSwitchSequence(UISwitchTask task)
        {
            var seq = new ActionSequenceGeneric <UISwitchTask>(task);

            seq.Append(InstantiateTarget, CheckTargetStatus);
            seq.Append(SwitchToTargetDirectly);
            seq.CompleteListener = CompleteLogic;

            return(seq);
        }
Example #2
0
        private ActionSequenceGeneric <UISwitchTask> CreateBlankSwitchSequence(UISwitchTask task)
        {
            var seq = new ActionSequenceGeneric <UISwitchTask>(task);

            seq.Append(InstantiateTarget, CheckTargetStatus);
            seq.Append(StartBlankAnimation, CheckBlankAnimationStatus);
            seq.CompleteListener = CompleteLogic;

            return(seq);
        }
Example #3
0
        private ActionSequenceGeneric <UISwitchTask> CreateSlideUpDownSwitchSequence(UISwitchTask task)
        {
            var seq = new ActionSequenceGeneric <UISwitchTask>(task);

            seq.Append(InstantiateTarget, CheckTargetStatus);
            seq.Append(EnableTarget);
            seq.Append(StartSlideUpDownAnimation, CheckSlideAnimationStatus);
            seq.CompleteListener = CompleteLogic;

            return(seq);
        }