C# Class recipeViewer, CSE110M240T10

Inheritance: MonoBehaviour
Show file Open project: ucsdCSE110wi16/CSE110M240T10 Class Usage Examples

Public Properties

Property Type Description
Instance recipeViewer,
imageObject Image
imageSize int
panel GameObject
recipeInstructions Text
scrollPanel UnityEngine.RectTransform
textSize int

Public Methods

Method Description
Awake ( ) : void
draw ( recipe, result ) : void
setImage ( Texture2D img ) : void
toTop ( ) : void

Private Methods

Method Description
addLine ( string text ) : void
addNewLine ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

draw() public method

public draw ( recipe, result ) : void
result recipe,
return void

setImage() public method

public setImage ( Texture2D img ) : void
img UnityEngine.Texture2D
return void

toTop() public method

public toTop ( ) : void
return void

Property Details

Instance public static property

public static recipeViewer, Instance
return recipeViewer,

imageObject public property

public Image imageObject
return Image

imageSize public property

public int imageSize
return int

panel public property

public GameObject panel
return GameObject

recipeInstructions public property

public Text recipeInstructions
return Text

scrollPanel public property

public RectTransform,UnityEngine scrollPanel
return UnityEngine.RectTransform

textSize public property

public int textSize
return int