Skip to content

Commit

Permalink
Maroon-552 UnitTests for missing UnityEvent targets (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianGlawogger authored Nov 13, 2024
1 parent 4ff50de commit 5d86df6
Show file tree
Hide file tree
Showing 16 changed files with 3,473 additions and 2,179 deletions.
165 changes: 152 additions & 13 deletions unity/Assets/Maroon/reusablePrefabs/3darrows/MovingArrows.prefab

Large diffs are not rendered by default.

1,556 changes: 1,135 additions & 421 deletions unity/Assets/Maroon/reusablePrefabs/Drawer/ShelveWithDrawer.prefab

Large diffs are not rendered by default.

944 changes: 207 additions & 737 deletions unity/Assets/Maroon/scenes/experiments/CoulombsLaw/CoulombsLaw.pc.unity

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 43556716716376549}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
Expand All @@ -34,7 +35,6 @@ Transform:
- {fileID: 5991014159398745934}
- {fileID: 3046867823948206692}
m_Father: {fileID: 222567040141688388}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &4589385753357242748
MonoBehaviour:
Expand Down Expand Up @@ -107,13 +107,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 222567040141845088}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0, y: 0, z: 0}
m_LocalScale: {x: 100, y: 100, z: 100}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 222567040141688388}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &222567040142982758
MeshFilter:
Expand Down Expand Up @@ -193,6 +193,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 222567040141845092}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
Expand All @@ -205,7 +206,6 @@ Transform:
- {fileID: 725601085861586812}
- {fileID: 263544389824666547}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &222567040141845091
MonoBehaviour:
Expand Down Expand Up @@ -287,10 +287,21 @@ Rigidbody:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 222567040141845092}
serializedVersion: 2
serializedVersion: 4
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 0
m_IsKinematic: 0
m_Interpolate: 0
Expand All @@ -304,9 +315,17 @@ SphereCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 222567040141845092}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Radius: 0.70224214
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &1182506105227209955
Expand Down Expand Up @@ -390,18 +409,6 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName:
m_MethodName: UpdatePosition
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
onEndMovingInsideBoundaries:
m_PersistentCalls:
m_Calls:
Expand All @@ -417,48 +424,12 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName:
m_MethodName: UpdatePosition
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
onEnabled:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName:
m_MethodName: UpdatePosition
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_Calls: []
onDisabled:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName:
m_MethodName: UpdatePosition
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_Calls: []
--- !u!114 &1376864048248906643
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -534,13 +505,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 222567040141845094}
serializedVersion: 2
m_LocalRotation: {x: 0.5, y: -0.5, z: 0.5, w: 0.5}
m_LocalPosition: {x: -0, y: 0, z: 0}
m_LocalScale: {x: 100, y: 100, z: 100}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 222567040141688388}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 90, y: -90, z: 0}
--- !u!33 &222567040142982756
MeshFilter:
Expand Down Expand Up @@ -617,13 +588,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2433028222904055166}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 263544389824666547}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &3150413966677578302
GameObject:
Expand All @@ -650,13 +621,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3150413966677578302}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.45, y: 1.45, z: 1.45}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 222567040141688388}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &849048382167916708
MeshFilter:
Expand Down Expand Up @@ -730,14 +701,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6981387575739027365}
serializedVersion: 2
m_LocalRotation: {x: 0.00000016292066, y: -0.00000016292071, z: -0.00000016292071,
w: 1}
m_LocalPosition: {x: -69.304565, y: 14.722417, z: 3.0781066}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 263544389824666547}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7401672955092122463
GameObject:
Expand All @@ -762,19 +733,20 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7401672955092122463}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 222567040141688388}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &2198766957091068995
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 222567040141688388}
m_Modifications:
- target: {fileID: 1482331554849848127, guid: 565f734b46691944bb8c7cb7888df542,
Expand Down Expand Up @@ -885,7 +857,7 @@ PrefabInstance:
- target: {fileID: 4513896859846796369, guid: 565f734b46691944bb8c7cb7888df542,
type: 3}
propertyPath: OnMovementFinish.m_PersistentCalls.m_Calls.Array.size
value: 2
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4513896859846796369, guid: 565f734b46691944bb8c7cb7888df542,
type: 3}
Expand Down Expand Up @@ -1038,6 +1010,9 @@ PrefabInstance:
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 565f734b46691944bb8c7cb7888df542, type: 3}
--- !u!4 &725601085861586812 stripped
Transform:
Expand Down
Loading

0 comments on commit 5d86df6

Please sign in to comment.