This file contains 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
Shader "Custom/EngineFlare" | |
{ | |
Properties | |
{ | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_Color1 ("Color 1", Color) = (1,1,1,1) | |
_Color2 ("Color 2", Color) = (1,1,1,1) | |
_Color3 ("Color 3", Color) = (1,1,1,1) | |
_Intensity ("Intensity", Range(0.0, 2.0)) = 1.0 | |
This file contains 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
class whatever : Monobehaviour | |
{ | |
float lerpTimer = 0f; | |
void Update() | |
{ | |
if ( /* The lerp is happening */) | |
{ | |
lerpTimer += Time.deltatime; | |
alpha = Mathf.lerp(start, end, lerpTimer/duration); |
This file contains 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; | |
namespace FBD | |
{ | |
public static class Extensions | |
{ | |
public static Transform FindInHierarchy(this Transform t, string name) | |
{ | |
for (int c = 0; c < t.childCount; c++) | |
{ |
This file contains 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
{"tickrate":"100","fillColor":"#306230","fillColor2":"#8BAC0F","blendColor":"#9BBC0F","backgroundColor":"#0F380F","buzzColor":"#333333","quietColor":"#000000","shiftQuirks":false,"loadStoreQuirks":false,"vfOrderQuirks":false,"enableXO":true} |
This file contains 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
prog.sublime-project | |
prog.sublime-workspace |