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.IO; | |
| public static class CustomInspectorCreator | |
| { | |
| [MenuItem("Assets/Create/Custom Inspector", priority = 81)] | |
| static void CreateInsptorEditorClass() | |
| { | |
| foreach (var script in Selection.objects) |
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; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| using UnityEditorInternal; | |
| #endif |
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 System.Collections.Generic; | |
| using UnityEditor; | |
| public static class PivotUtilities | |
| { | |
| [MenuItem("GameObject/Pivot/Create Pivot", false, 0)] | |
| static void CreatePivotObject() | |
| { |
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 | |
| //#define DEBUG | |
| //#endif | |
| using UnityEngine; | |
| using System.Collections; | |
| using System; | |
| using System.IO; | |
| using System.Text.RegularExpressions; | |
| using UnityEngineInternal; |
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 System; | |
| using System.Collections.Generic; | |
| public class AssetGPULoader : MonoBehaviour { | |
| public Camera activeCamera; | |
| RenderTexture _rt; | |