C# 클래스 QFramework.QTransExtend

关于Transform 常用的代码封装起来
파일 보기 프로젝트 열기: liangxiegame/QFramework

공개 메소드들

메소드 설명
Identity ( this trans ) : void

重置操作

OnClick ( this trans, QVoidDelegate callback ) : void
PosX ( Transform trans ) : float

localPosition 操作

PosY ( Transform trans ) : float
PosZ ( Transform trans ) : float
SetPosX ( Transform trans, float x ) : void
SetPosXY ( Transform trans, float x, float y ) : void
SetPosY ( Transform trans, float y ) : void
SetPosZ ( Transform trans, float z ) : void
SetScaleXY ( Transform trans, float x, float y ) : void

localScale操作

메소드 상세

Identity() 공개 정적인 메소드

重置操作
public static Identity ( this trans ) : void
trans this Trans.
리턴 void

OnClick() 공개 정적인 메소드

public static OnClick ( this trans, QVoidDelegate callback ) : void
trans this
callback QVoidDelegate
리턴 void

PosX() 공개 정적인 메소드

localPosition 操作
public static PosX ( Transform trans ) : float
trans UnityEngine.Transform Trans.
리턴 float

PosY() 공개 정적인 메소드

public static PosY ( Transform trans ) : float
trans UnityEngine.Transform
리턴 float

PosZ() 공개 정적인 메소드

public static PosZ ( Transform trans ) : float
trans UnityEngine.Transform
리턴 float

SetPosX() 공개 정적인 메소드

public static SetPosX ( Transform trans, float x ) : void
trans UnityEngine.Transform
x float
리턴 void

SetPosXY() 공개 정적인 메소드

public static SetPosXY ( Transform trans, float x, float y ) : void
trans UnityEngine.Transform
x float
y float
리턴 void

SetPosY() 공개 정적인 메소드

public static SetPosY ( Transform trans, float y ) : void
trans UnityEngine.Transform
y float
리턴 void

SetPosZ() 공개 정적인 메소드

public static SetPosZ ( Transform trans, float z ) : void
trans UnityEngine.Transform
z float
리턴 void

SetScaleXY() 공개 정적인 메소드

localScale操作
public static SetScaleXY ( Transform trans, float x, float y ) : void
trans UnityEngine.Transform
x float
y float
리턴 void