This commit is contained in:
Adam Ramberg 2020-03-01 21:32:52 +01:00
parent 3613e32c34
commit 5d9f8dca71
724 changed files with 2701 additions and 10174 deletions

View File

@ -1,21 +1,21 @@
using UnityEngine;
using UnityAtoms.Tags;
using UnityEngine.Serialization;
// using UnityEngine;
// using UnityAtoms.Tags;
// using UnityEngine.Serialization;
namespace UnityAtoms.Examples
{
[CreateAssetMenu(menuName = "Unity Atoms/Examples/Intro/Decrease Players Health")]
public sealed class DecreasePlayersHealth : Collider2DAction
{
[SerializeField]
private StringConstant _tagPlayer = null;
// namespace UnityAtoms.Examples
// {
// [CreateAssetMenu(menuName = "Unity Atoms/Examples/Intro/Decrease Players Health")]
// public sealed class DecreasePlayersHealth : Collider2DAction
// {
// [SerializeField]
// private StringConstant _tagPlayer = null;
public override void Do(Collider2D collider)
{
if (collider.gameObject.HasTag(_tagPlayer))
{
collider.GetComponent<PlayerHealth>().Health.Value -= 10;
}
}
}
}
// public override void Do(Collider2D collider)
// {
// if (collider.gameObject.HasTag(_tagPlayer))
// {
// collider.GetComponent<PlayerHealth>().Health.Value -= 10;
// }
// }
// }
// }

View File

@ -1,10 +1,10 @@
using UnityEngine;
// using UnityEngine;
namespace UnityAtoms.Examples
{
[AddComponentMenu("Unity Atoms/Examples/PlayerHealth")]
public class PlayerHealth : MonoBehaviour
{
public IntVariable Health;
}
}
// namespace UnityAtoms.Examples
// {
// [AddComponentMenu("Unity Atoms/Examples/PlayerHealth")]
// public class PlayerHealth : MonoBehaviour
// {
// public IntVariable Health;
// }
// }

View File

@ -1,17 +1,17 @@
using UnityEngine;
using UnityEngine.UI;
// using UnityEngine;
// using UnityEngine.UI;
namespace UnityAtoms.Examples
{
[AddComponentMenu("Unity Atoms/Examples/HealthBar")]
public class HealthBar : MonoBehaviour
{
[SerializeField]
private IntConstant _maxHealth = null;
// namespace UnityAtoms.Examples
// {
// [AddComponentMenu("Unity Atoms/Examples/HealthBar")]
// public class HealthBar : MonoBehaviour
// {
// [SerializeField]
// private IntConstant _maxHealth = null;
public void HealthChanged(int health)
{
GetComponent<Image>().fillAmount = 1.0f * health / _maxHealth.Value;
}
}
}
// public void HealthChanged(int health)
// {
// GetComponent<Image>().fillAmount = 1.0f * health / _maxHealth.Value;
// }
// }
// }

View File

@ -1,17 +1,17 @@
using UnityEngine;
using UnityEngine.Serialization;
// using UnityEngine;
// using UnityEngine.Serialization;
namespace UnityAtoms.Examples
{
[CreateAssetMenu(menuName = "Unity Atoms/Examples/Intro/Reset Health", fileName = "ResetHealth")]
public class ResetHealth : VoidAction
{
[SerializeField]
private IntVariable _variable = null;
// namespace UnityAtoms.Examples
// {
// [CreateAssetMenu(menuName = "Unity Atoms/Examples/Intro/Reset Health", fileName = "ResetHealth")]
// public class ResetHealth : VoidAction
// {
// [SerializeField]
// private IntVariable _variable = null;
public override void Do()
{
_variable.Reset(true);
}
}
}
// public override void Do()
// {
// _variable.Reset(true);
// }
// }
// }

View File

