DynamicColor, Crystal prefab, Finish Puzzle B

This commit is contained in:
2022-11-28 23:31:00 +01:00
parent 60e390a993
commit 450c16c94f
63 changed files with 2915 additions and 361 deletions

View File

@@ -15,7 +15,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Modules
[BoxGroup("Step Puzzle")] [ProgressBar("Step", "totalSteps", EColor.Orange)]
public int currentStep;
protected virtual void Start()
protected override void Start()
{
PuzzleEvent += (_, type) =>
{
@@ -37,6 +37,8 @@ namespace EscapeRoomEngine.Engine.Runtime.Modules
throw new ArgumentOutOfRangeException(nameof(type), type, null);
}
};
base.Start();
}
protected virtual void CheckStep(int step)