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.
38 lines
747 B
C#
38 lines
747 B
C#
using UnityEngine;
|
|
|
|
namespace SlimUI.ModernMenu{
|
|
[CreateAssetMenu(menuName = "ThemeSettings")]
|
|
[System.Serializable]
|
|
public class ThemedUIData : ScriptableObject {
|
|
[System.Serializable]
|
|
public class Custom1{
|
|
[Header("Text")]
|
|
public Color graphic1;
|
|
public Color32 text1;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class Custom2{
|
|
[Header("Text")]
|
|
public Color graphic2;
|
|
public Color32 text2;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class Custom3{
|
|
[Header("Text")]
|
|
public Color graphic3;
|
|
public Color32 text3;
|
|
}
|
|
|
|
[Header("PRESETS")]
|
|
public Custom1 custom1;
|
|
public Custom2 custom2;
|
|
public Custom3 custom3;
|
|
|
|
[HideInInspector]
|
|
public Color currentColor;
|
|
[HideInInspector]
|
|
public Color32 textColor;
|
|
}
|
|
} |