BaseUnityPlugin.cs 729 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using UnityEngine;
  3. namespace BepInEx
  4. {
  5. /// <summary>
  6. /// The base plugin type, that is loaded into the game.
  7. /// </summary>
  8. public abstract class BaseUnityPlugin : MonoBehaviour
  9. {
  10. /// <summary>
  11. /// The unique identifier of the plugin. Should not change between plugin versions.
  12. /// </summary>
  13. public abstract string ID { get; }
  14. /// <summary>
  15. /// The user friendly name of the plugin. Is able to be changed between versions.
  16. /// </summary>
  17. public abstract string Name { get; }
  18. /// <summary>
  19. /// The specfic version of the plugin.
  20. /// </summary>
  21. public abstract Version Version { get; }
  22. }
  23. }