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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.IO; | |
//this script creates the folder structure and critical files to define a unity UPM package | |
//it also includes basic script templates for testing and editor tools | |
//just throw this into Assets/Editor folder and select Tools/Package Creator Window | |
//for a more fully featured package creation script, try https://github.com/jeffcampbellmakesgames/unity-package-tools |
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
bl_info = { | |
"name": "Unity FBX format", | |
"author": "Angel ""Edy"" Garcia (@VehiclePhysics)", | |
"version": (1, 2, 3), | |
"blender": (2, 80, 0), | |
"location": "File > Export > Unity FBX", | |
"description": "FBX exporter compatible with Unity's coordinate and scaling system.", | |
"warning": "", | |
"wiki_url": "", | |
"category": "Import-Export", |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Reflection; | |
using UnityEditor.SceneManagement; | |
[InitializeOnLoad] | |
public class UnityAssistant | |
{ |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
//TODO clamp pitch rotation | |
//TODO y axis rotation is offset forward slightly, not at scene camera position | |
//TODO sometimes doesn't register mouse up/down events. should poll every frame? for mouse button state | |
public class UnrealCameraMovement : EditorWindow |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.IO; | |
//TODO asset tags | |
//TODO asset dependencies (auto import) | |
//TEST manifest.json gets generated correctly |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
public class Nexus5BuildSettings | |
{ | |
const string CompanyName = "CompanyName"; |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
[CustomEditor(typeof(CubicBezierPath))] | |
public class CubicBezierEditor : Editor | |
{ | |
void OnSceneGUI() | |
{ |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
//shift x,y,z to move along axis | |
//TODO apply movement to each selected object | |
//BUG scene view needs to be focused to detect mouse movements | |
public class MouseMoveWindow : EditorWindow |
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; | |
public class GizmoRaycastToGround : MonoBehaviour { | |
void OnDrawGizmos() | |
{ | |
RaycastHit hit = new RaycastHit(); | |
if (Physics.Raycast(transform.position,Vector3.down,out hit)) | |
{ | |
Gizmos.DrawWireCube(hit.point, new Vector3(0.1f, 0, 0.1f)); |
NewerOlder