Simon Lübeß
1254d01545
Handle exceptions from C# Scripts + Log window + EditorLogger
...
+ Renamed Platform/DX11/ImGui.bf to .../Dx11ImGui.bf for clarity
+ ImGuiExtension: ImageButtonEx thata takes a TextureViewBinding
+ EditorLogger that logs to the LogWindow
+ Current logger can now be changed
+ Info, Trace, Warning and Error Icons
2023-07-27 21:58:42 +02:00
Simon Lübeß
81a61d5a90
Drag'n'drop for components
...
+ Added CreateInstance to ScriptClass
+ Added CreateComponentInstance to ScriptInstance
2023-07-25 16:37:41 +02:00
Simon Lübeß
37197cbdf1
Allow dragging and dropping of Entities in editor
...
+ New Dictionary Helpers
+ Made ImGui Payloads safer
+ Start of Component drag'n'drop
2023-07-24 23:17:00 +02:00
Simon Lübeß
457b43352a
Debugging, but it doesn't work for some reason
2023-07-21 16:16:24 +02:00
Simon Lübeß
5f27b8001a
Automatic script assembly reloading
2023-07-20 22:11:11 +02:00
Simon Lübeß
0cbb8a4966
Fixed C# -> Beef Type mapping
2023-07-20 17:53:32 +02:00
Simon Lübeß
cd1562f372
Basic Script reloading
...
+ ScriptComponent now saves script name instead of direct ScriptClass reference
+ Added ClearDictionaryAndDeleteKeys helper
+ Moved ScriptFieldType to separate file
+ _ScriptFieldMap now uses String as Key
2023-07-18 22:06:34 +02:00
Simon Lübeß
e8505f6bdb
Scripting: FindEntityWithName and get script instance
...
+ Some C# UUID stuff
+ Added some Mono functions
+ ScriptEngine:
+ ID -> ScriptInstance map in ScriptEngine
+ GetManagedInstance
+ Fixed Scene not visible after loading a new scene
+ Renamed OnViewportResize to SetViewportSize for Scene and SceneRenderer
2023-07-17 20:27:18 +02:00
Simon Lübeß
66d66d3308
Serialize script fields in "array" + more forgiving deserialization
2023-07-17 04:04:01 +02:00
Simon Lübeß
1641bafd06
Don't instantiate scripts for Editor + ScriptComponent Serialzation + Don't crash when scene loading failed
2023-07-17 01:27:58 +02:00
Simon Lübeß
77c45db122
Replaced IntX by intX, Basic AssetViewer (can view Textures, kind of)
2023-07-01 00:15:01 +02:00
Simon Lübeß
9e1f648aa0
Transitioned from VectorX to floatX
...
And some trying to update Rigidbody when transform changes
2023-06-25 02:47:33 +02:00
Simon Lübeß
f4607a6210
Script default values after init, Fix memory leak, Copy Script values on Play
2023-05-31 14:38:07 +02:00
Simon Lübeß
6a59deb9e2
Weiß ich nicht, ist Monate her...
2023-05-30 16:54:57 +02:00
Simon Lübeß
5855b13873
Wer weiß, was ich alles so gemacht hatte...
...
- Fixed crash caused by early ScriptEngine shutdown
2023-05-30 16:50:22 +02:00
Simon Lübeß
ef5e4ba64f
Fixed ScriptClass leaking
2023-03-30 15:13:21 +02:00
Simon Lübeß
4fd9a924a0
Added basic component access in Scripts
2023-03-29 16:32:46 +02:00
Simon Lübeß
e60d74fccd
Basic entity scripting
2023-03-29 13:33:34 +02:00
Simon Lübeß
5e5134a607
Added Mono for C# scripting
2023-03-26 13:11:44 +02:00