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
| PlayerUI.RemoveWidget(BufferCanvasA) | |
| PlayerUI.AddWidget(CanvasA, player_ui_slot{InputMode := ui_input_mode.None }) | |
| CanvasA.SetEnabled(false) | |
| Sleep(0.25) | |
| CanvasB.SetEnabled(true) | |
| BufferCanvasB := canvas{} | |
| BufferCanvasB.AddWidget(canvas_slot: | |
| Anchors := anchors{Minimum := vector2{X := 0.0, Y := 0.0}, Maximum := vector2{X := 1.0, Y := 1.0}} | |
| Offsets := margin{Top := 0.0, Left := 0.0, Right := 0.0, Bottom := 0.0} | |
| Alignment := vector2{X := 0.5, Y := 0.5} |
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
| Easing<public> := module : | |
| InSine<public>(t:float)<transacts>:float= | |
| return 1.0 - Cos(t * PiFloat / 2.0) | |
| OutSine<public>(t:float)<transacts>:float= | |
| return Sin(t * PiFloat / 2.0) | |
| InOutSine<public>(t:float)<transacts>:float= | |
| return (Cos(t * PiFloat) - 1.0) / -2.0 | |
| InQuad<public>(t:float)<transacts>:float= |
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.Collections; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| namespace Utils | |
| { | |
| public class ClearFxPrefab | |
| { | |
| #region Methods |
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
| #if UNITY_EDITOR | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using FluffyUnderware.Curvy; | |
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| using UnityEditor; | |
| using UnityEditor.SceneManagement; |
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
| [UnityEditor.InitializeOnLoad] | |
| public class ProgressBarHelper | |
| { | |
| #region Methods | |
| protected static List<Action> actions = new List<Action>(); | |
| static ProgressBarHelper() | |
| { | |
| UnityEditor.EditorApplication.update += Update; |
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.Text.RegularExpressions; | |
| using UnityEditor; | |
| using UnityEngine; | |
| [InitializeOnLoad] | |
| public class CleanDuplicateName | |
| { | |
| static bool eventDuplicateAppend; | |
| static CleanDuplicateName() |
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; | |
| using UnityEditor; | |
| using System.Text.RegularExpressions; | |
| using System.IO; | |
| public class ReimportAsset : MonoBehaviour | |
| { | |
| #region MenuItem Methods | |
| [MenuItem("Assets/Reimport from ~ &R", false, priority = 40)] |
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.Collections.Generic; | |
| using UnityEngine; | |
| namespace SmartUnity.Debugs | |
| { | |
| public class DebugPanel | |
| { | |
| #region Variables | |
| private static DebugPanel debugPanel; |
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
| List of C# Script Templates for Unity 3D: | |
| 81-C#__Behavior-NewBehaviour.cs.txt | |
| 81-C#__BehaviorListed-NewBehaviourListed.cs.txt | |
| 81-C#__Class-NewClass.cs.txt | |
| 81-C#__Interface-NewInterface.cs.txt | |
| 81-C#__ScriptableObject-NewScriptableObject.cs.txt |
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
| Shader "Mobile/Decal Shadow" { | |
| Properties{ | |
| _MainTex("Base (RGB)", 2D) = "white" {} | |
| _alpha("AlphaMulti", Range(0,1)) = 1 | |
| } | |
| SubShader{ | |
| Tags { "RenderType" = "Opaque" "Queue" = "Geometry+1" "ForceNoShadowCasting" = "True" } | |
| LOD 200 | |
| Offset -1, -1 |
NewerOlder