Pink/Assets/Scripts/Events/EnableControl.cs
2020-10-01 18:11:43 +01:00

15 lines
313 B
C#

using Pink.Environment;
namespace Pink.Events
{
public class EnableControl : Simulation.Event<EnableControl>
{
EnvironmentModel state = Simulation.GetModel<EnvironmentModel>();
public override void Execute()
{
state.player.controlAllowed = true;
}
}
}