C# Class Epigene.UI.UIVideo

Inheritance: UIBaseObject
Show file Open project: fi-content2-games-platform/FIcontent.Gaming.Enabler.phenomobilecharactermanager Class Usage Examples

Public Properties

Property Type Description
movie UnityEngine.MovieTexture

Public Methods

Method Description
Load ( string name ) : void

Load a video from streaming assets

Parse ( object>.Dictionary dict ) : void

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

Pause ( ) : void

Pause the video

Play ( ) : void

Play the video

Stop ( ) : void

Stop the video

UIVideo ( GameObject gameObject ) : UnityEngine

default ctor

UIVideo ( GameObject gameObject, object>.Dictionary dict ) : UnityEngine

ctor for create from dictionary

Method Details

Load() public method

Load a video from streaming assets
public Load ( string name ) : void
name string
return void

Parse() public method

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

Pause() public method

Pause the video
public Pause ( ) : void
return void

Play() public method

Play the video
public Play ( ) : void
return void

Stop() public method

Stop the video
public Stop ( ) : void
return void

UIVideo() public method

default ctor
public UIVideo ( GameObject gameObject ) : UnityEngine
gameObject UnityEngine.GameObject
return UnityEngine

UIVideo() public method

ctor for create from dictionary
public UIVideo ( GameObject gameObject, object>.Dictionary dict ) : UnityEngine
gameObject UnityEngine.GameObject
dict object>.Dictionary
return UnityEngine

Property Details

movie public property

video texture to play
public MovieTexture,UnityEngine movie
return UnityEngine.MovieTexture