Assets.Scripts.Utils.Editor.SortingLayerSettingsEditor.OnEnable C# (CSharp) Method

OnEnable() public method

public OnEnable ( ) : void
return void
        public void OnEnable()
        {
            _renderer = (target as SortingLayerSettings).GetComponent<Renderer>();
            _sortingLayerNames = GetSortingLayerNames();
        }