Unity・3DCG技術ブログ

TAもどきによるUnity・3DCGに関する記事をアップします。

2020-07-25から1日間の記事一覧

【Unity】EditorWindowにWarningを表示するサンプル

概要 コード using UnityEditor; using UnityEngine; using UnityEngine.UIElements; public class ExampleWindow : EditorWindow { [MenuItem("Window/ExampleWindow")] static void Init() { GetWindow<ExampleWindow>(); } void OnEnable() { var button1 = new Button((</examplewindow>…