com.mambojambostudios.unity-atoms-core
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -12,6 +12,6 @@ <%IF TYPE_HAS_NAMESPACE%> | ||
/// <summary> | ||
/// Action of type `{TYPE}`. Inherits from `AtomAction<{TYPE}>`. | ||
/// Action of type `{VALUE_TYPE}`. Inherits from `AtomAction<{VALUE_TYPE}>`. | ||
/// </summary> | ||
[EditorIcon("atom-icon-purple")] | ||
public abstract class {TYPE_NAME}Action : AtomAction<{TYPE}> { } | ||
public abstract class {VALUE_TYPE_NAME}Action : AtomAction<{VALUE_TYPE}> { } | ||
} |
using UnityEngine; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -13,7 +11,7 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Constant of type `{TYPE}`. Inherits from `AtomBaseVariable<{TYPE}>`. | ||
/// Constant of type `{VALUE_TYPE}`. Inherits from `AtomBaseVariable<{VALUE_TYPE}>`. | ||
/// </summary> | ||
[EditorIcon("atom-icon-teal")] | ||
[CreateAssetMenu(menuName = "Unity Atoms/Constants/{TYPE_NAME}", fileName = "{TYPE_NAME}Constant")] | ||
public sealed class {TYPE_NAME}Constant : AtomBaseVariable<{TYPE}> { } | ||
[CreateAssetMenu(menuName = "Unity Atoms/Constants/{VALUE_TYPE_NAME}", fileName = "{VALUE_TYPE_NAME}Constant")] | ||
public sealed class {VALUE_TYPE_NAME}Constant : AtomBaseVariable<{VALUE_TYPE}> { } | ||
} |
using UnityEngine; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -13,7 +11,7 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Event of type `{TYPE}`. Inherits from `AtomEvent<{TYPE}>`. | ||
/// Event of type `{VALUE_TYPE}`. Inherits from `AtomEvent<{VALUE_TYPE}>`. | ||
/// </summary> | ||
[EditorIcon("atom-icon-cherry")] | ||
[CreateAssetMenu(menuName = "Unity Atoms/Events/{TYPE_NAME}", fileName = "{TYPE_NAME}Event")] | ||
public sealed class {TYPE_NAME}Event : AtomEvent<{TYPE}> { } | ||
[CreateAssetMenu(menuName = "Unity Atoms/Events/{VALUE_TYPE_NAME}", fileName = "{VALUE_TYPE_NAME}Event")] | ||
public sealed class {VALUE_TYPE_NAME}Event : AtomEvent<{VALUE_TYPE}> { } | ||
} |
using System; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -13,12 +11,12 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Event Reference of type `{TYPE}`. Inherits from `AtomEventReference<{TYPE}, {TYPE_NAME}Variable, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function, {TYPE_NAME}VariableInstancer>`. | ||
/// Event Reference of type `{VALUE_TYPE}`. Inherits from `AtomEventReference<{VALUE_TYPE}, {VALUE_TYPE_NAME_NO_PAIR}Variable, {VALUE_TYPE_NAME}Event, {VALUE_TYPE_NAME_NO_PAIR}VariableInstancer, {VALUE_TYPE_NAME}EventInstancer>`. | ||
/// </summary> | ||
[Serializable] | ||
public sealed class {TYPE_NAME}EventReference : AtomEventReference< | ||
{TYPE}, | ||
{TYPE_NAME}Variable, | ||
{TYPE_NAME}Event, | ||
{TYPE_NAME}{TYPE_NAME}Event, | ||
{TYPE_NAME}{TYPE_NAME}Function, | ||
{TYPE_NAME}VariableInstancer> { } | ||
public sealed class {VALUE_TYPE_NAME}EventReference : AtomEventReference< | ||
{VALUE_TYPE}, | ||
{VALUE_TYPE_NAME_NO_PAIR}Variable, | ||
{VALUE_TYPE_NAME}Event, | ||
{VALUE_TYPE_NAME_NO_PAIR}VariableInstancer, | ||
{VALUE_TYPE_NAME}EventInstancer>, IGetEvent | ||
{ } | ||
} |
using System; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
using UnityAtoms.BaseAtoms; | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -14,36 +13,38 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Reference of type `{TYPE}`. Inherits from `EquatableAtomReference<{TYPE}, {TYPE_NAME}Constant, {TYPE_NAME}Variable, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function, {TYPE_NAME}VariableInstancer>`. | ||
/// Reference of type `{VALUE_TYPE}`. Inherits from `EquatableAtomReference<{VALUE_TYPE}, {VALUE_TYPE_NAME}Pair, {VALUE_TYPE_NAME}Constant, {VALUE_TYPE_NAME}Variable, {VALUE_TYPE_NAME}Event, {VALUE_TYPE_NAME}PairEvent, {VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function, {VALUE_TYPE_NAME}VariableInstancer, AtomCollection, AtomList>`. | ||
/// </summary> | ||
[Serializable] | ||
public sealed class {TYPE_NAME}Reference : EquatableAtomReference< | ||
{TYPE}, | ||
{TYPE_NAME}Constant, | ||
{TYPE_NAME}Variable, | ||
{TYPE_NAME}Event, | ||
{TYPE_NAME}{TYPE_NAME}Event, | ||
{TYPE_NAME}{TYPE_NAME}Function, | ||
{TYPE_NAME}VariableInstancer>, IEquatable<{TYPE_NAME}Reference> | ||
public sealed class {VALUE_TYPE_NAME}Reference : EquatableAtomReference< | ||
{VALUE_TYPE}, | ||
{VALUE_TYPE_NAME}Pair, | ||
{VALUE_TYPE_NAME}Constant, | ||
{VALUE_TYPE_NAME}Variable, | ||
{VALUE_TYPE_NAME}Event, | ||
{VALUE_TYPE_NAME}PairEvent, | ||
{VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function, | ||
{VALUE_TYPE_NAME}VariableInstancer>, IEquatable<{VALUE_TYPE_NAME}Reference> | ||
{ | ||
public {TYPE_NAME}Reference() : base() { } | ||
public {TYPE_NAME}Reference({TYPE} value) : base(value) { } | ||
public bool Equals({TYPE_NAME}Reference other) { return base.Equals(other); } | ||
public {VALUE_TYPE_NAME}Reference() : base() { } | ||
public {VALUE_TYPE_NAME}Reference({VALUE_TYPE} value) : base(value) { } | ||
public bool Equals({VALUE_TYPE_NAME}Reference other) { return base.Equals(other); } | ||
} | ||
<%ELSE%> | ||
/// <summary> | ||
/// Reference of type `{TYPE}`. Inherits from `AtomReference<{TYPE}, {TYPE_NAME}Constant, {TYPE_NAME}Variable, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function, {TYPE_NAME}VariableInstancer>`. | ||
/// Reference of type `{VALUE_TYPE}`. Inherits from `AtomReference<{VALUE_TYPE}, {VALUE_TYPE_NAME}Pair, {VALUE_TYPE_NAME}Constant, {VALUE_TYPE_NAME}Variable, {VALUE_TYPE_NAME}Event, {VALUE_TYPE_NAME}PairEvent, {VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function, {VALUE_TYPE_NAME}VariableInstancer, AtomCollection, AtomList>`. | ||
/// </summary> | ||
[Serializable] | ||
public sealed class {TYPE_NAME}Reference : AtomReference< | ||
{TYPE}, | ||
{TYPE_NAME}Constant, | ||
{TYPE_NAME}Variable, | ||
{TYPE_NAME}Event, | ||
{TYPE_NAME}{TYPE_NAME}Event, | ||
{TYPE_NAME}{TYPE_NAME}Function, | ||
{TYPE_NAME}VariableInstancer>, IEquatable<{TYPE_NAME}Reference> | ||
public sealed class {VALUE_TYPE_NAME}Reference : AtomReference< | ||
{VALUE_TYPE}, | ||
{VALUE_TYPE_NAME}Pair, | ||
{VALUE_TYPE_NAME}Constant, | ||
{VALUE_TYPE_NAME}Variable, | ||
{VALUE_TYPE_NAME}Event, | ||
{VALUE_TYPE_NAME}PairEvent, | ||
{VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function, | ||
{VALUE_TYPE_NAME}VariableInstancer>, IEquatable<{VALUE_TYPE_NAME}Reference> | ||
{ | ||
public {TYPE_NAME}Reference() : base() { } | ||
public {TYPE_NAME}Reference({TYPE} value) : base(value) { } | ||
public bool Equals({TYPE_NAME}Reference other) { return base.Equals(other); } | ||
protected override bool ValueEquals({TYPE} other) | ||
public {VALUE_TYPE_NAME}Reference() : base() { } | ||
public {VALUE_TYPE_NAME}Reference({VALUE_TYPE} value) : base(value) { } | ||
public bool Equals({VALUE_TYPE_NAME}Reference other) { return base.Equals(other); } | ||
protected override bool ValueEquals({VALUE_TYPE} other) | ||
{ | ||
@@ -50,0 +51,0 @@ throw new NotImplementedException(); |
using System; | ||
using UnityEngine.Events; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -14,6 +12,6 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// None generic Unity Event of type `{TYPE}`. Inherits from `UnityEvent<{TYPE}>`. | ||
/// None generic Unity Event of type `{VALUE_TYPE}`. Inherits from `UnityEvent<{VALUE_TYPE}>`. | ||
/// </summary> | ||
[Serializable] | ||
public sealed class {TYPE_NAME}UnityEvent : UnityEvent<{TYPE}> { } | ||
public sealed class {VALUE_TYPE_NAME}UnityEvent : UnityEvent<{VALUE_TYPE}> { } | ||
} |
using UnityEngine; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -13,7 +11,7 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Value List of type `{TYPE}`. Inherits from `AtomValueList<{TYPE}, {TYPE_NAME}Event>`. | ||
/// Value List of type `{VALUE_TYPE}`. Inherits from `AtomValueList<{VALUE_TYPE}, {VALUE_TYPE_NAME}Event>`. | ||
/// </summary> | ||
[EditorIcon("atom-icon-piglet")] | ||
[CreateAssetMenu(menuName = "Unity Atoms/Value Lists/{TYPE_NAME}", fileName = "{TYPE_NAME}ValueList")] | ||
public sealed class {TYPE_NAME}ValueList : AtomValueList<{TYPE}, {TYPE_NAME}Event> { } | ||
[CreateAssetMenu(menuName = "Unity Atoms/Value Lists/{VALUE_TYPE_NAME}", fileName = "{VALUE_TYPE_NAME}ValueList")] | ||
public sealed class {VALUE_TYPE_NAME}ValueList : AtomValueList<{VALUE_TYPE}, {VALUE_TYPE_NAME}Event> { } | ||
} |
@@ -1,8 +0,4 @@ | ||
<%IF !EQUATABLE%> | ||
using System; | ||
<%ENDIF%> | ||
using UnityEngine; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
<%IF !EQUATABLE%>using System;<%ENDIF%> | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -17,16 +13,16 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Variable of type `{TYPE}`. Inherits from `EquatableAtomVariable<{TYPE}, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function>`. | ||
/// Variable of type `{VALUE_TYPE}`. Inherits from `EquatableAtomVariable<{VALUE_TYPE}, {VALUE_TYPE_NAME}Pair, {VALUE_TYPE_NAME}Event, {VALUE_TYPE_NAME}PairEvent, {VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function>`. | ||
/// </summary> | ||
[EditorIcon("atom-icon-lush")] | ||
[CreateAssetMenu(menuName = "Unity Atoms/Variables/{TYPE_NAME}", fileName = "{TYPE_NAME}Variable")] | ||
public sealed class {TYPE_NAME}Variable : EquatableAtomVariable<{TYPE}, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function> { } | ||
[CreateAssetMenu(menuName = "Unity Atoms/Variables/{VALUE_TYPE_NAME}", fileName = "{VALUE_TYPE_NAME}Variable")] | ||
public sealed class {VALUE_TYPE_NAME}Variable : EquatableAtomVariable<{VALUE_TYPE}, {VALUE_TYPE_NAME}Pair, {VALUE_TYPE_NAME}Event, {VALUE_TYPE_NAME}PairEvent, {VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function> { } | ||
<%ELSE%> | ||
/// <summary> | ||
/// Variable of type `{TYPE}`. Inherits from `AtomVariable<{TYPE}, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function>`. | ||
/// Variable of type `{VALUE_TYPE}`. Inherits from `AtomVariable<{VALUE_TYPE}, {VALUE_TYPE_NAME}Pair, {VALUE_TYPE_NAME}Event, {VALUE_TYPE_NAME}PairEvent, {VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function>`. | ||
/// </summary> | ||
[EditorIcon("atom-icon-lush")] | ||
[CreateAssetMenu(menuName = "Unity Atoms/Variables/{TYPE_NAME}", fileName = "{TYPE_NAME}Variable")] | ||
public sealed class {TYPE_NAME}Variable : AtomVariable<{TYPE}, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function> | ||
[CreateAssetMenu(menuName = "Unity Atoms/Variables/{VALUE_TYPE_NAME}", fileName = "{VALUE_TYPE_NAME}Variable")] | ||
public sealed class {VALUE_TYPE_NAME}Variable : AtomVariable<{VALUE_TYPE}, {VALUE_TYPE_NAME}Pair, {VALUE_TYPE_NAME}Event, {VALUE_TYPE_NAME}PairEvent, {VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function> | ||
{ | ||
protected override bool ValueEquals({TYPE} other) | ||
protected override bool ValueEquals({VALUE_TYPE} other) | ||
{ | ||
@@ -33,0 +29,0 @@ throw new NotImplementedException(); |
using UnityEngine; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
using UnityAtoms.BaseAtoms; | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -13,7 +12,14 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Variable Instancer of type `{TYPE}`. Inherits from `AtomVariableInstancer<{TYPE_NAME}Variable, {TYPE}, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function>`. | ||
/// Variable Instancer of type `{VALUE_TYPE}`. Inherits from `AtomVariableInstancer<{VALUE_TYPE_NAME}Variable, {VALUE_TYPE_NAME}Pair, {VALUE_TYPE}, {VALUE_TYPE_NAME}Event, {VALUE_TYPE_NAME}PairEvent, {VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function>`. | ||
/// </summary> | ||
[EditorIcon("atom-icon-hotpink")] | ||
[AddComponentMenu("Unity Atoms/Variable Instancers/{TYPE_NAME} Instancer")] | ||
public class {TYPE_NAME}VariableInstancer : AtomVariableInstancer<{TYPE_NAME}Variable, {TYPE}, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Function> { } | ||
[AddComponentMenu("Unity Atoms/Variable Instancers/{VALUE_TYPE_NAME} Variable Instancer")] | ||
public class {VALUE_TYPE_NAME}VariableInstancer : AtomVariableInstancer< | ||
{VALUE_TYPE_NAME}Variable, | ||
{VALUE_TYPE_NAME}Pair, | ||
{VALUE_TYPE}, | ||
{VALUE_TYPE_NAME}Event, | ||
{VALUE_TYPE_NAME}PairEvent, | ||
{VALUE_TYPE_NAME}{VALUE_TYPE_NAME}Function> | ||
{ } | ||
} |
#if UNITY_2019_1_OR_NEWER | ||
using UnityEditor; | ||
<%IF HAS_SUB_UA_NAMESPACE%> | ||
using UnityAtoms.Editor; | ||
<%ENDIF%> | ||
@@ -14,7 +12,7 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Constant property drawer of type `{TYPE}`. Inherits from `AtomDrawer<{TYPE_NAME}Constant>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// Constant property drawer of type `{VALUE_TYPE}`. Inherits from `AtomDrawer<{VALUE_TYPE_NAME}Constant>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// </summary> | ||
[CustomPropertyDrawer(typeof({TYPE_NAME}Constant))] | ||
public class {TYPE_NAME}ConstantDrawer : VariableDrawer<{TYPE_NAME}Constant> { } | ||
[CustomPropertyDrawer(typeof({VALUE_TYPE_NAME}Constant))] | ||
public class {VALUE_TYPE_NAME}ConstantDrawer : VariableDrawer<{VALUE_TYPE_NAME}Constant> { } | ||
} | ||
#endif |
#if UNITY_2019_1_OR_NEWER | ||
using UnityEditor; | ||
<%IF HAS_SUB_UA_NAMESPACE%> | ||
using UnityAtoms.Editor; | ||
<%ENDIF%> | ||
@@ -14,7 +12,7 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Event property drawer of type `{TYPE}`. Inherits from `AtomDrawer<{TYPE_NAME}Event>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// Event property drawer of type `{VALUE_TYPE}`. Inherits from `AtomDrawer<{VALUE_TYPE_NAME}Event>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// </summary> | ||
[CustomPropertyDrawer(typeof({TYPE_NAME}Event))] | ||
public class {TYPE_NAME}EventDrawer : AtomDrawer<{TYPE_NAME}Event> { } | ||
[CustomPropertyDrawer(typeof({VALUE_TYPE_NAME}Event))] | ||
public class {VALUE_TYPE_NAME}EventDrawer : AtomDrawer<{VALUE_TYPE_NAME}Event> { } | ||
} | ||
#endif |
#if UNITY_2019_1_OR_NEWER | ||
using UnityEditor; | ||
<%IF HAS_SUB_UA_NAMESPACE%> | ||
using UnityAtoms.Editor; | ||
<%ENDIF%> | ||
@@ -14,7 +12,7 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Value List property drawer of type `{TYPE}`. Inherits from `AtomDrawer<{TYPE_NAME}ValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// Value List property drawer of type `{VALUE_TYPE}`. Inherits from `AtomDrawer<{VALUE_TYPE_NAME}ValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// </summary> | ||
[CustomPropertyDrawer(typeof({TYPE_NAME}ValueList))] | ||
public class {TYPE_NAME}ValueListDrawer : AtomDrawer<{TYPE_NAME}ValueList> { } | ||
[CustomPropertyDrawer(typeof({VALUE_TYPE_NAME}ValueList))] | ||
public class {VALUE_TYPE_NAME}ValueListDrawer : AtomDrawer<{VALUE_TYPE_NAME}ValueList> { } | ||
} | ||
#endif |
#if UNITY_2019_1_OR_NEWER | ||
using UnityEditor; | ||
<%IF HAS_SUB_UA_NAMESPACE%> | ||
using UnityAtoms.Editor; | ||
<%ENDIF%> | ||
@@ -14,7 +12,7 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Variable property drawer of type `{TYPE}`. Inherits from `AtomDrawer<{TYPE_NAME}Variable>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// Variable property drawer of type `{VALUE_TYPE}`. Inherits from `AtomDrawer<{VALUE_TYPE_NAME}Variable>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// </summary> | ||
[CustomPropertyDrawer(typeof({TYPE_NAME}Variable))] | ||
public class {TYPE_NAME}VariableDrawer : VariableDrawer<{TYPE_NAME}Variable> { } | ||
[CustomPropertyDrawer(typeof({VALUE_TYPE_NAME}Variable))] | ||
public class {VALUE_TYPE_NAME}VariableDrawer : VariableDrawer<{VALUE_TYPE_NAME}Variable> { } | ||
} | ||
#endif |
#if UNITY_2019_1_OR_NEWER | ||
using UnityEditor; | ||
using UnityEngine.UIElements; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
<%IF HAS_SUB_UA_NAMESPACE%> | ||
using UnityAtoms.Editor; | ||
<%ENDIF%> | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -18,7 +14,7 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Event property drawer of type `{TYPE}`. Inherits from `AtomEventEditor<{TYPE}, {TYPE_NAME}Event>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// Event property drawer of type `{VALUE_TYPE}`. Inherits from `AtomEventEditor<{VALUE_TYPE}, {VALUE_TYPE_NAME}Event>`. Only availble in `UNITY_2019_1_OR_NEWER`. | ||
/// </summary> | ||
[CustomEditor(typeof({TYPE_NAME}Event))] | ||
public sealed class {TYPE_NAME}EventEditor : AtomEventEditor<{TYPE}, {TYPE_NAME}Event> { } | ||
[CustomEditor(typeof({VALUE_TYPE_NAME}Event))] | ||
public sealed class {VALUE_TYPE_NAME}EventEditor : AtomEventEditor<{VALUE_TYPE}, {VALUE_TYPE_NAME}Event> { } | ||
} | ||
#endif |
@@ -1,9 +0,4 @@ | ||
// generated file | ||
using UnityEditor; | ||
<%IF TYPE_HAS_NAMESPACE%> | ||
using {TYPE_NAMESPACE}; | ||
<%ENDIF%> | ||
<%IF HAS_SUB_UA_NAMESPACE%> | ||
using UnityAtoms.Editor; | ||
<%ENDIF%> | ||
<%IF TYPE_HAS_NAMESPACE%>using {TYPE_NAMESPACE};<%ENDIF%> | ||
@@ -17,8 +12,6 @@ <%IF HAS_SUB_UA_NAMESPACE%> | ||
/// <summary> | ||
/// Variable Inspector of type `{TYPE}`. Inherits from `AtomVariableEditor` | ||
/// Variable Inspector of type `{VALUE_TYPE}`. Inherits from `AtomVariableEditor` | ||
/// </summary> | ||
[CustomEditor(typeof({TYPE_NAME}Variable))] | ||
public sealed class {TYPE_NAME}VariableEditor : AtomVariableEditor | ||
{ | ||
} | ||
[CustomEditor(typeof({VALUE_TYPE_NAME}Variable))] | ||
public sealed class {VALUE_TYPE_NAME}VariableEditor : AtomVariableEditor<{VALUE_TYPE}, {VALUE_TYPE_NAME}Pair> { } | ||
} |
{ | ||
"name": "com.mambojambostudios.unity-atoms-core", | ||
"displayName": "Unity Atoms Core", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"unity": "2018.3", | ||
@@ -6,0 +6,0 @@ "description": "Tiny modular pieces utilizing the power of Scriptable Objects", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
314831
241