timed button stand puzzle
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user