SceneEventExplore.cs 733 B

1234567891011121314151617181920212223242526272829303132
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. using UnityGameFramework.Runtime;
  6. /// <summary>
  7. /// 场景组件 探索组件
  8. /// </summary>
  9. public class SceneEventExplore : MonoBehaviour
  10. {
  11. /// <summary>
  12. /// 1.区域 2.NPC 3.道具 4.剧情 5.结界 6.其他
  13. /// </summary>
  14. public enum ExploreType
  15. {
  16. Area = 1,
  17. Npc = 2,
  18. Item = 3,
  19. Plot = 4,
  20. Border = 5,
  21. Other = 6,
  22. }
  23. public ExploreType explore;
  24. public int id = 0;
  25. public string param = "";
  26. public string tips = "";
  27. public void Start()
  28. {
  29. AssemblyHelper.Instance.BindScript("SceneEventExploreLogic", this.gameObject);
  30. }
  31. }