diff --git a/ExternalApp/Genesis.Unity.Factory.Plugin/CodeGenerators/ScriptableFactoryCodeGenerator.cs b/ExternalApp/Genesis.Unity.Factory.Plugin/CodeGenerators/ScriptableFactoryCodeGenerator.cs index 912276a..9e52669 100644 --- a/ExternalApp/Genesis.Unity.Factory.Plugin/CodeGenerators/ScriptableFactoryCodeGenerator.cs +++ b/ExternalApp/Genesis.Unity.Factory.Plugin/CodeGenerators/ScriptableFactoryCodeGenerator.cs @@ -433,7 +433,7 @@ public bool TryGetValue(string symbol, out ${ValueFullType} value) { value = null; - return MappingLookup.TryGetValue(symbol, out var mapping); + return MappingLookup.TryGetValue(symbol, out value); } #if ODIN_INSPECTOR diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToGameObjectArrayFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToGameObjectArrayFactory.cs index e41810d..6a5dc3b 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToGameObjectArrayFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToGameObjectArrayFactory.cs @@ -8,7 +8,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultArchetypeIDToGameObjectArrayFactory", menuName = "Genesis/Factory/ArchetypeIDToGameObjectArrayFactory")] + [CreateAssetMenu(fileName = "NewArchetypeIDToGameObjectArrayFactory", menuName = "Genesis/Factory/ArchetypeIDToGameObjectArrayFactory")] public sealed partial class ArchetypeIDToGameObjectArrayFactory : ScriptableObject { [Serializable] diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToGameObjectFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToGameObjectFactory.cs index 8cd4019..6fb6fc7 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToGameObjectFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToGameObjectFactory.cs @@ -8,7 +8,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultArchetypeIDToGameObjectFactory", menuName = "Genesis/Factory/ArchetypeIDToGameObjectFactory")] + [CreateAssetMenu(fileName = "NewArchetypeIDToGameObjectFactory", menuName = "Genesis/Factory/ArchetypeIDToGameObjectFactory")] public sealed partial class ArchetypeIDToGameObjectFactory : ScriptableObject { [Serializable] diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToListGameObjectFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToListGameObjectFactory.cs index 51595fa..8de64fb 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToListGameObjectFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToListGameObjectFactory.cs @@ -8,7 +8,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultArchetypeIDToListGameObjectFactory", menuName = "Genesis/Factory/ArchetypeIDToListGameObjectFactory")] + [CreateAssetMenu(fileName = "NewArchetypeIDToListGameObjectFactory", menuName = "Genesis/Factory/ArchetypeIDToListGameObjectFactory")] public sealed partial class ArchetypeIDToListGameObjectFactory : ScriptableObject { [Serializable] diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToSpriteFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToSpriteFactory.cs index 03a0af5..6cd2337 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToSpriteFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ArchetypeIDToSpriteFactory.cs @@ -8,7 +8,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultArchetypeIDToSpriteFactory", menuName = "Genesis/Factory/ArchetypeIDToSpriteFactory")] + [CreateAssetMenu(fileName = "NewArchetypeIDToSpriteFactory", menuName = "Genesis/Factory/ArchetypeIDToSpriteFactory")] public sealed partial class ArchetypeIDToSpriteFactory : ScriptableObject { [Serializable] diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/BehaviourSymbolObjectSymbolFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/BehaviourSymbolObjectSymbolFactory.cs index 69cd1a3..b68aaa1 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/BehaviourSymbolObjectSymbolFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/BehaviourSymbolObjectSymbolFactory.cs @@ -9,7 +9,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultBehaviourSymbolObjectSymbolFactory", menuName = "Genesis/Factory/BehaviourSymbolObjectSymbolFactory")] + [CreateAssetMenu(fileName = "NewBehaviourSymbolObjectSymbolFactory", menuName = "Genesis/Factory/BehaviourSymbolObjectSymbolFactory")] public sealed partial class BehaviourSymbolObjectSymbolFactory : ScriptableObject { #if ODIN_INSPECTOR @@ -67,7 +67,7 @@ public bool TryGetValue(string symbol, out ExampleContent.BehaviourSymbolObject { value = null; - return MappingLookup.TryGetValue(symbol, out var mapping); + return MappingLookup.TryGetValue(symbol, out value); } #if ODIN_INSPECTOR diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToGameObjectArrayFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToGameObjectArrayFactory.cs index 539e266..13ec184 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToGameObjectArrayFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToGameObjectArrayFactory.cs @@ -10,7 +10,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultItemTypeToGameObjectArrayFactory", menuName = "Genesis/Factory/ItemTypeToGameObjectArrayFactory")] + [CreateAssetMenu(fileName = "NewItemTypeToGameObjectArrayFactory", menuName = "Genesis/Factory/ItemTypeToGameObjectArrayFactory")] public sealed partial class ItemTypeToGameObjectArrayFactory : ScriptableObject { [Serializable] diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToGameObjectFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToGameObjectFactory.cs index b5e5979..5f483a1 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToGameObjectFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToGameObjectFactory.cs @@ -10,7 +10,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultItemTypeToGameObjectFactory", menuName = "Genesis/Factory/ItemTypeToGameObjectFactory")] + [CreateAssetMenu(fileName = "NewItemTypeToGameObjectFactory", menuName = "Genesis/Factory/ItemTypeToGameObjectFactory")] public sealed partial class ItemTypeToGameObjectFactory : ScriptableObject { [Serializable] diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToListGameObjectFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToListGameObjectFactory.cs index c04513e..694ddc6 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToListGameObjectFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToListGameObjectFactory.cs @@ -10,7 +10,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultItemTypeToListGameObjectFactory", menuName = "Genesis/Factory/ItemTypeToListGameObjectFactory")] + [CreateAssetMenu(fileName = "NewItemTypeToListGameObjectFactory", menuName = "Genesis/Factory/ItemTypeToListGameObjectFactory")] public sealed partial class ItemTypeToListGameObjectFactory : ScriptableObject { [Serializable] diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToSpriteFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToSpriteFactory.cs index 73c99d5..28759cc 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToSpriteFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/ItemTypeToSpriteFactory.cs @@ -10,7 +10,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultItemTypeToSpriteFactory", menuName = "Genesis/Factory/ItemTypeToSpriteFactory")] + [CreateAssetMenu(fileName = "NewItemTypeToSpriteFactory", menuName = "Genesis/Factory/ItemTypeToSpriteFactory")] public sealed partial class ItemTypeToSpriteFactory : ScriptableObject { [Serializable] diff --git a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/POCOSymbolObjectSymbolFactory.cs b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/POCOSymbolObjectSymbolFactory.cs index 2346e34..0f4327a 100644 --- a/Unity/Assets/ExampleContent/Scripts/Generated/Factory/POCOSymbolObjectSymbolFactory.cs +++ b/Unity/Assets/ExampleContent/Scripts/Generated/Factory/POCOSymbolObjectSymbolFactory.cs @@ -9,7 +9,7 @@ namespace Genesis { - [CreateAssetMenu(fileName = "DefaultPOCOSymbolObjectSymbolFactory", menuName = "Genesis/Factory/POCOSymbolObjectSymbolFactory")] + [CreateAssetMenu(fileName = "NewPOCOSymbolObjectSymbolFactory", menuName = "Genesis/Factory/POCOSymbolObjectSymbolFactory")] public sealed partial class POCOSymbolObjectSymbolFactory : ScriptableObject { #if ODIN_INSPECTOR @@ -67,7 +67,7 @@ public bool TryGetValue(string symbol, out ExampleContent.POCOSymbolObject value { value = null; - return MappingLookup.TryGetValue(symbol, out var mapping); + return MappingLookup.TryGetValue(symbol, out value); } #if ODIN_INSPECTOR