I borrowed crt.hlsl from Hammster although I've tweaked it a little.
You need a terminal profile with something like this in it:
#if UNITY_EDITOR | |
namespace Sirenix.OdinInspector.Demos.RPGEditor | |
{ | |
public class ConsumableItem : Item | |
{ | |
[SuffixLabel("seconds ", true)] | |
[BoxGroup(STATS_BOX_GROUP)] | |
public float Cooldown; | |
[HorizontalGroup(STATS_BOX_GROUP + "/Dur")] |
using Sirenix.OdinInspector; | |
using UnityEngine; | |
namespace VisualNovelFramework | |
{ | |
public class VNDialogueController : MonoBehaviour | |
{ | |
[SerializeField] | |
private TMPShakeParser shakeParser = null; | |
[SerializeField] |
# A script for single [double] click uploading to itch using butler | |
# by Nothke | |
# | |
# Requirements: | |
# - Installed butler: https://itch.io/docs/butler/ | |
# - butler added to PATH | |
# | |
# How to use: | |
# 1. Put this script in your project folder, | |
# 2. Edit the script by adding project names and ignores below |
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Reflection; | |
using System.Security.Cryptography; | |
using UnityEditor; | |
using UnityEditor.IMGUI.Controls; | |
using UnityEngine; | |
using Object = UnityEngine.Object; |
using Sirenix.OdinInspector; | |
using Sirenix.OdinInspector.Editor; | |
using Sirenix.Utilities.Editor; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEditor; | |
using UnityEngine; | |
public class ServerFileExplorer : OdinMenuEditorWindow |
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
#Import-Module PSColors | |
#Import-Module posh-git | |
Import-Module -Name Terminal-Icons |
I borrowed crt.hlsl from Hammster although I've tweaked it a little.
You need a terminal profile with something like this in it:
using System.Collections.Generic; | |
using UnityEngine; | |
using Sirenix.OdinInspector; | |
using System; | |
public class Goaper : MonoBehaviour | |
{ | |
[TitleGroup("Parameters")] | |
[OnValueChanged("OnParameterChanged")] | |
public List<Parameter> parameters = new List<Parameter>(); |
// i copied and pasted these functions from the sticker sheet | |
// As t runs from 0 to 1 (our normalized palette index or domain), | |
//the cosine oscilates c times with a phase of d. | |
//The result is scaled and biased by a and b to meet the desired constrast and brightness. | |
// http://www.iquilezles.org/www/articles/palettes/palettes.htm | |
// to see this function graphed out go to: https://www.desmos.com/calculator/rz7abjujdj | |
vec3 cosPalette( float t , vec3 brightness, vec3 contrast, vec3 osc, vec3 phase) | |
{ |
var path = Path.Combine(path, exe); | |
ProcessStartInfo startInfo = new ProcessStartInfo(path); | |
startInfo.Arguments =""; | |
startInfo.UseShellExecute = false; | |
System.Diagnostics.Process.Start(startInfo); | |
// launch hidden or minimized | |
var path = Path.Combine(path, exe); | |
ProcessStartInfo startInfo = new ProcessStartInfo(path); | |
startInfo.Arguments =""; |