diff options
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Variables/SharedMaterial.cs')
-rw-r--r-- | Client/Assets/Behavior Designer/Runtime/Variables/SharedMaterial.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Variables/SharedMaterial.cs b/Client/Assets/Behavior Designer/Runtime/Variables/SharedMaterial.cs new file mode 100644 index 00000000..57afa4f6 --- /dev/null +++ b/Client/Assets/Behavior Designer/Runtime/Variables/SharedMaterial.cs @@ -0,0 +1,10 @@ +using UnityEngine;
+
+namespace BehaviorDesigner.Runtime
+{
+ [System.Serializable]
+ public class SharedMaterial : SharedVariable<Material>
+ {
+ public static implicit operator SharedMaterial(Material value) { return new SharedMaterial { mValue = value }; }
+ }
+}
\ No newline at end of file |