private void Awake() { SenceLoadingDataEntity entity = new SenceLoadingDataEntity(); this.DataEntity = entity; Watch(this); }
public void OnClickLoadSence_C() { SenceLoadingDataEntity entity = (SenceLoadingDataEntity)GameObject.FindObjectOfType <SenceLoadingDataModel>().DataEntity; entity.TargetSenceName = "SceneA"; entity.IsShowLoadingUI = true; }
private void Start() { SceneManagerObj = GameObject.Find("SenceManager"); entity = (SenceLoadingDataEntity)GameObject.FindObjectOfType <SenceLoadingDataModel>().DataEntity; loadingSlider.value = 0.0f; }