timed button stand puzzle

This commit is contained in:
2023-04-12 12:18:04 +02:00
parent 7e803a5279
commit 42ef7cc9bd
22 changed files with 1145 additions and 365 deletions

View File

@@ -13,6 +13,7 @@ namespace Station46.Scripts
[Tooltip("The colour of the emission.")]
[ColorUsage(false, true)]
public Color color;
public bool startActive;
[BoxGroup("Internal")] [Required]
public MeshRenderer emissionRenderer;
@@ -32,6 +33,11 @@ namespace Station46.Scripts
private void Start()
{
if (startActive)
{
active = true;
}
ChangedToggle();
ChangedColor();
}