Commit Graph

177 Commits

Author SHA1 Message Date
mafiesto4 00be6ffb89 Merge branch 'master' into 1.5 2022-10-29 20:45:51 +02:00
mafiesto4 6379171fa6 Fix crash due to bdb69d57dd (Mono typenames are invalid after dll unloaded) 2022-10-29 18:56:21 +02:00
mafiesto4 4ba93d9d86 Code cleanup #765 2022-10-29 12:04:42 +02:00
mafiesto4 0dec70847f Add support for StringAnsi in scripting api 2022-10-26 15:00:39 +02:00
mafiesto4 7621252f46 Add automatic replication for C# types with fields marked with NetworkReplicated attribute 2022-10-19 09:26:40 +02:00
mafiesto4 76b14af7ec Add various improvements 2022-10-18 15:03:56 +02:00
mafiesto4 c12ea8428e Add FlaxEngine.Object.FromUnmanagedPtr for native object raw pointer conversion to managed object 2022-10-13 13:35:59 +02:00
mafiesto4 5c24f8c365 Add ScriptingTypeHandle support for scripting bindings as System.Type 2022-10-13 13:35:15 +02:00
mafiesto4 77f8df02e5 Add ModuleInitializer attribute for C# scripting initialization code running on load 2022-10-12 17:00:40 +02:00
Preben Eriksen 2efc97b64f Added: ScriptingObject* TryFindObject(MClass* mclass), Allow you from c++ to use MAssembly GetBinaryModuleGame, and get a monoobject from a class, monoobject is needed later to Invoke a method from the class. 2022-10-11 10:45:28 +02:00
mafiesto4 e6996ff22f Fix missing virtual C++ function override in C# if the thunk points to vtable index at offset=0 2022-09-14 22:14:25 +02:00
mafiesto4 439f74c540 Fix comparison operators on object reference types 2022-09-12 14:48:48 +02:00
mafiesto4 4fa9b4a741 Fix comparison operators on object reference types 2022-09-09 15:29:17 +02:00
mafiesto4 05064402b1 Various improvements 2022-09-07 11:53:03 +02:00
mafiesto4 74fe176d2d Improvements for const class usage 2022-09-05 14:34:16 +02:00
mafiesto4 fba60f05a0 Refactor EditorPlugins to properly initialize and deinitialize 2022-09-02 09:52:41 +02:00
mafiesto4 bb7d4f7812 Fix console builds 2022-08-07 21:06:17 +02:00
mafiesto4 bdb69d57dd Refactor Plugins system to support plugins in C++ scripts 2022-07-28 21:05:03 +02:00
mafiesto4 3239150a61 Refactor scene objects initialization to call OnAwake before all OnStart
#520
2022-07-17 17:05:59 +02:00
mafiesto4 b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
mafiesto4 e43ef605c2 Minor improvements 2022-05-20 18:12:29 +02:00
mafiesto4 ed908a260e Add support for Double2/3/4 for Variant
Increase size to 40 bytes to store Double3 without allocations
Change Ray and BoundingBox to be stored inlined in BoundingBox
Use safer accessors to read Variant explicit data type
2022-05-20 18:10:35 +02:00
mafiesto4 158c29e598 Add **Dictionaries to Visual Scripting** 2022-04-27 22:47:54 +02:00
mafiesto4 3c841b1be1 Add support for font size and color in Header attribute 2022-04-15 19:16:50 +02:00
mafiesto4 75b61f2bef Fix typos 2022-04-15 19:16:14 +02:00
mafiesto4 a9d66d6535 Various fixes for scripting runtime 2022-04-07 22:03:42 +02:00
mafiesto4 5d0c27dff3 Remove FlaxException 2022-03-27 23:57:36 +02:00
mafiesto4 e89e6edfb8 Fix crash in scripting init if current localization is null 2022-03-22 19:29:17 +01:00
mafiesto4 cdc74a9c49 Reduce includes in Serialization header 2022-02-28 23:16:15 +01:00
mafiesto4 6738bc8dea Fix minor things 2022-02-28 19:15:02 +01:00
mafiesto4 4495737f94 Fix missing mono symbols export on Windows 2022-01-29 15:00:47 +01:00
mafiesto4 f801e7ffd9 Fixes 2022-01-21 16:23:30 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 c4b6865659 Merge branch 'master' into mac 2022-01-09 19:15:15 +01:00
mafiesto4 192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
mafiesto4 ff9b116522 Add ScriptingObject::NewObject utility for scripting objects spawning in C++ 2022-01-08 15:06:18 +01:00
mafiesto4 fa83869430 Add minor changes 2022-01-08 15:06:18 +01:00
mafiesto4 5e9b215548 Fix crash when spawning managed object on a detached native thread 2022-01-08 15:06:16 +01:00
mafiesto4 ca62cd2661 Mac impl progress 2022-01-03 13:59:52 +01:00
mafiesto4 1c34c7f293 Fix crash when creating C# object for native object at the same time on multiple threads 2021-12-16 18:58:14 +01:00
mafiesto4 4322563eed Fix crash on thread end that used Mono runtime 2021-11-23 17:26:05 +01:00
mafiesto4 32fc3acc67 Tweaks 2021-11-22 17:06:54 +01:00
mafiesto4 f3d93a4133 Add ScriptingEnum utility with useful features for C++ scripting 2021-11-19 16:48:04 +01:00
mafiesto4 31bbd586db Add scripting enums as ScriptingType 2021-11-19 16:43:02 +01:00
mafiesto4 3f3d8fc494 Add more improvements to Variant and conversions with managed data 2021-11-19 16:03:55 +01:00
mafiesto4 649059eba1 Add better support for Arrays in Variant for C# Scripting 2021-11-17 19:49:21 +01:00
mafiesto4 13deb4a54f Add better support for Arrays in Variant for C# Scripting 2021-11-16 20:46:04 +01:00
mafiesto4 d07ca3fcf4 Add support for older Android devices that don't support R11G11B10 texture format 2021-11-15 16:39:16 +01:00
mafiesto4 c1e3db9d1d Refactor SoftObjectReference to improve usage of it 2021-11-09 23:49:32 +01:00