AbstractEventScript.cs 1015 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using CSVReader;
  5. namespace ObjectScripts
  6. {
  7. public abstract class AbstractEventScript : MonoBehaviour
  8. {
  9. ///<summary>
  10. /// true if Event should be visible
  11. ///</summary>
  12. public bool EventIsVisible = false;
  13. ///<summary>
  14. /// Eventhandler
  15. ///</summary>
  16. public AbstractEventHandler EventHandler;
  17. ///<summary>
  18. /// Prefab for the eventpoint
  19. ///</summary>
  20. public GameObject EventPoint;
  21. ///<summary>
  22. /// Corresponding EventObject
  23. ///</summary>
  24. public EventObject Event;
  25. ///<summary>
  26. /// Camera/Player gameobject
  27. ///</summary>
  28. public GameObject Camera;
  29. ///<summary>
  30. /// ID of the event
  31. ///</summary>
  32. public uint ID;
  33. ///<summary>
  34. /// event position in x,z coordinates
  35. ///</summary>
  36. public Vector2 Position2D;
  37. }
  38. }