C# Class MinigamePexeso.Flipper

Flipper script. Addached to tiles. Ensures flipping the tile image up and down.
Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: BrainProject/UnityTemp

Méthodes publiques

Свойство Type Description
imageSideUp bool
isMoving bool
moveSpeed float

Méthodes publiques

Méthode Description
Flip ( ) : void

Flip tile.

FlipImageDown ( ) : void

Flip tile image down.

FlipImageUp ( ) : void

Flip tile image up.

Private Methods

Méthode Description
flipAnimation ( ) : IEnumerator

Flip coroutine. Flips this tile.

Method Details

Flip() public méthode

Flip tile.
public Flip ( ) : void
Résultat void

FlipImageDown() public méthode

Flip tile image down.
public FlipImageDown ( ) : void
Résultat void

FlipImageUp() public méthode

Flip tile image up.
public FlipImageUp ( ) : void
Résultat void

Property Details

imageSideUp public_oe property

is tile flipped by image side up?
public bool imageSideUp
Résultat bool

isMoving public_oe property

is tile moving?
public bool isMoving
Résultat bool

moveSpeed public_oe property

speed of flipping animation
public float moveSpeed
Résultat float