C# 클래스 BBGamelib.ccUtils

파일 보기 프로젝트 열기: BigWoodGames/cocos2d-unity

공개 메소드들

메소드 설명
CC_DEGREES_TO_RADIANS ( float degree ) : float
CC_INCREMENT_GL_DRAWS ( uint n = 1 ) : void
CC_RADIANS_TO_DEGREE ( float radians ) : float
GUIDrawRect ( Rect position, Color color ) : void
GetChildObject ( GameObject obj, string name ) : GameObject
GetChildObjectRecursively ( GameObject obj, string name ) : GameObject
PixelsToUnits ( Vector2 pixels ) : Vector2
PixelsToUnits ( Vector3 pixels ) : Vector3
PointFromString ( string s ) : Vector2
PointToString ( Vector2 p ) : string
RectFromString ( string s ) : Rect
RectIntersection ( Rect a, Rect b ) : Rect
RectIntersectsRect ( Rect a, Rect b ) : bool
RectToString ( Rect rect ) : string
RectUnion ( Rect a, Rect b ) : Rect
UnitsToPixels ( Vector2 units ) : Vector2
UnitsToPixels ( Vector3 units ) : Vector3
ccNumberOfDraws ( ) : uint

메소드 상세

CC_DEGREES_TO_RADIANS() 공개 정적인 메소드

public static CC_DEGREES_TO_RADIANS ( float degree ) : float
degree float
리턴 float

CC_INCREMENT_GL_DRAWS() 공개 정적인 메소드

public static CC_INCREMENT_GL_DRAWS ( uint n = 1 ) : void
n uint
리턴 void

CC_RADIANS_TO_DEGREE() 공개 정적인 메소드

public static CC_RADIANS_TO_DEGREE ( float radians ) : float
radians float
리턴 float

GUIDrawRect() 공개 정적인 메소드

public static GUIDrawRect ( Rect position, Color color ) : void
position UnityEngine.Rect
color Color
리턴 void

GetChildObject() 공개 정적인 메소드

public static GetChildObject ( GameObject obj, string name ) : GameObject
obj UnityEngine.GameObject
name string
리턴 UnityEngine.GameObject

GetChildObjectRecursively() 공개 정적인 메소드

public static GetChildObjectRecursively ( GameObject obj, string name ) : GameObject
obj UnityEngine.GameObject
name string
리턴 UnityEngine.GameObject

PixelsToUnits() 공개 정적인 메소드

public static PixelsToUnits ( Vector2 pixels ) : Vector2
pixels Vector2
리턴 Vector2

PixelsToUnits() 공개 정적인 메소드

public static PixelsToUnits ( Vector3 pixels ) : Vector3
pixels Vector3
리턴 Vector3

PointFromString() 공개 정적인 메소드

public static PointFromString ( string s ) : Vector2
s string
리턴 Vector2

PointToString() 공개 정적인 메소드

public static PointToString ( Vector2 p ) : string
p Vector2
리턴 string

RectFromString() 공개 정적인 메소드

public static RectFromString ( string s ) : Rect
s string
리턴 UnityEngine.Rect

RectIntersection() 공개 정적인 메소드

public static RectIntersection ( Rect a, Rect b ) : Rect
a UnityEngine.Rect
b UnityEngine.Rect
리턴 UnityEngine.Rect

RectIntersectsRect() 공개 정적인 메소드

public static RectIntersectsRect ( Rect a, Rect b ) : bool
a UnityEngine.Rect
b UnityEngine.Rect
리턴 bool

RectToString() 공개 정적인 메소드

public static RectToString ( Rect rect ) : string
rect UnityEngine.Rect
리턴 string

RectUnion() 공개 정적인 메소드

public static RectUnion ( Rect a, Rect b ) : Rect
a UnityEngine.Rect
b UnityEngine.Rect
리턴 UnityEngine.Rect

UnitsToPixels() 공개 정적인 메소드

public static UnitsToPixels ( Vector2 units ) : Vector2
units Vector2
리턴 Vector2

UnitsToPixels() 공개 정적인 메소드

public static UnitsToPixels ( Vector3 units ) : Vector3
units Vector3
리턴 Vector3

ccNumberOfDraws() 공개 정적인 메소드

public static ccNumberOfDraws ( ) : uint
리턴 uint