C# 클래스 Spellbook, CodeSpells

파일 보기 프로젝트 열기: srfoster/CodeSpells 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
button_down_texture UnityEngine.Texture2D
button_style GUIStyle
button_up_texture UnityEngine.Texture2D
code_font Font
code_style GUIStyle
copy_button_texture UnityEngine.Texture2D
half_code_style GUIStyle
next_button_texture UnityEngine.Texture2D
pages List
prev_button_texture UnityEngine.Texture2D

공개 메소드들

메소드 설명
Add ( SpellbookPage, page ) : void
OnGUI ( ) : void
addExistingSpell ( string name, string code ) : void
copyBlankSpell ( ) : string
displayCurrentPage ( ) : void
displayScaledPage ( HalfBook, halfbook ) : void
getIncName ( string name ) : string
logCurrentPage ( ) : void
pageChangeButtons ( Rect prev, Rect next ) : void
setNameCounter ( string name ) : void
setNoCopyDisplay ( bool b ) : void
show ( GameObject previous_state ) : void
showCode ( ) : void

비공개 메소드들

메소드 설명
Start ( ) : IEnumerator
currentPage ( ) : SpellbookPage,
givePlayerAScroll ( ) : string

메소드 상세

Add() 공개 메소드

public Add ( SpellbookPage, page ) : void
page SpellbookPage,
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

addExistingSpell() 공개 메소드

public addExistingSpell ( string name, string code ) : void
name string
code string
리턴 void

copyBlankSpell() 공개 메소드

public copyBlankSpell ( ) : string
리턴 string

displayCurrentPage() 공개 메소드

public displayCurrentPage ( ) : void
리턴 void

displayScaledPage() 공개 메소드

public displayScaledPage ( HalfBook, halfbook ) : void
halfbook HalfBook,
리턴 void

getIncName() 공개 메소드

public getIncName ( string name ) : string
name string
리턴 string

logCurrentPage() 공개 메소드

public logCurrentPage ( ) : void
리턴 void

pageChangeButtons() 공개 메소드

public pageChangeButtons ( Rect prev, Rect next ) : void
prev Rect
next Rect
리턴 void

setNameCounter() 공개 메소드

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

setNoCopyDisplay() 공개 메소드

public setNoCopyDisplay ( bool b ) : void
b bool
리턴 void

show() 공개 메소드

public show ( GameObject previous_state ) : void
previous_state GameObject
리턴 void

showCode() 공개 메소드

public showCode ( ) : void
리턴 void

프로퍼티 상세

button_down_texture 공개적으로 프로퍼티

public Texture2D,UnityEngine button_down_texture
리턴 UnityEngine.Texture2D

button_style 공개적으로 프로퍼티

public GUIStyle button_style
리턴 GUIStyle

button_up_texture 공개적으로 프로퍼티

public Texture2D,UnityEngine button_up_texture
리턴 UnityEngine.Texture2D

code_font 공개적으로 프로퍼티

public Font code_font
리턴 Font

code_style 공개적으로 프로퍼티

public GUIStyle code_style
리턴 GUIStyle

copy_button_texture 공개적으로 프로퍼티

public Texture2D,UnityEngine copy_button_texture
리턴 UnityEngine.Texture2D

half_code_style 공개적으로 프로퍼티

public GUIStyle half_code_style
리턴 GUIStyle

next_button_texture 공개적으로 프로퍼티

public Texture2D,UnityEngine next_button_texture
리턴 UnityEngine.Texture2D

pages 공개적으로 프로퍼티

public List pages
리턴 List

prev_button_texture 공개적으로 프로퍼티

public Texture2D,UnityEngine prev_button_texture
리턴 UnityEngine.Texture2D