@ -1,36 +1,36 @@
using System;
using UnityEngine;
using Marvelous;
using UniRx;
// using System;
// using UnityEngine;
// using Marvelous;
// using UniRx;
namespace UnityAtoms.Examples
{
public class PlayerMoveUniRx : MonoBehaviour
{
[SerializeField]
private StringVariable _uiState;
[SerializeField]
private StringConstant _uiStatePlaying;
// namespace UnityAtoms.Examples
// {
// public class PlayerMoveUniRx : MonoBehaviour
// {
// [SerializeField]
// private StringVariable _uiState;
// [SerializeField]
// private StringConstant _uiStatePlaying;
private void Awake()
{
float _horizontal = 0f, _vertical = 0f;
string HORIZONTAL = "Horizontal", VERTICAL = "Vertical";
// private void Awake()
// {
// float _horizontal = 0f, _vertical = 0f;
// string HORIZONTAL = "Horizontal", VERTICAL = "Vertical";
Observable.EveryUpdate().Fuse<long, string>(
_uiState.ObserveChange(),
initialValue2: _uiState.Value
).Subscribe(t =>
{
var (_, state) = t;
_horizontal = state == _uiStatePlaying.Value ? Input.GetAxis(HORIZONTAL) : 0f;
_vertical = state == _uiStatePlaying.Value ? Input.GetAxis(VERTICAL) : 0f;
});
// Observable.EveryUpdate().Fuse<long, string>(
// _uiState.ObserveChange(),
// initialValue2: _uiState.Value
// ).Subscribe(t =>
// {
// var (_, state) = t;
// _horizontal = state == _uiStatePlaying.Value ? Input.GetAxis(HORIZONTAL) : 0f;
// _vertical = state == _uiStatePlaying.Value ? Input.GetAxis(VERTICAL) : 0f;
// });
Observable.EveryFixedUpdate().Subscribe(t =>
{
GetComponent<Rigidbody2D>().velocity = new Vector2(_horizontal, _vertical) * 5f;
});
}
}
}
// Observable.EveryFixedUpdate().Subscribe(t =>
// {
// GetComponent<Rigidbody2D>().velocity = new Vector2(_horizontal, _vertical) * 5f;
// });
// }
// }
// }

View File

@ -1,22 +1,22 @@
using UnityEngine;
using UnityEngine.UI;
using UniRx;
// using UnityEngine;
// using UnityEngine.UI;
// using UniRx;
namespace UnityAtoms.Examples
{
public class HealthBarUniRx : MonoBehaviour
{
[SerializeField]
private IntConstant _maxHealth = null;
[SerializeField]
private IntVariable _health = null;
// namespace UnityAtoms.Examples
// {
// public class HealthBarUniRx : MonoBehaviour
// {
// [SerializeField]
// private IntConstant _maxHealth = null;
// [SerializeField]
// private IntVariable _health = null;
void Awake()
{
_health.ObserveChange().Subscribe(health =>
{
GetComponent<Image>().fillAmount = 1.0f * health / _maxHealth.Value;
});
}
}
}
// void Awake()
// {
// _health.ObserveChange().Subscribe(health =>
// {
// GetComponent<Image>().fillAmount = 1.0f * health / _maxHealth.Value;
// });
// }
// }
// }

View File

