diff --git a/src/Internal/Editor/MetaObjectsDropDown.cs b/src/Internal/Editor/MetaObjectsDropDown.cs index 207336a..d8725a0 100644 --- a/src/Internal/Editor/MetaObjectsDropDown.cs +++ b/src/Internal/Editor/MetaObjectsDropDown.cs @@ -204,7 +204,7 @@ namespace DCFApixels.DragonECS.Unity.Editors Type = type; IsUnique = false; - if(type.TryGetAttribute(out var atr)) + if(type.TryGetAttribute(out var atr)) { WrappedFieldName = atr.WrappedFieldName; var field = type.GetField(atr.WrappedFieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); diff --git a/src/Templates/EntityTemplate/Templates/ComponentTemplateBase.cs b/src/Templates/EntityTemplate/Templates/ComponentTemplateBase.cs index cf2fa5b..f809f6b 100644 --- a/src/Templates/EntityTemplate/Templates/ComponentTemplateBase.cs +++ b/src/Templates/EntityTemplate/Templates/ComponentTemplateBase.cs @@ -13,10 +13,10 @@ using UnityEngine; namespace DCFApixels.DragonECS.Unity { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true, AllowMultiple = false)] - public sealed class DragonMemnberWrapperAttribute : Attribute + public sealed class DragonMemberWrapperAttribute : Attribute { public string WrappedFieldName; - public DragonMemnberWrapperAttribute(string wrappedFieldName) + public DragonMemberWrapperAttribute(string wrappedFieldName) { WrappedFieldName = wrappedFieldName; } @@ -49,7 +49,7 @@ namespace DCFApixels.DragonECS [Serializable] [MetaProxy(typeof(ComponentTemplateMetaProxy))] - [DragonMemnberWrapper("component")] + [DragonMemberWrapper("component")] public abstract class ComponentTemplateBase : IComponentTemplate { #region Properties