SetLayerFromSettings.cs 231 B

12345678910111213
  1. using System;
  2. using SRF;
  3. namespace SRDebugger.UI.Other
  4. {
  5. public class SetLayerFromSettings : SRMonoBehaviour
  6. {
  7. private void Start()
  8. {
  9. base.gameObject.SetLayerRecursive(Settings.Instance.DebugLayer);
  10. }
  11. }
  12. }