Commit Graph

141 Commits

Author SHA1 Message Date
Kah Wei dfc03839db Renamed functions for clarity 2022-11-11 22:18:32 +08:00
Kah Wei d98d00b916 Wonky solution for array editor that doesn't work for elements outside of the first 2022-11-11 15:20:14 +08:00
Kah Wei 5d2aae3561 Made enum editor template specializations instead 2022-11-11 13:41:58 +08:00
Kah Wei ed3694bde1 Merge branch 'main' into SP3-6-ArraySerialization 2022-11-11 12:07:40 +08:00
Kah Wei fdc8965b62 Made String and GameObject editor template specializations instead 2022-11-11 12:07:26 +08:00
Kah Wei 85cc97ca27 Added implementation for ListElementAddCommand and ListElementRemoveCommand 2022-11-11 12:07:05 +08:00
Kah Wei 80db641b6f Added ListElementChangeCommand 2022-11-11 00:49:20 +08:00
Kah Wei 5875107ce2 Merge branch 'main' into SP3-6-ArraySerialization 2022-11-10 23:44:07 +08:00
Kah Wei d93ea8e49b Child caches are now updated when scene hierarchy changes 2022-11-10 23:34:53 +08:00
Kah Wei 8670b419d0 Merge branch 'main' into SP3-6-c-scripting 2022-11-10 22:25:58 +08:00
Kah Wei cf5cc41a3f Reworked Undo-Redo system to be more flexible and stable 2022-11-10 18:10:15 +08:00
Kah Wei bdc7297937 Converted macros for script field inspectors to use templates 2022-11-10 16:20:04 +08:00
Kah Wei e8d2179d76 Added test support for List<int> display in editor 2022-11-10 11:01:17 +08:00
Diren D Bharwani eeab3494ba Reworked SceneGraph Interface 2022-11-10 03:30:02 +08:00
Kah Wei da12db6726 Merge branch 'main' into S3-6-Gizmos 2022-11-09 14:45:31 +08:00
Kah Wei bbe8622d1e De-plushied SHADE_Managed comments 2022-11-09 14:45:08 +08:00
Kah Wei a3fe98317d Fixed performance issue in scripts editor when multiple attributes are applied onto script fields 2022-11-09 10:31:30 +08:00
Kah Wei 349f4a875b Added full implementation of Gizmos class 2022-11-09 10:22:11 +08:00
XiaoQiDigipen 7ac910149e
Merge pull request #185 from SHADE-DP/SP3-6-CSharpLights
Add interface for C# light class and modified Color to match Unity's interface
2022-11-08 21:51:04 +08:00
Kah Wei 41b7cb842c Added C# Gizmos class interface 2022-11-08 21:31:53 +08:00
Kah Wei e89f5b4b9e Added OnDrawGizmos for debug draw for scripts 2022-11-08 20:49:07 +08:00
Kah Wei 715699b63b Add interface for C# light class and modified Color to match Unity's interface 2022-11-08 20:18:50 +08:00
Kah Wei 8512c658f9 Made GameObject an IEnumerable to follow Unity's Transform interface for iterating through children 2022-11-08 18:32:47 +08:00
Kah Wei 9be58e7e5d Added SceneGraph interaction functions in GameObject 2022-11-08 18:32:13 +08:00
Diren D Bharwani f8417f6116 Merge remote-tracking branch 'origin/main' into SP3-2-Physics 2022-11-08 15:22:28 +08:00
Kah Wei e3369c688d Added comment to document invalid/null GameObject usage 2022-11-08 13:49:49 +08:00
Kah Wei e0481ad8af Removed debug log 2022-11-08 13:47:39 +08:00
Kah Wei ddd93a85f4 Added support for null GameObjects (loading is buggy) 2022-11-08 00:53:47 +08:00
Diren D Bharwani 8fbd32a144 Added Relative Sizes to Shapes 2022-11-08 00:46:09 +08:00
Diren D Bharwani 70dcad1313 Changed Collider to CollisionShape for improved clarity 2022-11-07 18:19:39 +08:00
Sri Sham Haran 4ee0294977 Scene loads correctly now 2022-11-04 14:44:18 +08:00
Glence 4f70b543b2 Merge branch 'main' into PlayerController 2022-11-02 17:36:04 +08:00
Glence fc56973645 added getright in camera.cxx/.hxx
PickandThrow is done
adjusted thirdPersonCamera and PlayerController to work with each other
2022-11-02 17:31:57 +08:00
Kah Wei 7bda8b3998 Added IsInterpolating to RigidBody in C# 2022-11-02 13:48:53 +08:00
Diren D Bharwani 72dc07bbd9 Shifted Hierarchy interface from Transform to GameObject 2022-11-01 19:00:31 +08:00
Diren D Bharwani 40be8a7962 Merge branch 'main' into SP3-12-SceneGraph 2022-11-01 19:00:12 +08:00
Kah Wei 8afe8c1a79 GameObjects on scripts can now be edited in the inspector and are serialized 2022-11-01 17:24:20 +08:00
maverickdgg eb54b49a5e Merge branch 'main' into SP3-141-Camera-System 2022-11-01 15:50:45 +08:00
maverickdgg 39910afa54 Added GetForward to Camera C# interface.
GetForward gets the forward according to Camera's last calculated view matrix
2022-11-01 15:49:15 +08:00
maverickdgg a45432ef66 Merge conflict 2022-11-01 15:35:50 +08:00
maverickdgg d917159f67 Merge branch 'main' into SP3-141-Camera-System 2022-11-01 15:31:11 +08:00
maverickdgg f919d95c0b Added C# interface for Camera and Camera Arm. Added some test scripts 2022-11-01 15:30:13 +08:00
Kah Wei 69e625014d Added EntityID retrieval from GameObject 2022-11-01 15:25:19 +08:00
maverickdgg d82bc8833f Camera C# interface 2022-11-01 14:20:03 +08:00
Kah Wei c08afcb804 Fixed incorrect FixedUpdate() execution and added Time.FixedDeltaTime 2022-11-01 00:37:09 +08:00
Kah Wei 4e97392098 Added support for multiplying doubles with Vectors in C# 2022-11-01 00:27:45 +08:00
Kah Wei e4cb8ede5a Added support for collision and trigger events in code properly 2022-11-01 00:11:09 +08:00
Kah Wei b7aca5b118 Merge branch 'main' into SP3-6-c-scripting 2022-10-31 23:39:56 +08:00
mushgunAX caf6006c9e Update C# Input Enums 2022-10-31 22:06:28 +08:00
Kah Wei f9810684ed Added functions for execution of OnCollision*() and OnTrigger*() 2022-10-31 21:38:17 +08:00