C# Class Assets.Scripts.Utils.TransformEx

Exibir arquivo Open project: nubick/unity-utils

Public Methods

Method Description
IncLocalX ( this transform, float dx ) : void
IncLocalY ( this transform, float dy ) : void
IncLocalZ ( this transform, float dz ) : void
Position2 ( this transform ) : Vector2
SetLocalX ( this transform, float x ) : void
SetLocalXY ( this transform, float x, float y ) : void
SetLocalXYZ ( this transform, float x, float y, float z ) : void
SetLocalY ( this transform, float y ) : void
SetLocalZ ( this transform, float z ) : void
SetRotation ( this transform, float angle ) : void
SetScaleX ( this transform, float scaleX ) : void
SetScaleY ( this transform, float scaleY ) : void
SetScaleZ ( this transform, float scaleZ ) : void
SetX ( this transform, float x ) : void
SetXY ( this transform, float x, float y ) : void
SetXYZ ( this transform, float x, float y, float z ) : void
SetY ( this transform, float y ) : void
SetZ ( this transform, float z ) : void

Method Details

IncLocalX() public static method

public static IncLocalX ( this transform, float dx ) : void
transform this
dx float
return void

IncLocalY() public static method

public static IncLocalY ( this transform, float dy ) : void
transform this
dy float
return void

IncLocalZ() public static method

public static IncLocalZ ( this transform, float dz ) : void
transform this
dz float
return void

Position2() public static method

public static Position2 ( this transform ) : Vector2
transform this
return UnityEngine.Vector2

SetLocalX() public static method

public static SetLocalX ( this transform, float x ) : void
transform this
x float
return void

SetLocalXY() public static method

public static SetLocalXY ( this transform, float x, float y ) : void
transform this
x float
y float
return void

SetLocalXYZ() public static method

public static SetLocalXYZ ( this transform, float x, float y, float z ) : void
transform this
x float
y float
z float
return void

SetLocalY() public static method

public static SetLocalY ( this transform, float y ) : void
transform this
y float
return void

SetLocalZ() public static method

public static SetLocalZ ( this transform, float z ) : void
transform this
z float
return void

SetRotation() public static method

public static SetRotation ( this transform, float angle ) : void
transform this
angle float
return void

SetScaleX() public static method

public static SetScaleX ( this transform, float scaleX ) : void
transform this
scaleX float
return void

SetScaleY() public static method

public static SetScaleY ( this transform, float scaleY ) : void
transform this
scaleY float
return void

SetScaleZ() public static method

public static SetScaleZ ( this transform, float scaleZ ) : void
transform this
scaleZ float
return void

SetX() public static method

public static SetX ( this transform, float x ) : void
transform this
x float
return void

SetXY() public static method

public static SetXY ( this transform, float x, float y ) : void
transform this
x float
y float
return void

SetXYZ() public static method

public static SetXYZ ( this transform, float x, float y, float z ) : void
transform this
x float
y float
z float
return void

SetY() public static method

public static SetY ( this transform, float y ) : void
transform this
y float
return void

SetZ() public static method

public static SetZ ( this transform, float z ) : void
transform this
z float
return void