HideScrollEventCatch.cs 285 B

12345678910111213141516171819202122
  1. using System;
  2. using UnityEngine;
  3. public class HideScrollEventCatch : MonoBehaviour
  4. {
  5. public void Awake()
  6. {
  7. }
  8. private void UpdateDisplayIn()
  9. {
  10. if (this.panel == null)
  11. {
  12. return;
  13. }
  14. this.panel.SetDirty();
  15. }
  16. public UISprite UpdateBgSprite;
  17. public UIPanel panel;
  18. }