Car/Assets/StompyRobot/SRDebugger/Scripts/UI/Other/SetLayerFromSettings.cs

13 lines
242 B
C#

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