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 System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
public class CustomGraphicRaycaster : GraphicRaycaster | |
{ | |
public Camera TargetCamera; |
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 System; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
using UnityEditor; | |
using UnityEngine; | |
public class BitmapFontExporter : ScriptableWizard | |
{ | |
public TextAsset fontFile; | |
public Texture2D textureFile; |
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; | |
using UnityEditor; | |
[InitializeOnLoad] | |
public class PlaymodeHook | |
{ | |
static PlaymodeHook() | |
{ | |
EditorApplication.update += Update; | |
EditorApplication.playmodeStateChanged += PlaymodeStateChanged; |
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; | |
using System.Net; | |
using System.Threading; | |
public class TestConnectionLimit : MonoBehaviour | |
{ | |
void Download(object arg) | |
{ | |
var sw = new System.Diagnostics.Stopwatch(); | |
sw.Start(); |