mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-06-10 22:20:40 +02:00
refactor: simplify instantiate prefabs (#41)
This commit is contained in:
@ -6,13 +6,7 @@ using System.Runtime.Serialization;
|
||||
[System.Serializable]
|
||||
public class LevelElement
|
||||
{
|
||||
public enum Type
|
||||
{
|
||||
Obstacle = 0,
|
||||
Spike = 1
|
||||
}
|
||||
|
||||
public Type type;
|
||||
public string type;
|
||||
public float x;
|
||||
public float y;
|
||||
}
|
||||
|
Reference in New Issue
Block a user