I hereby claim:
- I am empireworld on github.
- I am hasanbayat (https://keybase.io/hasanbayat) on keybase.
- I have a public key whose fingerprint is EBEE C46A 4B0F D8C6 4FF4 1B46 9A63 B2B3 2011 4989
To claim this, I am signing this object:
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public abstract class Singleton<T> : MonoBehaviour where T : Component | |
| { | |
| #region Fields | |
| /// <summary> |
I hereby claim:
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1CG8CxVizVgnAGCXEAAEvPKRZh1MFymjTG https://explorer.blockstack.org/address/1CG8CxVizVgnAGCXEAAEvPKRZh1MFymjTG
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| public class ColorPickerWindow : EditorWindow | |
| { | |
| protected Color color = Color.white; | |
| protected Color32 color32 = new Color32 ( 255, 255, 255, 255 ); |
A Scene Manager utility window for Unity.
Inspired by Kenney sceneWindow.cs
This gist is deprecated due to release of this utility on Asset Store, you can now get the latest version of this utility from Asset Store, but it is available here as is without any updates.
A Scene Switcher Utility Window for Unity, Switch between Scenes Effortlessly.
Inspired by Kenney sceneWindow.cs
This gist is deprecated due to release of this utility on Asset Store, you can now get the latest version of this utility from Asset Store, but it is available here as is without any updates.
| using System; | |
| using UnityEngine; | |
| [Serializable] | |
| public struct MinMax | |
| { | |
| [SerializeField] | |
| private float min; | |
| [SerializeField] |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| public class ImageLoader : MonoBehaviour | |
| { | |
| public string url = "https://i.pinimg.com/originals/9e/1d/d6/9e1dd6458c89b03c506b384f537423d9.jpg"; | |
| public RawImage rawImage; |
| using UnityEngine; | |
| using UnityEditor; | |
| public static class ExtraEditorGUILayout | |
| { | |
| public static void ReadonlyTextArea(string text, params GUILayoutOption[] options) | |
| { | |
| EditorGUILayout.SelectableLabel(text, EditorStyles.textArea, options); | |
| } |
| using System.Collections.Generic; | |
| /// <summary> | |
| /// A simple static class to get and set globally accessible variables through a key-value approach. | |
| /// </summary> | |
| /// <remarks> | |
| /// <para>Uses a key-value approach (dictionary) for storing and modifying variables.</para> | |
| /// <para>It also uses a lock to ensure consistency between the threads.</para> | |
| /// </remarks> | |
| public static class GlobalVariables |