Space-Smash-Out/Assets/Scripts/ScriptableObjects/Arena.cs
Jakob Feldmann 64162cb4a1 feat: whole project restructuring
This can be seen as the initial state of the project after the released demo.

The changes include:
- New ship models
- Singleton manager structure to keep project scaleable in the future
     - Managing players, their settings, character choices, statistics, match setups, controls etc. in a separate decoupled scene
- Main menu with transitions to the arena scene
- Beginnings of a custom audio solution
- Logging with Log4Net

It is really a complete overhaul of the projects structure and management.
2024-04-01 23:06:39 +02:00

12 lines
455 B
C#

using UnityEngine;
[CreateAssetMenu(fileName = "Arena", menuName = "ScriptableObjects/Arena", order = 1)]
public class Arena : ScriptableObject
{
[Tooltip("Minimum allowed players for this arena.")]
public int minPlayerCount = 2;
[Tooltip("Maximum allowed players for this arena.")]
public int maxPlayerCount = 2;
[Tooltip("Start positions for joining players.")]
public Vector3[] spawnPositions = { new Vector3(-5, 0, 0), new Vector3(5, 0, 0) };
}