NaughtyAttributes
MessageKit
Our great sponsors
NaughtyAttributes | MessageKit | |
---|---|---|
36 | 4 | |
4,264 | 124 | |
- | - | |
0.0 | 0.0 | |
5 months ago | over 5 years ago | |
C# | C# | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NaughtyAttributes
-
How do you implement static string, I use it like this but im not sure if it's a good way
NaughtyAttributes is a free plugin that allows you to do so. By using attributes you can make your fields a lot easier to manage. For example [Tag] is an attribute that allows your string to be directly linked to the corresponding tag.
-
How do you handle the constant null checking?
In Unity, you could use NaughtyAttributes and then use the [Required] attribute to indicate that a value is mandatory.
-
I love collecting free/MIT utility code for Unity to add to my projects. Let's share some!
NaughtyAttributes https://github.com/dbrizov/NaughtyAttributes is amazing for quickly and easily customizing script inspectors without having to resort to a full custom inspector GUI
-
how can I make this button?
Naughty Attributes is your friend
-
It's staggering how online resources don't even come close to teaching you what you learn from a production environment
It's a professional team of ~15. Being able to customize the display of data within the Inspector makes it much easier for less technical team members to tune and create.
-
What are your favorite productivity tools? Especially lesser-known or free ones?
I personally love Naughty Attributes: https://github.com/dbrizov/NaughtyAttributes which makes it easy to add inspector buttons to functions.
-
Call a Method via Button in the Inspector
I went and looked for the open source version I mentioned - https://github.com/dbrizov/NaughtyAttributes
-
Share the tools you use for game design, coding and narrative
For Unity, I strongly recommend something like NaughtyAttributes to help expose your data in the Inspector with better widgets and validation. (There are paid alternatives too. Odin might accomplish a lot of the same?)
- Is there custom editors or editor tools you can't do without?
-
Is it possible to toggle a field serialization on bool value? (true=serialize, false= deserialize)
There's also free alternatives like naughty attributes which has a HideIf attribute too
MessageKit
-
Performance Concern with Events for hit/attack recognition
do not use SendMessage(), it is very slow, stay event based, if you wish to go message based, at least consider something like prime31's https://github.com/prime31/MessageKit, much faster and is in your 'managed' code.
-
Invoking on the same frame?
eitherway I would recommend prime31's messageKit (https://github.com/prime31/MessageKit) over unity's SendMessage(). avoids any reflection fun-times and is better at avoiding crossing the native > managed code barrier at runtime.
-
Should I use Dependency Injection for everything?
Messaging Systems (https://github.com/prime31/MessageKit) (be careful not to get into a spaghetti mess)
-
The year is 2021. You are starting a new game project. What assets/plugins do you import?
Absolutely every project. I genuinely cannot do Unity without it: https://github.com/prime31/MessageKit - decoupled messaging
What are some alternatives?
UnitySerializedDictionary - Serialized and drawed in editor Dictionary
realtime-CSG-for-unity - Realtime-CSG, CSG level editor for Unity
dear-imgui-unity - Unity package for Dear ImGui
TransitionKit - Modular, extensible transitions in scene and between scenes
Unity-SerializeReferenceExtensions - Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.
Chisel.Prototype - Work in progress prototype for the Chisel Level Editor, for Unity
Markup-Attributes - A Unity Editor extension for customizing inspector layout with attributes.
GoKit - Lightweight tween library for Unity
Unity-Editor-Toolbox - Tools, custom attributes, drawers, hierarchy overlay, and other extensions for the Unity Editor.
Unity-SerializableDictionary - Serializable dictionary class for Unity
Serially - Adds a unity-supported, SerializableType class and an inspector for editing SerializeReference fields.
Bewildered-Core - Common use data types, and utilities for Unity that are high-quality and feel like a native part of Unity