C# Class Puzzle.PuzzlePiece

Mostra file Open project: BrainProject/UnityTemp Class Usage Examples

Public Properties

Property Type Description
bottom int
gameObject UnityEngine.GameObject
left int
right int
top int

Public Methods

Method Description
PuzzlePiece ( Texture2D texture, int index, int puzzle_width, int puzzle_height, Shader shader ) : UnityEngine
SetGameObjectPosition ( Vector3 position ) : void

Method Details

PuzzlePiece() public method

public PuzzlePiece ( Texture2D texture, int index, int puzzle_width, int puzzle_height, Shader shader ) : UnityEngine
texture UnityEngine.Texture2D
index int
puzzle_width int
puzzle_height int
shader UnityEngine.Shader
return UnityEngine

SetGameObjectPosition() public method

public SetGameObjectPosition ( Vector3 position ) : void
position UnityEngine.Vector3
return void

Property Details

bottom public_oe property

public int bottom
return int

gameObject public_oe property

public GameObject,UnityEngine gameObject
return UnityEngine.GameObject

left public_oe property

public int left
return int

right public_oe property

public int right
return int

top public_oe property

public int top
return int