Added UI Element and other QoL fixes for scripting #329

Merged
Pycorax merged 7 commits from SP3-6-c-scripting into main 2023-02-02 10:57:20 +08:00
Pycorax commented 2023-02-01 23:57:17 +08:00 (Migrated from github.com)
  • Added UIElement C# component that represents SHUIComponent with support for OnClick events
  • Added overload of RemoveScript() which allows removal of any specified script from a GameObject or Script
  • Fixed bug where onDestroy() is not called for scripts that are destroyed when leaving play mode in the editor
  • Fixed Renderable and TextRenderable referencing ValueType for assets instead of their appropriate asset structs (MeshAsset, etc.)
- Added `UIElement` C# component that represents `SHUIComponent` with support for `OnClick` events - Added overload of `RemoveScript()` which allows removal of any specified script from a `GameObject` or Script - Fixed bug where `onDestroy()` is not called for scripts that are destroyed when leaving play mode in the editor - Fixed `Renderable` and `TextRenderable` referencing `ValueType` for assets instead of their appropriate asset structs (`MeshAsset`, etc.)
XiaoQiDigipen (Migrated from github.com) reviewed 2023-02-01 23:57:17 +08:00
Sign in to join this conversation.
No description provided.