diff options
Diffstat (limited to 'Assets/Scripts/Unit/Collider/ColliderAttributes.cs')
-rw-r--r-- | Assets/Scripts/Unit/Collider/ColliderAttributes.cs | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/Assets/Scripts/Unit/Collider/ColliderAttributes.cs b/Assets/Scripts/Unit/Collider/ColliderAttributes.cs new file mode 100644 index 00000000..292a29f7 --- /dev/null +++ b/Assets/Scripts/Unit/Collider/ColliderAttributes.cs @@ -0,0 +1,72 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class ColliderTypeAttribute : Attribute +{ + public ColliderTypeAttribute(ColliderBox.EColliderType type) + { + this.type = type; + } + + public ColliderBox.EColliderType type; +} + + +public class IfAttribute : Attribute +{ + public IfAttribute(string name) + { + this.conditionName = name; + } + + public string conditionName; + +} + +public class IfNotAttribute : Attribute +{ + public IfNotAttribute(string name) + { + this.conditionName = name; + } + + public string conditionName; + +} + + +public class WhenAttribute : Attribute +{ + public WhenAttribute(string name, int value) + { + this.conditionName = name; + } + + public string conditionName; + public int value; +} + + + +public class WhenNotAttribute : Attribute +{ + public WhenNotAttribute(string name, int value) + { + this.conditionName = name; + } + + public string conditionName; + public int value; +} + +public class CommentAttribute : Attribute +{ + public CommentAttribute(string comment) + { + this.comment = comment; + } + public string comment; + +}
\ No newline at end of file |