Github's API can be a bit wordy to work with just in bash, so I'm using github-release to simplify what we're doing.
On OSX you can install it via Homebrew:
brew install github-releases
using DG.Tweening; | |
using DG.Tweening.Core; | |
using DG.Tweening.Plugins.Options; | |
using UnityEngine; | |
public class CameraPan : MonoBehaviour | |
{ | |
[SerializeField] private new Camera camera; | |
[SerializeField] private Ease easeType = Ease.OutExpo; | |
[SerializeField] private float inertiaDuration = .33f; |
using System; | |
using DG.Tweening; | |
using DG.Tweening.Core; | |
using DG.Tweening.Plugins.Options; | |
using UnityEngine; | |
public class CameraZoom : MonoBehaviour | |
{ | |
[SerializeField] private new Camera camera; | |
[SerializeField] private Ease easeType = Ease.InOutExpo; |
public static class CustomDomainReloadTiming | |
{ | |
private const string MenuPath = "Tools/Manage Domain Reload"; | |
private const int PlaysAllowedWithoutDomainReload = 1; | |
private static int _playCountWithoutDomainReload = 0; | |
[MenuItem(MenuPath, true)] | |
static bool ValidateLogSelectedTransformName() | |
{ | |
Menu.SetChecked(MenuPath, IsEnabled); |
using System; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
namespace SeanHelpsWithThese.Scripts | |
{ | |
public class SceneSkipper : MonoBehaviour | |
{ | |
[Serializable] | |
public class SceneKey |
public class CompherensiveSlider : MonoBehaviour | |
{ | |
//Since we're using UnityEvent<T0> we need to implement the float type | |
[Serializable] | |
public class FloatEvent : UnityEvent<float> { } | |
public FloatEvent ValueChanged; | |
[SerializeField] //Display private variable in Inspector | |
private InputField _inputField; |
using System; | |
namespace Probability | |
{ | |
internal class Program | |
{ | |
private struct RollAttempt | |
{ | |
public int Result; | |
public int[] Rolls; |
color[] indexedColors = { | |
color(180,205,60), | |
color(223,175,74), | |
color(240,82,42), | |
color(241,235,216), | |
color(0,140,114), | |
color(0,105,168), | |
color(125,123,125), | |
color(163,157,171), | |
color(230,200,187), |
Github's API can be a bit wordy to work with just in bash, so I'm using github-release to simplify what we're doing.
On OSX you can install it via Homebrew:
brew install github-releases
using System; | |
using UnityEngine; | |
using UnityEngine.Assertions; | |
using UnityEngine.Events; | |
using UnityEngine.UI; | |
public class TextForm : MonoBehaviour | |
{ | |
//Since we're using UnityEvent<T0> we need to implement the string type | |
public class TextEvent : UnityEvent<string> { } |
{ | |
// If you want exceptions reraised so you can see them in the console, change this to true. | |
"reraise_exceptions": false, | |
// If you want to have a syntax applied when new files are created, set new_file_syntax to the name of the syntax to use. | |
// The format is exactly the same as "name" in the rules below. For example, if you want to have a new file use | |
// JavaScript syntax, set new_file_syntax to 'JavaScript'. | |
"new_file_syntax": false, | |
// Put your custom syntax rules here: |