| | 1 | | using DCL.Tutorial; |
| | 2 | | using System.Collections; |
| | 3 | |
|
| | 4 | | namespace DCL.Tutorial_Tests |
| | 5 | | { |
| | 6 | | public class TutorialStep_Mock : TutorialStep |
| | 7 | | { |
| | 8 | | public delegate void CustomOnStepStart(); |
| | 9 | | public CustomOnStepStart customOnStepStart; |
| | 10 | |
|
| | 11 | | public delegate IEnumerator CustomOnStepExecute(); |
| | 12 | | public CustomOnStepExecute customOnStepExecute; |
| | 13 | |
|
| | 14 | | public delegate IEnumerator CustomOnStepPlayAnimationForHidding(); |
| | 15 | | public CustomOnStepPlayAnimationForHidding customOnStepPlayAnimationForHidding; |
| | 16 | |
|
| | 17 | | public delegate void CustomOnStepFinished(); |
| | 18 | | public CustomOnStepFinished customOnStepFinished; |
| | 19 | |
|
| 40 | 20 | | public override void OnStepStart() { customOnStepStart(); } |
| | 21 | |
|
| 40 | 22 | | public override IEnumerator OnStepExecute() { yield return customOnStepExecute; } |
| | 23 | |
|
| 40 | 24 | | public override IEnumerator OnStepPlayHideAnimation() { yield return customOnStepPlayAnimationForHidding; } |
| | 25 | |
|
| 40 | 26 | | public override void OnStepFinished() { customOnStepFinished(); } |
| | 27 | | } |
| | 28 | | } |