mirror of
https://github.com/celisej567/UnitySourceMovement.git
synced 2026-02-25 14:33:01 +03:00
Merge pull request #4 from JillCrungus/gizmo
Draw colliderSize as a gizmo
This commit is contained in:
@@ -90,6 +90,12 @@ namespace Fragsurf.Movement {
|
|||||||
|
|
||||||
///// Methods /////
|
///// Methods /////
|
||||||
|
|
||||||
|
private void OnDrawGizmos()
|
||||||
|
{
|
||||||
|
Gizmos.color = Color.red;
|
||||||
|
Gizmos.DrawWireCube( transform.position, colliderSize );
|
||||||
|
}
|
||||||
|
|
||||||
private void Awake () {
|
private void Awake () {
|
||||||
|
|
||||||
_controller.playerTransform = playerRotationTransform;
|
_controller.playerTransform = playerRotationTransform;
|
||||||
|
|||||||
Reference in New Issue
Block a user