mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2025-12-16 22:19:31 +07:00
38 lines
851 B
C#
38 lines
851 B
C#
using UnityEngine;
|
|
|
|
namespace FlashTools.Internal {
|
|
public class SwfIntRangeAttribute : PropertyAttribute {
|
|
public int Min;
|
|
public int Max;
|
|
public SwfIntRangeAttribute(int min, int max) {
|
|
Min = min;
|
|
Max = max;
|
|
}
|
|
}
|
|
|
|
public class SwfFloatRangeAttribute : PropertyAttribute {
|
|
public float Min;
|
|
public float Max;
|
|
public SwfFloatRangeAttribute(float min, float max) {
|
|
Min = min;
|
|
Max = max;
|
|
}
|
|
}
|
|
|
|
public class SwfReadOnlyAttribute : PropertyAttribute {
|
|
}
|
|
|
|
public class SwfSortingLayerAttribute : PropertyAttribute {
|
|
}
|
|
|
|
public class SwfPowerOfTwoIfAttribute : PropertyAttribute {
|
|
public int MinPow2;
|
|
public int MaxPow2;
|
|
public string BoolProp;
|
|
public SwfPowerOfTwoIfAttribute(int min_pow2, int max_pow2, string bool_prop) {
|
|
MinPow2 = min_pow2;
|
|
MaxPow2 = max_pow2;
|
|
BoolProp = bool_prop;
|
|
}
|
|
}
|
|
} |