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

13 lines
242 B
C#
Raw Permalink Normal View History

2025-01-02 11:32:58 +08:00
namespace SRDebugger.UI.Other
{
using SRF;
public class SetLayerFromSettings : SRMonoBehaviour
{
private void Start()
{
gameObject.SetLayerRecursive(Settings.Instance.DebugLayer);
}
}
}