C# Class Puzzle.PuzzlePiece

Afficher le fichier Open project: BrainProject/UnityTemp Class Usage Examples

Méthodes publiques

Свойство Type Description
bottom int
gameObject UnityEngine.GameObject
left int
right int
top int

Méthodes publiques

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

Method Details

PuzzlePiece() public méthode

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
Résultat UnityEngine

SetGameObjectPosition() public méthode

public SetGameObjectPosition ( Vector3 position ) : void
position UnityEngine.Vector3
Résultat void

Property Details

bottom public_oe property

public int bottom
Résultat int

gameObject public_oe property

public GameObject,UnityEngine gameObject
Résultat UnityEngine.GameObject

left public_oe property

public int left
Résultat int

right public_oe property

public int right
Résultat int

top public_oe property

public int top
Résultat int