You've already forked Darklings-FightingGame
mirror of
https://github.com/izzy2lost/Darklings-FightingGame.git
synced 2026-03-10 11:35:19 -07:00
33 lines
780 B
C#
33 lines
780 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "Replay", menuName = "Scriptable Objects/Replay", order = 1)]
|
|
public class ReplaySO : ScriptableObject
|
|
{
|
|
public List<ReplayData> replays = new();
|
|
}
|
|
|
|
[Serializable]
|
|
public struct ReplayData
|
|
{
|
|
//general
|
|
public string version;
|
|
public string date;
|
|
//stage
|
|
public int stage;
|
|
public string music;
|
|
public bool theme;
|
|
//players
|
|
public int playerOneCharacter;
|
|
public int playerOneColor;
|
|
public int playerOneAssist;
|
|
public int playerTwoCharacter;
|
|
public int playerTwoColor;
|
|
public int playerTwoAssist;
|
|
//inputs
|
|
public List<ReplayInput> playerOneInputs;
|
|
public List<ReplayInput> playerTwoInputs;
|
|
public int skipTime;
|
|
}
|