Prediction: comments

This commit is contained in:
mischa 2024-01-24 14:42:13 +01:00
parent 8564e88d97
commit 42dffbe898

View File

@ -6,6 +6,7 @@ namespace Mirror
{
public static class PredictionUtils
{
// rigidbody ///////////////////////////////////////////////////////////
// move a Rigidbody + settings from one GameObject to another.
public static void MoveRigidbody(GameObject source, GameObject destination)
{
@ -56,6 +57,7 @@ public static GameObject CopyRelativeTransform(GameObject source, Transform sour
return child;
}
// colliders ///////////////////////////////////////////////////////////
// move all BoxColliders + settings from one GameObject to another.
public static void MoveBoxColliders(GameObject source, GameObject destination)
{
@ -143,6 +145,7 @@ public static void MoveAllColliders(GameObject source, GameObject destination)
MoveMeshColliders(source, destination);
}
// all /////////////////////////////////////////////////////////////////
// move all physics components from one GameObject to another.
public static void MovePhysicsComponents(GameObject source, GameObject destination)
{