update: changed classes to structs
fix: DeployMenu render order
This commit is contained in:
@@ -32,12 +32,12 @@ public class GameController : MonoBehaviour
|
||||
}
|
||||
|
||||
public void OnLevelClear(string sceneName, float timeSpent) {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LevelInfo {
|
||||
public struct LevelInfo {
|
||||
public SceneAsset scene;
|
||||
public int hp;
|
||||
public int maxHp;
|
||||
|
||||
@@ -40,7 +40,7 @@ public class LevelController : MonoBehaviour
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class SpawnPointInfo {
|
||||
public struct SpawnPointInfo {
|
||||
public Transform transform;
|
||||
public float radius;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user