C# Class Enchantable, CodeSpells

Inheritance: MonoBehaviour
ファイルを表示 Open project: srfoster/CodeSpells Class Usage Examples

Public Properties

Property Type Description
audio_clip UnityEngine.AudioClip
do_restrictions bool
id string
particles GameObject

Public Methods

Method Description
Init ( ) : void
OnApplicationQuit ( ) : void
Start ( ) : void
Update ( ) : void
disenchant ( ) : string
disenchant ( string name ) : void
enchant ( June, june, EnchantmentFinishedCallback callback ) : void
getFileName ( ) : string
getFileNames ( ) : List
getId ( ) : string
getJune ( ) : June,
hasRunningEnchantment ( ) : bool
isEnchanted ( ) : bool
setCallback ( EnchantmentFinishedCallback callback ) : void
setId ( string new_id ) : void
stopAll ( ) : void

Private Methods

Method Description
disenchantAnimation ( ) : void
enchantAnimation ( ) : IEnumerator

Method Details

Init() public method

public Init ( ) : void
return void

OnApplicationQuit() public method

public OnApplicationQuit ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

disenchant() public method

public disenchant ( ) : string
return string

disenchant() public method

public disenchant ( string name ) : void
name string
return void

enchant() public method

public enchant ( June, june, EnchantmentFinishedCallback callback ) : void
june June,
callback EnchantmentFinishedCallback
return void

getFileName() public method

public getFileName ( ) : string
return string

getFileNames() public method

public getFileNames ( ) : List
return List

getId() public method

public getId ( ) : string
return string

getJune() public method

public getJune ( ) : June,
return June,

hasRunningEnchantment() public method

public hasRunningEnchantment ( ) : bool
return bool

isEnchanted() public method

public isEnchanted ( ) : bool
return bool

setCallback() public method

public setCallback ( EnchantmentFinishedCallback callback ) : void
callback EnchantmentFinishedCallback
return void

setId() public method

public setId ( string new_id ) : void
new_id string
return void

stopAll() public method

public stopAll ( ) : void
return void

Property Details

audio_clip public_oe property

public AudioClip,UnityEngine audio_clip
return UnityEngine.AudioClip

do_restrictions public_oe property

public bool do_restrictions
return bool

id public_oe property

public string id
return string

particles public_oe property

public GameObject particles
return GameObject