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 System.IO; | |
using System.Linq; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Serialization; | |
using UnityEngine; | |
public class JsonSerialisableScriptableObject<T> : ScriptableObject where T : JsonSerialisableScriptableObject<T> | |
{ |
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; | |
public class PeriodicTrigger | |
{ | |
public event Action TriggerEvent; | |
private float _period; | |
private float _remaining; | |
public PeriodicTrigger( float period ) |
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 ClampedCurveAttribute : PropertyAttribute | |
{ | |
public readonly float MinX; | |
public readonly float MaxX; | |
public readonly float MinY; | |
public readonly float MaxY; | |
public ClampedCurveAttribute( float minX, float maxX, float minY, float maxY ) |
OlderNewer