mirror of
https://github.com/celisej567/UnitySourceMovement.git
synced 2025-12-31 09:48:17 +03:00
Draw colliderSize as a gizmo
This commit is contained in:
@@ -90,6 +90,12 @@ namespace Fragsurf.Movement {
|
||||
|
||||
///// Methods /////
|
||||
|
||||
private void OnDrawGizmos()
|
||||
{
|
||||
Gizmos.color = Color.red;
|
||||
Gizmos.DrawWireCube( transform.position, colliderSize );
|
||||
}
|
||||
|
||||
private void Awake () {
|
||||
|
||||
_controller.playerTransform = playerRotationTransform;
|
||||
|
||||
Reference in New Issue
Block a user