C# 클래스 IntVector2

파일 보기 프로젝트 열기: BigVikingGames/checkers-starter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
x int
y int

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
IntVector2 ( ) : UnityEngine
IntVector2 ( int x, int y ) : UnityEngine
Length ( ) : float
ManhattanLength ( ) : int
SquareMagnitude ( ) : int
ToString ( ) : string
operator ( ) : IntVector2,

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IntVector2() 공개 메소드

public IntVector2 ( ) : UnityEngine
리턴 UnityEngine

IntVector2() 공개 메소드

public IntVector2 ( int x, int y ) : UnityEngine
x int
y int
리턴 UnityEngine

Length() 공개 메소드

public Length ( ) : float
리턴 float

ManhattanLength() 공개 메소드

public ManhattanLength ( ) : int
리턴 int

SquareMagnitude() 공개 메소드

public SquareMagnitude ( ) : int
리턴 int

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : IntVector2,
리턴 IntVector2,

프로퍼티 상세

x 공개적으로 프로퍼티

public int x
리턴 int

y 공개적으로 프로퍼티

public int y
리턴 int