This file contains 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
namespace Editor.Networking | |
{ | |
using System.Collections.Generic; | |
using Core.Helper; | |
using global::Networking; | |
using Unity.Netcode; | |
using UnityEditor; | |
using UnityEngine; | |
[CustomEditor(typeof(CollectAllNetworkPrefabs))] |
This file contains 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
namespace Core.DataStructure | |
{ | |
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Extension; | |
using UnityEngine; | |
public sealed class QuadTree<T> |
This file contains 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
namespace Pathfinding | |
{ | |
using UnityEngine; | |
public sealed class PathNode | |
{ | |
public readonly Vector3Int position; | |
public int gCost = int.MaxValue; | |
public int hCost = 0; |
This file contains 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
namespace Core.DataStructure | |
{ | |
using System; | |
using Helper; | |
using Random; | |
using UnityEngine; | |
public sealed class TimedCache<T> | |
{ | |
public T Value |
This file contains 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
namespace Core.Attributes | |
{ | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
[AttributeUsage(AttributeTargets.Field)] | |
public sealed class ValidateAssignmentAttribute : Attribute |
This file contains 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 Assets.Scripts.Core.Extension; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using UnityEngine; | |
namespace Assets.Scripts.Core.Serialization.JsonConverters | |
{ | |
public sealed class Vector3Converter : JsonConverter | |
{ |
This file contains 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 Assets.Scripts.Core.Extension; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using UnityEngine; | |
namespace Assets.Scripts.Core.Serialization.JsonConverters | |
{ | |
public sealed class Vector2Converter : JsonConverter | |
{ |
This file contains 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.Core.Extension; | |
using Assets.Scripts.Core.Serialization.JsonConverters; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Converters; | |
using System.IO; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Text; | |
namespace Assets.Scripts.Core.Serialization | |
{ |
This file contains 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.Core.Extension; | |
using Assets.Scripts.Core.Serialization.JsonConverters; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Converters; | |
using System.IO; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Text; | |
namespace Assets.Scripts.Core.Serialization | |
{ |
This file contains 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 Assets.Scripts.Core.Serialization; | |
namespace Assets.Scripts.Core.Extension | |
{ | |
public static class StringExtensions | |
{ | |
public static string Center(this string input, int length) | |
{ | |
if (input == null || length <= input.Length) |
NewerOlder