This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.CompilerServices; | |
using UnityEngine; | |
// Marker Types | |
public class WorldFrame { } | |
public class GasFrame { } | |
public class ShipFrame { } | |
[Serializable] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Events; | |
public class ShipCoordinator : MonoBehaviour | |
{ | |
private Dictionary<System, NowOrEvent> State = new Dictionary<System, NowOrEvent>(); | |
[Flags] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using Sirenix.OdinInspector; | |
using Sirenix.OdinInspector.Editor; | |
using UnityEditor; | |
using UnityEngine; | |
public class StateMachineDebugWindow : OdinEditorWindow | |
{ | |
[MenuItem("Tools/State Machine Debug Window")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System; | |
using UnityEngine; | |
public class SubscriptionTracker | |
{ | |
public string Name => _owner.name; | |
private readonly MonoBehaviour _owner; | |
private readonly Dictionary<(object source, Delegate handler), Action> _subscriptions = new(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Assets.Scripts.AI; | |
using MoreLinq; | |
using UnityEngine; | |
namespace Assets.AI | |
{ | |
public class ContextMap | |
{ | |
public Vector2 Position; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Assets; | |
using Assets.Scripts; | |
using System.Collections; | |
using UnityEngine; | |
using Random = UnityEngine.Random; | |
public class PlayerController : EntController | |
{ | |
public static PlayerController Instance { get; private set; } | |
[SerializeField] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
namespace Assets.Resources | |
{ | |
[CreateAssetMenu(fileName = "Card", menuName = "ScriptableObjects/New Card", order = 1)] | |
public class Card : ScriptableObject | |
{ | |
public GameObject AttackPrefab; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Assets; | |
using Assets.Scripts; | |
using System.Collections; | |
using UnityEngine; | |
using Random = UnityEngine.Random; | |
public class PlayerController : EntController | |
{ | |
public static PlayerController Instance { get; private set; } | |
[SerializeField] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Animancer; | |
using Assets; | |
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public struct InputState | |
{ | |
public Vector2 MovementDirection; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Animancer; | |
using Assets; | |
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public struct InputState | |
{ | |
public Vector2 MovementDirection; |
NewerOlder