C# Class CodeScrollItem, CodeSpells

Inheritance: DraggableItem
Show file Open project: srfoster/CodeSpells Class Usage Examples

Public Properties

Property Type Description
file_name string

Public Methods

Method Description
DroppedOn ( GameObject target ) : void
DroppedOnInventory ( Vector3 mousePosition ) : void
IsCompilable ( ) : bool
SetCompilable ( ) : void
absorbSpell ( GameObject target ) : void
castSpell ( GameObject target ) : void
getIDEInput ( ) : IDEInput,
getSpellName ( ) : string
getTexture ( ) : Texture2D
setCurrentFile ( string file_name ) : void

Protected Methods

Method Description
Drag ( ) : void

Private Methods

Method Description
isEmpty ( ) : bool

Method Details

Drag() protected method

protected Drag ( ) : void
return void

DroppedOn() public method

public DroppedOn ( GameObject target ) : void
target GameObject
return void

DroppedOnInventory() public method

public DroppedOnInventory ( Vector3 mousePosition ) : void
mousePosition Vector3
return void

IsCompilable() public method

public IsCompilable ( ) : bool
return bool

SetCompilable() public method

public SetCompilable ( ) : void
return void

absorbSpell() public method

public absorbSpell ( GameObject target ) : void
target GameObject
return void

castSpell() public method

public castSpell ( GameObject target ) : void
target GameObject
return void

getIDEInput() public method

public getIDEInput ( ) : IDEInput,
return IDEInput,

getSpellName() public method

public getSpellName ( ) : string
return string

getTexture() public method

public getTexture ( ) : Texture2D
return UnityEngine.Texture2D

setCurrentFile() public method

public setCurrentFile ( string file_name ) : void
file_name string
return void

Property Details

file_name public property

public string file_name
return string