//using PMaker.Extension; //using Sirenix.OdinInspector; //using UnityEngine; //[ExecuteAlways] //public partial class ProjectSwitcher : BaseBehaviour //{ //#if UNITY_EDITOR // public int max; // [PropertyRange(0, "max")] // public int index; // [SerializeField] // [ReadOnly] // private UILoading _loading; // private void Reset() // { // this._loading = GameObject.FindObjectOfType(); // } // [ExecuteAlways] // private void Update() // { // if (this._loading != null) // { // max = _loading.max; // if (_loading.index != index) // { // _loading.index = index; // _loading.SetDirty(); // } // return; // } // } //#endif //}