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 BehaviorDesigner.Runtime; | |
| using BehaviorDesigner.Runtime.Tasks; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using UnityEngine; | |
| public class MobController : EntController | |
| { | |
| [SerializeField] | |
| public float MovementSpeed; |
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 Drawing; | |
| using FX; | |
| using Sirenix.OdinInspector; | |
| using Unity.Collections; | |
| using Unity.Mathematics; | |
| using UnityEngine; | |
| using UnityEngine.Experimental.Rendering; | |
| using UnityEngine.Rendering; | |
| using UnityEngine.Rendering.RenderGraphModule; | |
| using UnityEngine.Rendering.Universal; |
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
| Shader "Custom/SpriteColor" | |
| { | |
| Properties | |
| { | |
| [PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
| [HideInInspector] _Color ("Tint", Color) = (1,1,1,1) | |
| [MaterialToggle] PixelSnap ("Pixel snap", Float) = 0 | |
| [HideInInspector] _RendererColor ("RendererColor", Color) = (1,1,1,1) | |
| [HideInInspector] _Flip ("Flip", Vector) = (1,1,1,1) | |
| [PerRendererData] _AlphaTex ("External Alpha", 2D) = "white" {} |
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; | |
| using System.Collections.Generic; | |
| 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] |
NewerOlder