neon-age / compact-unity-events Goto Github PK
View Code? Open in Web Editor NEWUnityEvents drawer with collapsing, reordering and compact UX
License: MIT License
UnityEvents drawer with collapsing, reordering and compact UX
License: MIT License
This is a screenshot from a modified prefab instance. The event has been modified, then the modifications have been removed
However, as expected, the prefab override persist. It should be removable by doing right-click => reset, but no right click options appear
The blue marker for a prefab property override is hidden by the event box, with only one blue pixel visible
In the override list, the same issue persists:
This can be fixed in DrawListHeader
// Header
{
// ReSharper disable once CoVariantArrayConversion
string eventParams = (string)GetEventParams.Invoke(null, new[] { m_DummyEvent });
string hex = EditorGUIUtility.isProSkin ? "#ffffff70" : "#00000070";
guiContent.text = (string.IsNullOrEmpty(m_Text) ? "Event" : m_Text) + $"<color={hex}>{eventParams}</color>";
EditorGUI.BeginProperty(foldoutRect, guiContent, property);
property.isExpanded = EditorGUI.BeginFoldoutHeaderGroup(foldoutRect, property.isExpanded, guiContent, foldoutHeader);
EditorGUI.EndFoldoutHeaderGroup();
EditorGUI.EndProperty();
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.