ISoftMask.cs 351 B

123456789101112
  1. using UnityEngine;
  2. namespace SoftMasking {
  3. public interface ISoftMask {
  4. bool isAlive { get; }
  5. bool isMaskingEnabled { get; }
  6. // May return null.
  7. Material GetReplacement(Material original);
  8. void ReleaseReplacement(Material replacement);
  9. void UpdateTransformChildren(Transform transform);
  10. }
  11. }