Platformer example started
This commit is contained in:
1 parent
efcfaae647
commit
9f026b76d6
325 files changed
+23540
-270
No files matched your search
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using Code.Infrastructure.Generators;
|
||||
using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Example.Platformer.Entity
|
||||
{
|
||||
[Config("Configs/Gameplay/Platformer/EnemySettings", true)]
|
||||
public class PlatformerEnemySettings
|
||||
{
|
||||
[ToConfig] public PlatformerEnemyData racerData;
|
||||
|
||||
[ToConfig] public AssetReference prefabReference;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct PlatformerEnemyData
|
||||
{
|
||||
public string name;
|
||||
public float speed;
|
||||
public int damage;
|
||||
public PlatformerEnemyType type;
|
||||
}
|
||||
|
||||
public enum PlatformerEnemyType
|
||||
{
|
||||
Dummy
|
||||
}
|
||||
public class PlatformerEnemyFactory
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user