C# 클래스 ExampleObject, TheUnseen

상속: MonoBehaviour
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
materials Material[]
rotateSpeed float

공개 메소드들

메소드 설명
Awake ( ) : void
GetCurrentMaterial ( ) : string
SetMaterial ( string name ) : void
SetRotatingSpeed ( float speed ) : void
ToggleRotation ( ) : void
Update ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

GetCurrentMaterial() 공개 메소드

public GetCurrentMaterial ( ) : string
리턴 string

SetMaterial() 공개 메소드

public SetMaterial ( string name ) : void
name string
리턴 void

SetRotatingSpeed() 공개 메소드

public SetRotatingSpeed ( float speed ) : void
speed float
리턴 void

ToggleRotation() 공개 메소드

public ToggleRotation ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

materials 공개적으로 프로퍼티

public Material[] materials
리턴 Material[]

rotateSpeed 공개적으로 프로퍼티

public float rotateSpeed
리턴 float