/// <summary> /// 资源卸载后回调 /// </summary> protected override void OnResourceUnLoaded() { _uiInfoText = null; _uiCloseTimerTimer = null; }
/// <summary> /// 资源加载后回调 /// </summary> protected override void OnResourceLoaded() { _uiInfoText = GetComponent(_uiInfoTextIndex) as Text; _uiCloseTimerTimer = GetComponent(_uiCloseTimerTimerIndex) as UITimer; }