Class ClipPlayerUI
Inheritance
System.Object
ClipPlayerUI
Implements
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
public class ClipPlayerUI : MonoBehaviour, IClipPlayer
Properties
ScaleMode
Gets or sets the scale mode.
Declaration
public ClipPlayerScaleMode ScaleMode { get; set; }
Property Value
Type | Description |
---|---|
Clip |
The scale mode. |
Methods
Pause()
Pauses the player.
Declaration
public void Pause()
Play(AnimatedClip, Single, Boolean)
Play the specified clip.
Declaration
public void Play(AnimatedClip clip, float startDelay = 0F, bool loop = true)
Parameters
Type | Name | Description |
---|---|---|
Animated |
clip | Clip. |
System. |
startDelay | Optional delay before the playing starts. |
System. |
loop | If set to |
Resume()
Resumes playing.
Declaration
public void Resume()
Stop()
Stops playing.
Declaration
public void Stop()