先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
43 lines
1.4 KiB
C#
43 lines
1.4 KiB
C#
using Coffee.UISoftMaskInternal;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Coffee.UISoftMask
|
|
{
|
|
public interface ISoftMasking : IMeshModifier
|
|
{
|
|
bool enabled { get; }
|
|
|
|
MaskingShape.MaskingMethod maskingMethod { get; }
|
|
|
|
/// <summary>
|
|
/// Show the graphic that is associated with the Mask render area.
|
|
/// </summary>
|
|
bool showMaskGraphic { get; }
|
|
|
|
/// <summary>
|
|
/// The transparent part of the mask cannot be clicked.
|
|
/// This can be achieved by enabling Read/Write enabled in the Texture Import Settings for the texture.
|
|
/// <para></para>
|
|
/// NOTE: Enable this only if necessary, as it will require more graphics memory and processing time.
|
|
/// </summary>
|
|
bool alphaHitTest { get; }
|
|
|
|
/// <summary>
|
|
/// Threshold for anti-alias masking.
|
|
/// The smaller this value, the less jagged it is.
|
|
/// </summary>
|
|
float antiAliasingThreshold { get; }
|
|
|
|
/// <summary>
|
|
/// The minimum and maximum alpha values used for soft masking.
|
|
/// The larger the gap between these values, the stronger the softness effect.
|
|
/// </summary>
|
|
MinMax01 softnessRange { get; }
|
|
|
|
/// <summary>
|
|
/// Method to determine whether this masking shape should be a raycast target.
|
|
/// </summary>
|
|
MaskingShape.RaycastMethod raycastMethod { get; }
|
|
}
|
|
}
|