Webb22 maj 2024 · The answer to your problem would be to make Odin draw your scriptable object type - you can do this in Window -> Odin Inspector -> Preferences -> Editor Types. … Webb30 juli 2016 · using UnityEngine; using UnityEditor; [CustomEditor(typeof(AnyClassName))] public class AnyClassNameInspector : Editor { AnyClassName anyClassName = null; void OnEnable() { // AnyClassNameコンポーネントを取得 anyClassName = target as anyClassName; } public override void OnInspectorGUI() { base.OnInspectorGUI(); …
[Unity] UI Toolkit 实现一个预制体和so数据的管理窗口 DataEdtor …
Webb8 maj 2024 · 4つ目のデータを保持する方法 保存するデータの種類に合わせ、使い分ける EditorPrefs Unityのバージョンやプロジェクト関係なく グローバルで保持される … Webb23 feb. 2024 · Hey can you give me any example how can i use it because i used it but in inspector the "load file" and "save file" button not showing please help i want to serialize … teams 外部 招待
Unity
Webb10 apr. 2024 · 527. There are a few reasons you are not able to save your data. Unity's serializer has a number of rules that it follows. You can find more details in this link to the manual about the serializer. The most notable things to consider are: 1) The data must be public or have the [SerializeField] attribute applied to it. Webb20 sep. 2024 · 35. Remove the GetTarget SerializedObject. This is causing the problem, because you're getting ThisList from GetTarget, but then never using GetTarget again. You don't need GetTarget. Instead, OnEnable should look like this: Code (CSharp): private void OnEnable () {. shipParts = ( ShipParts) target; WebbTo creates a custom inspector through IMGUI, you have to override the Editor.OnInspectorGUI on the Schriftleiter class. If you use UIElements and having … brizo global