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; | |
using System.Collections.Generic; | |
using KinematicCharacterController; | |
using Unity.Netcode; | |
using UnityEngine; | |
[RequireComponent(typeof(PhysicsMover))] | |
public abstract class PhysicsMoverNetworkTransform : NetworkBehaviour, IMoverController { |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using KinematicCharacterController; | |
using NaughtyAttributes; | |
public abstract class WeaponSway : MonoBehaviour | |
{ | |
[SerializeField] Transform TargetTransform; |
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 Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using Unity.Netcode; | |
[System.Serializable] | |
public struct RuntimeState : INetworkSerializable { | |
JObject jObject; | |
string JSON; |
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 Kellojo.Utility; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class WaveFunctionCollapse<T> where T : IWfcTile<T> { | |
public WfcCell<T>[,] Cells; | |
public int Entropy { |
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; | |
public class Gradient { | |
/// <summary> | |
/// Evaluated a radial gradient at the given x,y position | |
/// </summary> | |
/// <param name="x"></param> | |
/// <param name="y"></param> | |
/// <param name="sizeX"></param> |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class MaterialChanger { | |
private GameObject gameObject; | |
private Dictionary<MeshRenderer, Material> defaultMaterials = new Dictionary<MeshRenderer, Material>(); | |
public MaterialChanger(GameObject gameObject) { | |
this.gameObject = gameObject; |