C# Class Epigene.UI.UIImage

Image class for a simple image with multiple sprites
Inheritance: UIBaseObject
Afficher le fichier Open project: fi-content2-games-platform/FIcontent.Gaming.Enabler.phenomobilecharactermanager Class Usage Examples

Méthodes publiques

Свойство Type Description
blinkNumber int
blinkSpeed double

Protected Properties

Свойство Type Description
image UnityEngine.UI.Image
lockSprite bool
sprites UnityEngine.Sprite[]

Méthodes publiques

Méthode Description
GetSprite ( ) : Sprite

Get the current sprite

UIImage ( object>.Dictionary dict, SortingOrder46 order = null ) : UnityEngine

Constructor for create ui image from dicitionary.

UIImage ( GameObject gameObject, Sprite sprites ) : UnityEngine

UIImage Ctor from basic elements

Méthodes protégées

Méthode Description
Parse ( object>.Dictionary dict ) : void

Parse the content of the dictionary and create a new gameobjet with this parameters

Method Details

GetSprite() public méthode

Get the current sprite
public GetSprite ( ) : Sprite
Résultat UnityEngine.Sprite

Parse() protected méthode

Parse the content of the dictionary and create a new gameobjet with this parameters
protected Parse ( object>.Dictionary dict ) : void
dict object>.Dictionary
Résultat void

UIImage() public méthode

Constructor for create ui image from dicitionary.
public UIImage ( object>.Dictionary dict, SortingOrder46 order = null ) : UnityEngine
dict object>.Dictionary
order SortingOrder46
Résultat UnityEngine

UIImage() public méthode

UIImage Ctor from basic elements
public UIImage ( GameObject gameObject, Sprite sprites ) : UnityEngine
gameObject UnityEngine.GameObject
sprites UnityEngine.Sprite
Résultat UnityEngine

Property Details

blinkNumber public_oe property

Number of blinks requried
public int blinkNumber
Résultat int

blinkSpeed public_oe property

speed of blinking
public double blinkSpeed
Résultat double

image protected_oe property

/// Every image needs a sprite renderer ///
protected Image,UnityEngine.UI image
Résultat UnityEngine.UI.Image

lockSprite protected_oe property

protected bool lockSprite
Résultat bool

sprites protected_oe property

sprite sheets of this image
protected Sprite[],UnityEngine sprites
Résultat UnityEngine.Sprite[]