SetLayerFromSettings.cs 242 B

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