using System; using Code.Infrastructure.Generators; using UnityEngine.AddressableAssets; namespace Code.Example.Platformer.Entity { [Serializable] public struct PlatformerEntityData { public string name; public float speed; public float acceleration; public int damage; public PlatformerEntityType type; public int maxHealth; } public enum PlatformerEntityType { Player, Boar, Bee, Snail } [Config("Configs/Gameplay/Platformer/EntitySettings", true)] public class PlatformerEntitySettings { [ToConfig] public PlatformerEntityData EntityData; [ToConfig] public AssetReference prefabReference; } [Config("", false, true)] public class PlatformerPlayerSettings { } }