C# 클래스 ExampleDisplayHealth, CodeSpells

상속: MonoBehaviour
파일 보기 프로젝트 열기: srfoster/CodeSpells

공개 프로퍼티들

프로퍼티 타입 설명
heart_dim float
heart_texture UnityEngine.Texture2D
heightFromBottom float
maxNumHearts float
x_offset float

공개 메소드들

메소드 설명
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void
drawHearts ( Texture2D heart_texture, float x, float y, int numHearts ) : void

메소드 상세

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

drawHearts() 공개 메소드

public drawHearts ( Texture2D heart_texture, float x, float y, int numHearts ) : void
heart_texture UnityEngine.Texture2D
x float
y float
numHearts int
리턴 void

프로퍼티 상세

heart_dim 공개적으로 프로퍼티

public float heart_dim
리턴 float

heart_texture 공개적으로 프로퍼티

public Texture2D,UnityEngine heart_texture
리턴 UnityEngine.Texture2D

heightFromBottom 공개적으로 프로퍼티

public float heightFromBottom
리턴 float

maxNumHearts 공개적으로 프로퍼티

public float maxNumHearts
리턴 float

x_offset 공개적으로 프로퍼티

public float x_offset
리턴 float