How to Create a Custom Inspector with Odin?

  Рет қаралды 37,167

Sirenix

Sirenix

Күн бұрын

Пікірлер: 20
@sirenix7891
@sirenix7891 4 жыл бұрын
For those of you who would prefer to see this in blog form check out this link. odininspector.com/blog/custom-inspector-tutorial
@TheJonBrant
@TheJonBrant 4 жыл бұрын
THANK YOU! I bought Odin a while back for exactly this, but could never figure out how to get the ball rolling. The documentation is great, but I didn't know what I didn't know, and as such just sort of wandered through it aimlessly, never doing anything. This is great. Thank you so much
@holmbergen
@holmbergen 5 жыл бұрын
Love these tutorials. A few tips in this video I hadn't seen before, thanks! Maybe a tutorial in the future explaining BoxGroup/HorizontalGroup/VerticalGroup being used together would help a lot to understanding how they work. I've been using the RPG sample as a starting point for my own project and still not sure how the different groups work. Plus the RPG sample has been a great motivator for me for cleaning up fields and making it look nice. A separated window for creating/editing ScriptableObjects has been VERY handy compared to using the Project-view window. Thanks again!
@sirenix7891
@sirenix7891 5 жыл бұрын
Glad you're enjoying the videos and learning a few things along the way! We're working on a couple new videos that will look at scriptable objects. The second video will build an inspector and use a combination of horizontal and vertical groups to do a little organization - not a big focus but it's there. It definitely took me a bit to wrap my head around how the groups work together. I've been thinking it could be worth talking about it in a video. I'll add it to the list of ideas! Much appreciated.
@zeiksz
@zeiksz 4 жыл бұрын
Please consider using "nameof(stuffname)" what has same result, but will follow stuffrenames as well. docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/nameof like: OnValueChanged(nameof(StateChange)) instead of simple string. If you are using string and method gets renamed, your attr is broken.
@ktmochiii
@ktmochiii 2 жыл бұрын
damn. just damn. this asset is op
@christopherspettmann1722
@christopherspettmann1722 7 ай бұрын
Thank for your video. Can OdinInspector also creat nested lists or nested arrays? I am using a lot of these and also have drop down menus inside nested lists. The default inspector shows all lists, but i only want to show the list that is selected in the dropdown. The other lists should be hidden. I hope odin can do the job. Would be great if you could answer it.
@SowilTM
@SowilTM 3 жыл бұрын
Amazing! Thanks
@lemuelapperson853
@lemuelapperson853 3 жыл бұрын
I'm missing a file or something. "The type or namespace name 'EnemyData' could not be found (are you missing a using directive or an assembly reference?)" Where is Enemy Data or Enemy Control? Thanks!
@sirenix7891
@sirenix7891 3 жыл бұрын
Enemy Data is a scriptable object that was created in a different video: kzbin.info/www/bejne/p6PNamOMbMZqf8k
@broganking9830
@broganking9830 5 жыл бұрын
Thats cool I didn't know about InLineEditor one. One downside to this is it quickly turns into attribute soup after a while and code readability suffers a bit. Is it possible to do these things in another file and use partial class or something similar. Kind of negates the simplicity of it but some of my scripts are massive and with a team code readability is really important and since these are only aesthetic/UX changes to the inspector mostly I was wondering if there is other options?
@OneWheelStudio
@OneWheelStudio 5 жыл бұрын
I just now learned from the Sirenix guys there is a way to define "composite attributes." Basically you can bundle several attributes into one. So that's pretty awesome. The documentation is here:odininspector.com/documentation/sirenix.odininspector.includemyattributesattribute And it's definitely on the list for future videos!
@broganking9830
@broganking9830 5 жыл бұрын
@@OneWheelStudio "When this attribute is added is added..." xD I actually tripped over that typo lol. Thanks ill check this one out!
@burnsy96
@burnsy96 3 жыл бұрын
I work in a team where we upload to a company depot where the package manager cannot be committed. Is there an option to compile the custom inspector into an editor js file to be distributed individually?
@sirenix7891
@sirenix7891 3 жыл бұрын
There is no way to compile an inspector made with Odin such that it works without Odin. Everybody that needs to see an Odin-created inspector or window needs Odin installed and needs to have a seat license.
@focus9099
@focus9099 4 жыл бұрын
mmmm... I love it! Sub & like from me ;)
@aaaagamedev3524
@aaaagamedev3524 3 жыл бұрын
This is NOT a custom inspector. Inheriting from Editor is a custom inspector. Classic "all our viewers are noobs" mentality.
Odin Static Inspector
3:55
Sirenix
Рет қаралды 13 М.
Odin Inspector ⚡️ ТОП 1 ассет для Unity Editor
1:22:12
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 17 МЛН
When Rosé has a fake Fun Bot music box 😁
00:23
BigSchool
Рет қаралды 6 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 15 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 19 МЛН
Custom Editor Windows Made Easy with Odin Inspector!
9:11
Sirenix
Рет қаралды 39 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
Scriptable Objects: What are they? How do you use them?
10:38
How to Use Odin Inspector with Scriptable Objects?
6:15
Sirenix
Рет қаралды 35 М.
Creating a Custom Tab System in Unity
13:45
Game Dev Guide
Рет қаралды 238 М.
Making a Playable MMORPG in 8 Hours
14:59
Hakurai
Рет қаралды 700 М.
Making a custom inspector using UI Builder (Easy) | Unity Tutorial
15:23
Sasquatch B Studios
Рет қаралды 15 М.
How I use Odin in my own project!
7:13
Sirenix
Рет қаралды 10 М.
EA Won’t Sell This Game - So I Hacked It
18:31
Nathan Baggs
Рет қаралды 299 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 17 МЛН