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 UnityEngine; | |
public class Curves | |
{ | |
public delegate float EasingFunction(float time, float min, float max, float duration); | |
[Serializable] | |
public enum Function | |
{ |
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 UnityEngine; | |
using UnityEngine.UI; | |
[RequireComponent(typeof(Graphic))] | |
public class CircleGradient : BaseMeshEffect | |
{ | |
public override void ModifyMesh(VertexHelper vh) | |
{ | |
vh.Clear(); |
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.Diagnostics; | |
using System.IO; | |
using UnityEditor; | |
using UnityEngine; | |
using Debug = UnityEngine.Debug; | |
public class ProtoImporter : AssetPostprocessor | |
{ | |
public static bool Enabled | |
{ |
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 UnityEditor; | |
using UnityEngine; | |
public static class PreferencesExample | |
{ | |
[MenuItem("Window/Preferences/General")] | |
private static void OpenGeneral() | |
{ | |
PreferencesTools.ShowSection("General"); | |
} |
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.Threading.Tasks; | |
using UnityEngine; | |
public class LowPolyClouds : MonoBehaviour | |
{ | |
private struct Cloud | |
{ | |
public float Scale; | |
public int X; | |
public int Y; |