-
-
Save Densyakun/0cd0d329dbc1b45debca6cc8d3016c90 to your computer and use it in GitHub Desktop.
Unity.Physics.Collider to Unity.Physics.BoxCollider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Entities | |
.ForEach( | |
(in PhysicsCollider collider) => | |
{ | |
if (collider.Value.Value.Type == ColliderType.Box) | |
{ | |
Unity.Physics.BoxCollider* boxColliderPtr = (Unity.Physics.BoxCollider*)collider.ColliderPtr; | |
Debug.Log(*boxColliderPtr); | |
} | |
} | |
) | |
.WithBurst() | |
.ScheduleParallel(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment