private ActionSequenceGeneric <UISwitchTask> CreateNullSwitchSequence(UISwitchTask task) { var seq = new ActionSequenceGeneric <UISwitchTask>(task); seq.Append(InstantiateTarget, CheckTargetStatus); seq.Append(SwitchToTargetDirectly); seq.CompleteListener = CompleteLogic; return(seq); }
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); }
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); }