Commit Graph

95 Commits

Author SHA1 Message Date
Wojtek Figat
7d0804af91 Add content deprecation upgrades support to prefabs and scenes when loading levels 2025-01-20 23:53:13 +01:00
Chandler Cox
305f725394 Ensure to add all scene objects of injected actors. 2024-07-19 08:19:34 -05:00
Chandler Cox
8a297a6fd4 Clean up code more. 2024-07-19 07:59:57 -05:00
Chandler Cox
d717430256 Clean up code 2024-07-19 07:48:01 -05:00
Chandler Cox
8804738193 Allow for Initializing children injected via scene loading. 2024-07-19 07:42:57 -05:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
10180de9c6 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Source/Editor/Utilities/EditorUtilities.cpp
#	Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
Wojtek Figat
2cce7522de Merge branch 'optimize-actors-search' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-optimize-actors-search 2024-02-18 20:31:04 +01:00
Wojtek Figat
dad3d185f1 Merge branch 'add-activeOnly-to-getactors' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-add-activeOnly-to-getactors 2024-02-18 20:17:33 +01:00
Wojtek Figat
69b7a10c1f Add Stopwatch for accurate duration measuring 2024-01-28 20:31:03 +01:00
Wojtek Figat
ecf593e7a4 Remove unused SaveTime/LoadTime from Scene 2024-01-28 20:28:29 +01:00
Wojtek Figat
efebb29ac0 Minor tweak for #2003 2023-12-16 12:49:39 +01:00
Wojtek Figat
e0a085adfe Add support for loading prefab instance if the root was changed or deleted
#2050
2023-12-14 10:47:22 +01:00
Wojtek Figat
d90a0aa3f4 Fix missing initialization of scene objects added from prefab
#1924
2023-11-19 20:26:14 +01:00
Wojtek Figat
15aaf5043a Fix scenes reload feature to check if can do it, properly use async in play mode and ask for save if scene is modified
#1740
2023-11-17 14:07:33 +01:00
Mr. Capybara
1c23f0f5b4 Add ActiveOnly parameter to Level::GetActors 2023-11-03 11:30:24 -04:00
Wojtek Figat
806590d1c3 Fix deadlock in scene loading
#1761 #1773
2023-10-24 14:08:34 +02:00
Mr. Capybara
fff8a1e8a6 Optimize actor search 2023-10-22 13:26:07 -04:00
Wojtek Figat
0ea00a09ca Fix regression from 3e7368b1cb to remove scene lock when spawning actors in async
#1743
2023-10-19 15:29:26 +02:00
Wojtek Figat
e4b89e1bad Fix plugins initialization order to properly unload scenes before them in cooked game 2023-10-14 16:20:27 +02:00
Wojtek Figat
00100e11f2 Fix C# objects serialization bug when script throws exception during saving to Json
#1656
2023-10-09 15:31:46 +02:00
Wojtek Figat
1c21939f40 Minor changes 2023-10-01 11:24:49 +02:00
Wojtek Figat
b960600102 Optimize scenes loading with Job System 2023-10-01 10:55:01 +02:00
Wojtek Figat
d71c171412 Cleanup code in #1367 and fix api compatibility, revert joint changes 2023-09-28 13:10:58 +02:00
NoriteSC
6ab2e540a3 Bug Fixes
script and actors not having connect transform in on awake and in on start

join auto anchor having wrong anchor because was including scale

fixed selection do to changes to transform accessibility ?
2023-08-25 14:51:49 +02:00
Chandler Cox
d88b93d56b Add find actor by type and tag to level and actor classes. Move find actor by tag code to be by other find actor methods. 2023-07-05 14:00:07 -05:00
Ruan Lucas
072d70722c add optional parameter to find only active actors on Level.FindActorsByParentTag 2023-06-21 21:38:22 -04:00
Ruan Lucas
875dd30d57 add optional parameter to find only active actors on Level.FinActors(tag) 2023-06-21 21:27:38 -04:00
Wojtek Figat
f552dd0c28 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-10 23:29:22 +02:00
Wojtek Figat
393514c13d Add missing scenes locking 2023-06-09 13:48:33 +02:00
Wojtek Figat
126ea687e6 Merge branch 'findactor' of https://github.com/Tryibion/FlaxEngine into Tryibion-findactor 2023-06-09 13:45:49 +02:00
Wojtek Figat
248f78ed56 Code style fix #1146 2023-06-09 13:44:26 +02:00
Ruan Lucas
9c93828976 add search actor by parent tag 2023-06-03 11:51:24 -04:00
Chandler Cox
fcbe624f7c Add FindActor with type and name to level. 2023-06-02 15:29:28 -05:00
Wojtek Figat
b43196cd1a Add missing implementation for #987 2023-05-12 14:56:19 +02:00
Wojtek Figat
5a66e90b56 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	.github/workflows/tests.yml
#	Source/Engine/Content/JsonAsset.cs
2023-05-07 19:46:29 +02:00
Wojtek Figat
10bab59acc Fix scene asset runtime contents when saving scene file in Editor 2023-05-06 14:58:10 +02:00
Wiktor Kocielski
68151592a4 Make Level class to unload scenes in reversed order 2023-05-05 17:11:24 +03:00
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
79dbddc48e Fix Level::FindActors with Tag 2023-02-27 12:45:55 +01:00
Wojtek Figat
12cb8fd59d Ignore warning on missing object in Level::FindActor 2023-02-09 20:04:57 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
8762e8ad15 Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
Wojtek Figat
cbef100a17 Add FindActor/FindActors with Tag to Level 2022-12-20 23:01:53 +01:00
Wojtek Figat
a570d6d178 Refactor **Actor tags into hierarchical reusable Tags** system for better gameplay scripting 2022-12-20 21:11:38 +01:00
Chandler Cox
c3f23d1390 Added abstract check to spawning actor 2022-12-15 08:49:52 -06:00
Wojtek Figat
eb52d333ae Refactor scene rendering to use batched culling for main view and shadow projections 2022-10-28 17:53:21 +02:00
Wojtek Figat
e217d5e79b Refactor scene rendering to separate drawable actors 2022-10-28 17:53:21 +02:00