This script allows you to fix the broken ubuntu packages.
Most of the time the broken packages will be fixed by removing them.
Getting Started | Documentation | License |
---|
This script allows you to fix the broken ubuntu packages.
Most of the time the broken packages will be fixed by removing them.
Getting Started | Documentation | License |
---|
//Reminder if you want a global singleton gameobject in Unity | |
// create it via with | |
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] | |
public static void MyFirstMethodToRun() | |
{ | |
// | |
} | |
// https://twitter.com/Naxum/status/867837810610458625 |
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
using UnityEngine; | |
public class SceneProjectView : EditorWindow { | |
private GUIStyle alternateColor; | |
private Texture2D tex; | |
[MenuItem("Window/Scene Project View")] | |
public static void Init() |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class DrawLine : MonoBehaviour | |
{ | |
[SerializeField] | |
protected LineRenderer m_LineRenderer; | |
[SerializeField] |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public abstract class Singleton<T> : MonoBehaviour where T : Component | |
{ | |
#region Fields | |
/// <summary> |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using UnityEditor; | |
using UnityEngine; | |
public static class EditorDispatcher | |
{ | |
private static readonly Queue<Action> dispatchQueue = new Queue<Action>(); |
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 ); |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
using System.Collections.Generic; | |
using System.IO; | |
// Scene selection |