@ -10,17 +10,18 @@ namespace UnityAtoms.Editor
public class AtomEventReferenceDrawer : PropertyDrawer
{
private static readonly string[] _popupOptions =
{ "Use Event", "Use Variable", "Use Variable Instancer" };
{ "Use Event", "Use Event Instancer", "Use Variable", "Use Variable Instancer" };
private static GUIStyle _popupStyle;
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
{
SerializedProperty usage = property.FindPropertyRelative("_usage");
SerializedProperty ev = property.FindPropertyRelative("_event");
SerializedProperty evInstancer = property.FindPropertyRelative("_eventInstancer");
SerializedProperty variable = property.FindPropertyRelative("_variable");
SerializedProperty variableInstancer = property.FindPropertyRelative("_variableInstancer");
return EditorGUI.GetPropertyHeight(GetPropToUse(usage, ev, variable, variableInstancer), label);
return EditorGUI.GetPropertyHeight(GetPropToUse(usage, ev, evInstancer, variable, variableInstancer), label);
}
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
@ -39,6 +40,7 @@ namespace UnityAtoms.Editor
// Get properties
SerializedProperty usage = property.FindPropertyRelative("_usage");
SerializedProperty ev = property.FindPropertyRelative("_event");
SerializedProperty evInstancer = property.FindPropertyRelative("_eventInstancer");
SerializedProperty variable = property.FindPropertyRelative("_variable");
SerializedProperty variableInstancer = property.FindPropertyRelative("_variableInstancer");
@ -54,7 +56,7 @@ namespace UnityAtoms.Editor
usage.intValue = EditorGUI.Popup(buttonRect, usage.intValue, _popupOptions, _popupStyle);
EditorGUI.PropertyField(position,
GetPropToUse(usage, ev, variable, variableInstancer),
GetPropToUse(usage, ev, evInstancer, variable, variableInstancer),
GUIContent.none);
if (EditorGUI.EndChangeCheck())
@ -64,13 +66,17 @@ namespace UnityAtoms.Editor
EditorGUI.EndProperty();
}
private SerializedProperty GetPropToUse(SerializedProperty usage, SerializedProperty ev, SerializedProperty variable, SerializedProperty variableInstancer)
private SerializedProperty GetPropToUse(SerializedProperty usage, SerializedProperty ev, SerializedProperty evInstancer, SerializedProperty variable, SerializedProperty variableInstancer)
{
var usageIntVal = (AtomEventReferenceBase.Usage)usage.intValue;
if (usageIntVal == AtomEventReferenceBase.Usage.Variable)
{
return variable;
}
else if (usageIntVal == AtomEventReferenceBase.Usage.EventInstancer)
{
return evInstancer;
}
else if (usageIntVal == AtomEventReferenceBase.Usage.VariableInstancer)
{
return variableInstancer;

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `bool`. Inherits from `AtomDrawer&lt;BoolConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(BoolConstant))]
public class BoolConstantDrawer : VariableDrawer<BoolConstant> { }
}
#endif

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `Collider2D`. Inherits from `AtomDrawer&lt;Collider2DConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Collider2DConstant))]
public class Collider2DConstantDrawer : VariableDrawer<Collider2DConstant> { }
}
#endif

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `Collider`. Inherits from `AtomDrawer&lt;ColliderConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColliderConstant))]
public class ColliderConstantDrawer : VariableDrawer<ColliderConstant> { }
}
#endif

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `Color`. Inherits from `AtomDrawer&lt;ColorConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColorConstant))]
public class ColorConstantDrawer : VariableDrawer<ColorConstant> { }
}
#endif

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `float`. Inherits from `AtomDrawer&lt;FloatConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(FloatConstant))]
public class FloatConstantDrawer : VariableDrawer<FloatConstant> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 7dab4354f4fd646e8a90ca4c07af3e21
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `GameObject`. Inherits from `AtomDrawer&lt;GameObjectConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(GameObjectConstant))]
public class GameObjectConstantDrawer : VariableDrawer<GameObjectConstant> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 5f36a1a23866747af930f34308709475
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `int`. Inherits from `AtomDrawer&lt;IntConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(IntConstant))]
public class IntConstantDrawer : VariableDrawer<IntConstant> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 37a1e36bcf571480492c15a6492db854
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `string`. Inherits from `AtomDrawer&lt;StringConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(StringConstant))]
public class StringConstantDrawer : VariableDrawer<StringConstant> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: a3cb98ecb5e4f41a39d4bc1e30ed781c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `Vector2`. Inherits from `AtomDrawer&lt;Vector2Constant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Vector2Constant))]
public class Vector2ConstantDrawer : VariableDrawer<Vector2Constant> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: a6ad5dd3c26784f729c42ff61945cfc6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `Vector3`. Inherits from `AtomDrawer&lt;Vector3Constant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Vector3Constant))]
public class Vector3ConstantDrawer : VariableDrawer<Vector3Constant> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 057726c762a6d4b59a573114ce21d5f3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `AtomBaseVariable`. Inherits from `AtomDrawer&lt;AtomBaseVariableEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(AtomBaseVariableEvent))]
public class AtomBaseVariableEventDrawer : AtomDrawer<AtomBaseVariableEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 9ba77df271427415f85e7831cfaa564a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `bool`. Inherits from `AtomDrawer&lt;BoolBoolEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(BoolBoolEvent))]
public class BoolBoolEventDrawer : AtomDrawer<BoolBoolEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 8fe9b0e14827f4addbf7beef4d00bfec
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `bool`. Inherits from `AtomDrawer&lt;BoolEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(BoolEvent))]
public class BoolEventDrawer : AtomDrawer<BoolEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 814335471cc57497aa411f797b4300ca
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `Collider2D`. Inherits from `AtomDrawer&lt;Collider2DCollider2DEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Collider2DCollider2DEvent))]
public class Collider2DCollider2DEventDrawer : AtomDrawer<Collider2DCollider2DEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: ce2c67467cda04c74873cc80f43301bc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Collider2D`. Inherits from `AtomDrawer&lt;Collider2DEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Collider2DEvent))]
public class Collider2DEventDrawer : AtomDrawer<Collider2DEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 4c1dd3711631c43b085df77c2e8d6f70
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `Collider`. Inherits from `AtomDrawer&lt;ColliderColliderEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColliderColliderEvent))]
public class ColliderColliderEventDrawer : AtomDrawer<ColliderColliderEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 36d1fbe3eef394b21b3e67b3cbf4767f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Collider`. Inherits from `AtomDrawer&lt;ColliderEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColliderEvent))]
public class ColliderEventDrawer : AtomDrawer<ColliderEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: e0350eb2b34fa4c09875146c4ca7f8b8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `Color`. Inherits from `AtomDrawer&lt;ColorColorEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColorColorEvent))]
public class ColorColorEventDrawer : AtomDrawer<ColorColorEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: a1f56521d4a7642db8493be9b1eb9d9f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Color`. Inherits from `AtomDrawer&lt;ColorEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColorEvent))]
public class ColorEventDrawer : AtomDrawer<ColorEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 9b462011f6c1f4c8eb3b6c292f169981
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `float`. Inherits from `AtomDrawer&lt;FloatEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(FloatEvent))]
public class FloatEventDrawer : AtomDrawer<FloatEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 2f0929c7ac38b446ba33f8841261ceda
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `float`. Inherits from `AtomDrawer&lt;FloatFloatEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(FloatFloatEvent))]
public class FloatFloatEventDrawer : AtomDrawer<FloatFloatEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: bfa6e6b8a6c8e4f329427647b510ce6e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `GameObject`. Inherits from `AtomDrawer&lt;GameObjectEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(GameObjectEvent))]
public class GameObjectEventDrawer : AtomDrawer<GameObjectEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 5973565aa50804b4b9f271b645f490a4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `GameObject`. Inherits from `AtomDrawer&lt;GameObjectGameObjectEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(GameObjectGameObjectEvent))]
public class GameObjectGameObjectEventDrawer : AtomDrawer<GameObjectGameObjectEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: a5255c156ae5c4e8880d097e234782f3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `int`. Inherits from `AtomDrawer&lt;IntEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(IntEvent))]
public class IntEventDrawer : AtomDrawer<IntEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 7106551fabc2e49688ff0a738f66cea9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `int`. Inherits from `AtomDrawer&lt;IntIntEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(IntIntEvent))]
public class IntIntEventDrawer : AtomDrawer<IntIntEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: becd45ffbad264af8b7f517143403138
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `string`. Inherits from `AtomDrawer&lt;StringEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(StringEvent))]
public class StringEventDrawer : AtomDrawer<StringEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 567c1cd5d502e42f69c0240e5b0caea6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `string`. Inherits from `AtomDrawer&lt;StringStringEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(StringStringEvent))]
public class StringStringEventDrawer : AtomDrawer<StringStringEvent> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 0adcd4748beeb4f4faaebbee28e55603
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Vector2`. Inherits from `AtomDrawer&lt;Vector2Event&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Vector2Event))]
public class Vector2EventDrawer : AtomDrawer<Vector2Event> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: b01057a4d9ea94b46a838a25b1694845
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `Vector2`. Inherits from `AtomDrawer&lt;Vector2Vector2Event&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Vector2Vector2Event))]
public class Vector2Vector2EventDrawer : AtomDrawer<Vector2Vector2Event> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 2005f869850ee4a5a9ed1492eec2f7cd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event property drawer of type `Vector3`. Inherits from `AtomDrawer&lt;Vector3Event&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Vector3Event))]
public class Vector3EventDrawer : AtomDrawer<Vector3Event> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 6d79a3e2dd39e45a88f3be2950d6dc1a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Event x 2 property drawer of type `Vector3`. Inherits from `AtomDrawer&lt;Vector3Vector3Event&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Vector3Vector3Event))]
public class Vector3Vector3EventDrawer : AtomDrawer<Vector3Vector3Event> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 2907cbcf58ba041d287e0b85a3b4aa26
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,27 @@
using UnityEngine;
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Make property read only by using the abbtribute `[ReadOnly]`. Solution taken from: https://answers.unity.com/questions/489942/how-to-make-a-readonly-property-in-inspector.html
/// </summary>
[CustomPropertyDrawer(typeof(ReadOnlyAttribute))]
public class ReadOnlyDrawer : PropertyDrawer
{
public override float GetPropertyHeight(SerializedProperty property,
GUIContent label)
{
return EditorGUI.GetPropertyHeight(property, label, true);
}
public override void OnGUI(Rect position,
SerializedProperty property,
GUIContent label)
{
GUI.enabled = false;
EditorGUI.PropertyField(position, property, label, true);
GUI.enabled = true;
}
}
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 29b71dc415c984b97bce0c8cb79d1e80
guid: 7f4c8889b018a44e2b9f10f21876bae2
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -6,7 +6,7 @@ namespace UnityAtoms.Editor
/// <summary>
/// SerializableDictionary property drawer for type &lt;StringReference, AtomBaseVariable&gt;. Inherits from `SerializableDictionaryDrawer&lt;StringReference, AtomBaseVariable, StringReferenceAtomBaseVariableDictionary&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(StringReferenceAtomBaseVariableDictionary))]
public class StringReferenceAtomBaseVariableDictionaryDrawer : SerializableDictionaryDrawer<StringReference, AtomBaseVariable, StringReferenceAtomBaseVariableDictionary> { }
// [CustomPropertyDrawer(typeof(StringReferenceAtomBaseVariableDictionary))]
// public class StringReferenceAtomBaseVariableDictionaryDrawer : SerializableDictionaryDrawer<StringReference, AtomBaseVariable, StringReferenceAtomBaseVariableDictionary> { }
}
#endif

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `bool`. Inherits from `AtomDrawer&lt;BoolValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(BoolValueList))]
public class BoolValueListDrawer : AtomDrawer<BoolValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: f641d1cf352f94fa0a22b099211e8e10
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `Collider2D`. Inherits from `AtomDrawer&lt;Collider2DValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Collider2DValueList))]
public class Collider2DValueListDrawer : AtomDrawer<Collider2DValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 3bd03ced0ac2a43b5828c2e84b32c41c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `Collider`. Inherits from `AtomDrawer&lt;ColliderValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColliderValueList))]
public class ColliderValueListDrawer : AtomDrawer<ColliderValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 7146f9dfa7c4e451b8276398875eff82
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `Color`. Inherits from `AtomDrawer&lt;ColorValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColorValueList))]
public class ColorValueListDrawer : AtomDrawer<ColorValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 9d9dce81aacb94950b1bff49ab53288f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `float`. Inherits from `AtomDrawer&lt;FloatValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(FloatValueList))]
public class FloatValueListDrawer : AtomDrawer<FloatValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: bd3ec2ac9fbe54d95b45eb35cdd6ddee
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `GameObject`. Inherits from `AtomDrawer&lt;GameObjectValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(GameObjectValueList))]
public class GameObjectValueListDrawer : AtomDrawer<GameObjectValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: fcbe5cd39a8114eb1b0eafe073b9eb86
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `int`. Inherits from `AtomDrawer&lt;IntValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(IntValueList))]
public class IntValueListDrawer : AtomDrawer<IntValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: a32cbdebf2c4e482ba4cae777f31b1c2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `string`. Inherits from `AtomDrawer&lt;StringValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(StringValueList))]
public class StringValueListDrawer : AtomDrawer<StringValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: fe5a345122b4b4ea48187e1494a2877b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `Vector2`. Inherits from `AtomDrawer&lt;Vector2ValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Vector2ValueList))]
public class Vector2ValueListDrawer : AtomDrawer<Vector2ValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: e8b07863f0b2749b0a9ecae1e9face77
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Value List property drawer of type `Vector3`. Inherits from `AtomDrawer&lt;Vector3ValueList&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Vector3ValueList))]
public class Vector3ValueListDrawer : AtomDrawer<Vector3ValueList> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: f16ace60215bb4e93b269937b22d0254
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Variable property drawer of type `bool`. Inherits from `AtomDrawer&lt;BoolVariable&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(BoolVariable))]
public class BoolVariableDrawer : VariableDrawer<BoolVariable> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: af7a7155c0cb1416ca22cef078a6ee13
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Variable property drawer of type `Collider2D`. Inherits from `AtomDrawer&lt;Collider2DVariable&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Collider2DVariable))]
public class Collider2DVariableDrawer : VariableDrawer<Collider2DVariable> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: c7ffbd2cf36a845399876cfd96de2a7e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Variable property drawer of type `Collider`. Inherits from `AtomDrawer&lt;ColliderVariable&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColliderVariable))]
public class ColliderVariableDrawer : VariableDrawer<ColliderVariable> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 83082454b2fa64abd9c1fb88a9e93556
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Variable property drawer of type `Color`. Inherits from `AtomDrawer&lt;ColorVariable&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColorVariable))]
public class ColorVariableDrawer : VariableDrawer<ColorVariable> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: af924327b3b7e466e927f85154059c3b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Variable property drawer of type `float`. Inherits from `AtomDrawer&lt;FloatVariable&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(FloatVariable))]
public class FloatVariableDrawer : VariableDrawer<FloatVariable> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 6987b5fcc97bb44ceb9f2973f10f50d9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
namespace UnityAtoms.Editor
{
/// <summary>
/// Variable property drawer of type `GameObject`. Inherits from `AtomDrawer&lt;GameObjectVariable&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(GameObjectVariable))]
public class GameObjectVariableDrawer : VariableDrawer<GameObjectVariable> { }
}
#endif

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: f87d17a885e064545abf45a09062181b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files have changed in this diff Show More