XiaoQiDigipen
25c9d6eea2
Merge pull request #244 from SHADE-DP/SP3-5-ECS
...
Added SceneManager Managed code to change scene
2022-11-22 14:57:18 +08:00
maverickdgg
3f39cfc637
include pch
2022-11-22 14:14:58 +08:00
maverickdgg
fcf258d773
Added SceneManager managed code
2022-11-22 14:11:10 +08:00
Kah Wei
ece0a92717
Fixed TextRenderable components not being retrievable by C# scripts
2022-11-22 11:29:01 +08:00
Kah Wei
07efa1ab51
Added an abstract base class for NativeAsset to prepare to support serialization of Assets for scripts
2022-11-22 00:39:53 +08:00
Kah Wei
af2ad6cc80
Merge branch 'main' into SP3-6-c-scripting
2022-11-21 20:59:08 +08:00
Kah Wei
6550846b0f
Added C# interface for Fonts and TextRenderable
2022-11-21 20:58:47 +08:00
XiaoQiDigipen
81043a5927
Merge pull request #237 from SHADE-DP/SP3-2-Physics
...
Added more debug drawing & Fixed Physics running without SHEDITOR
2022-11-21 20:24:05 +08:00
Diren D Bharwani
3baedd8ffa
Merge branch 'main' into SP3-2-Physics
2022-11-21 20:15:58 +08:00
Diren D Bharwani
1d692d3301
Physics works without SHEDITOR defines. Mass is temporarily auto computed.
2022-11-21 19:59:32 +08:00
Kah Wei
e3c573baa7
Added support for enabling and disabling scripts
...
OnEnable and OnDisable are not called on GameObject active toggling for now but will be added in future
2022-11-21 17:16:16 +08:00
Kah Wei
819607925f
Added GameObject.Null for setting GameObjects to null.
2022-11-21 15:41:15 +08:00
Kah Wei
0a9dea1c83
Disabled xmldoc generation warnings for SHADE projects
2022-11-21 12:14:07 +08:00
Diren D Bharwani
411c4a4e56
Added C# Interface for Raycasting
...
Untested with Scripts, tested engine side.
2022-11-19 04:21:46 +08:00
XiaoQiDigipen
379c44086d
Merge pull request #218 from SHADE-DP/SP3-6-c-scripting
...
Fixed edge cases for serialization and deserialization of scripts
2022-11-17 17:17:12 +08:00
Kah Wei
042bff5c1a
Added additional exception handling for serialization and deserialization failures for scripts to prevent data loss
2022-11-17 15:49:06 +08:00
Kah Wei
6efbea54e1
Fixed issue where scripts of Entities destroyed during scene unloading are not properly disposed
2022-11-17 15:43:35 +08:00
Kah Wei
17662abef1
Fixed bug where certain null objects in deserialization was not handled
2022-11-17 15:42:40 +08:00
Diren D Bharwani
503f32c3a6
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-17 00:21:18 +08:00
Kah Wei
dc9291bc01
Added Audio class for playing audio from C#
2022-11-16 15:00:56 +08:00
Diren D Bharwani
1b2ff7f4a2
Expanded Collision Shape C# Interface
2022-11-15 23:57:38 +08:00
Diren D Bharwani
a752bdb985
someone donno how to normalise sia
2022-11-15 18:45:58 +08:00
Diren D Bharwani
e93eea6381
Cleaned up tools folder. Added debug only logging macros with _D suffix
2022-11-15 03:03:37 +08:00
Kah Wei
47c50c3a31
Merge branch 'main' into SP3-6-c-scripting
2022-11-14 19:38:43 +08:00
Diren D Bharwani
d897ac01e6
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-14 18:39:06 +08:00
Diren D Bharwani
10335f3033
Added syncing of physics materials & clear forces methods
2022-11-14 18:38:32 +08:00
Kah Wei
5ccd2263c7
Documentation files are now generated for projects
2022-11-14 18:35:52 +08:00
XiaoQiDigipen
45ec617c3a
Merge pull request #203 from SHADE-DP/SP3-6-c-scripting
...
Script QoL Improvements
Added
GetComponentsInChildren() for GameObject
GetScriptsInChildren() for GameObject
GetComponentsInChildren() for Scripts
GetScriptsInChildren() for Scripts
Fixed
Bug causing crash if a Renderable is added without any mesh or materials
Serialization failure caused by null objects in Scripts
2022-11-14 17:57:54 +08:00
Kah Wei
77cab3e4c5
Merge branch 'main' into SP3-6-c-scripting
2022-11-14 17:08:50 +08:00
Kah Wei
9e8674859c
Fixed script serialization for objects with no default values set
2022-11-14 17:05:54 +08:00
Kah Wei
9e90a78ee4
Added GetComponentsInChildren and GetScriptsInChildren for Scripts and GameObjects
2022-11-14 16:29:53 +08:00
Diren D Bharwani
9515fcca4f
Renames & Bugfixes
...
Renamed BoundingBox & BoundingSphere to Box & Sphere
Forces are forcefully cleared
2022-11-14 15:35:02 +08:00
Diren D Bharwani
c953931f4f
Merge branch 'main' into SP3-2-Physics
2022-11-13 17:57:30 +08:00
Kah Wei
4dc8527395
Reworked scripts to no longer need definition of constructors
2022-11-13 16:29:25 +08:00
Kah Wei
af361062e7
Modified how scripts are added and updated to support runtime adding of scripts
2022-11-13 16:07:14 +08:00
Diren D Bharwani
86ca047c88
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-13 14:49:44 +08:00
Kah Wei
23320863e3
Added support for undo-redo of adding/removing scripts
2022-11-13 14:49:32 +08:00
Kah Wei
635d999c2c
Fixed redo not working correctly
2022-11-13 13:16:36 +08:00
Kah Wei
4b6ede88e2
Merge branch 'main' into SP3-6-c-scripting
2022-11-13 12:44:50 +08:00
Kah Wei
fd7a47b4c0
Added changes to hide internal types and constructors that should not be available to SHADE_Scripting
2022-11-13 12:44:23 +08:00
Kah Wei
26e0e72b25
Fixed lists not deserialising correctly
2022-11-13 04:57:10 +08:00
Kah Wei
d98deda63d
Implemented deserialization of lists
2022-11-13 02:42:47 +08:00
Kah Wei
889d3dac4c
Split serialization code into SerialisationUtilities, refactored serialisation code and implemented list serialisation
2022-11-12 23:14:25 +08:00
Diren D Bharwani
3faf3804aa
Merge remote-tracking branch 'origin/main' into SP3-2-Physics
2022-11-12 16:57:45 +08:00
Diren D Bharwani
45e549f9f1
.....small restructure....
2022-11-12 16:56:58 +08:00
Kah Wei
24dcd77f32
Added tooltip and range attribute support for lists in scripts
2022-11-12 12:17:11 +08:00
Kah Wei
6dbda12f30
Adjusted design of list on scripts and all numbers now use sliders
2022-11-12 03:53:30 +08:00
Kah Wei
d6764b4551
Added support for adding and removing elements from a list
2022-11-12 03:25:46 +08:00
Kah Wei
543c199b03
Fixed lists undo not working
2022-11-12 02:33:00 +08:00
Kah Wei
2d2cc532a5
Fixed editing intermdiate list values not working
2022-11-11 22:59:45 +08:00