Initial Commit
This commit is contained in:
13
Better-Unity/Editor/CopyGUID.cs
Normal file
13
Better-Unity/Editor/CopyGUID.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
public class CopyGUID : MonoBehaviour
|
||||
{
|
||||
[MenuItem("Assets/Copy GUID")]
|
||||
private static void CopyGUIDMethod()
|
||||
{
|
||||
if (Selection.assetGUIDs.Length > 0)
|
||||
EditorGUIUtility.systemCopyBuffer = Selection.assetGUIDs[0];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user