DynamicColor, Crystal prefab, Finish Puzzle B
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user