123456789101112131415161718192021222324 |
- using UnityEngine;
- using UnityEngine.UI;
- [ModifierID("Free")]
- public class FreeModifier : ProceduralImageModifier {
- [SerializeField]private Vector4 radius;
- public Vector4 Radius {
- get {
- return radius;
- }
- set {
- radius = value;
- }
- }
- #region implemented abstract members of ProceduralImageModifier
- public override Vector4 CalculateRadius (Rect imageRect){
- return radius;
- }
- #endregion
- }
|