You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/3rd/StompyRobot/SRDebugger/Scripts/UI/Other/SetLayerFromSettings.cs

13 lines
242 B
C#

3 months ago
namespace SRDebugger.UI.Other
{
using SRF;
public class SetLayerFromSettings : SRMonoBehaviour
{
private void Start()
{
gameObject.SetLayerRecursive(Settings.Instance.DebugLayer);
}
}
}