IMaskable.cs 454 B

123456789101112131415161718
  1. using System;
  2. namespace UnityEngine.UI
  3. {
  4. /// <summary>
  5. /// This element is capable of being masked out.
  6. /// </summary>
  7. public interface IMaskable
  8. {
  9. /// <summary>
  10. /// Recalculate masking for this element and all children elements.
  11. /// </summary>
  12. /// <remarks>
  13. /// Use this to update the internal state (recreate materials etc).
  14. /// </remarks>
  15. void RecalculateMasking();
  16. }
  17. }