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; | |
| using UnityEngine.UIElements; | |
| using UnityEngine.EventSystems; | |
| using UnityEngine.Rendering; | |
| namespace Katas.Experimental | |
| { | |
| public class WorldSpaceUIDocument : MonoBehaviour, IPointerMoveHandler, IPointerUpHandler, IPointerDownHandler, | |
| ISubmitHandler, ICancelHandler, IMoveHandler, IScrollHandler, ISelectHandler, IDeselectHandler, IDragHandler |
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.Reflection; | |
| using UnityEditor; | |
| using UnityEngine; | |
| public static class Docker | |
| { | |
| #region Reflection Types |
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 UnityEngine.UI; | |
| using UnityEngine.EventSystems; | |
| public class TurntableLayoutGroup : UIBehaviour, ILayoutGroup, IDragHandler { | |
| [SerializeField] float distance = 100; | |
| [SerializeField] float offset = 0; | |
| [SerializeField] float speed; |
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; | |
| using UnityEditor; | |
| [InitializeOnLoad] | |
| public class ExecutionOrderManager : Editor | |
| { | |
| static ExecutionOrderManager() | |
| { | |
| foreach (MonoScript monoScript in MonoImporter.GetAllRuntimeMonoScripts()) | |
| { |
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
| // The MIT License (MIT) - https://gist.github.com/bcatcho/1926794b7fd6491159e7 | |
| // Copyright (c) 2015 Brandon Catcho | |
| using UnityEngine; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| #if UNITY_EDITOR | |
| using System; | |
| using UnityEditor; | |
| using UnityEditor.Sprites; |
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 System.Collections; | |
| using UnityEditor; | |
| using System.IO; | |
| /// <summary> | |
| // ScriptableObjectをプレハブとして出力する汎用スクリプト | |
| /// </summary> | |
| // <remarks> | |
| // 指定したScriptableObjectをプレハブに変換する。 |