C# Class Epigene.UI.UIImage

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

Public Properties

Property Type Description
blinkNumber int
blinkSpeed double

Protected Properties

Property Type Description
image UnityEngine.UI.Image
lockSprite bool
sprites UnityEngine.Sprite[]

Public Methods

Method 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

Protected Methods

Method Description
Parse ( object>.Dictionary dict ) : void

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

Method Details

GetSprite() public method

Get the current sprite
public GetSprite ( ) : Sprite
return UnityEngine.Sprite

Parse() protected method

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

UIImage() public method

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

UIImage() public method

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

Property Details

blinkNumber public_oe property

Number of blinks requried
public int blinkNumber
return int

blinkSpeed public_oe property

speed of blinking
public double blinkSpeed
return double

image protected_oe property

/// Every image needs a sprite renderer ///
protected Image,UnityEngine.UI image
return UnityEngine.UI.Image

lockSprite protected_oe property

protected bool lockSprite
return bool

sprites protected_oe property

sprite sheets of this image
protected Sprite[],UnityEngine sprites
return UnityEngine.Sprite[]