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; | |
/// <summary> | |
/// Adds reset buttons to transforms to quickly reset position, rotation and scale to default values | |
/// Features: | |
/// - Copy and paste values in another transform by clicking on a label (E.G. Position) and using CTR+C CTRL+V | |
/// </summary> | |
[CustomEditor( typeof( Transform ) )] | |
public class Inspector_Transform : Editor |