IInvokable.cs 772 B

1234567891011121314151617181920
  1. // Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
  2. namespace Animancer
  3. {
  4. /// <summary>An object with an <see cref="Invoke"/> method.</summary>
  5. /// https://kybernetik.com.au/animancer/api/Animancer/IInvokable
  6. #if UNITY_ASSERTIONS
  7. [AnimancerHelpUrl(Strings.DocsURLs.AnimancerEventParameters)]
  8. #endif
  9. public interface IInvokable : IPolymorphic
  10. {
  11. /************************************************************************************************************************/
  12. /// <summary>Executes the main function of this object.</summary>
  13. void Invoke();
  14. /************************************************************************************************************************/
  15. }
  16. }