2017-07-10から1日間の記事一覧
using UnityEngine; using UnityEditor; public class Test : MonoBehaviour { [MenuItem("Assets/Add Label")] static void AddLabel() { Object[] selectedAsset = Selection.GetFiltered (typeof(Object), SelectionMode.Assets); foreach (var go in sel…
using UnityEngine; using UnityEditor; public class Test : MonoBehaviour { [MenuItem("Assets/Show Selection Objects")] static void ShowSelectionObjects() { Object[] selectedAsset = Selection.GetFiltered (typeof(Object), SelectionMode.Assets…