Class ClipPlayer
Inheritance
System.Object
ClipPlayer
Implements
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
public class ClipPlayer : MonoBehaviour, IClipPlayer
Properties
ScaleMode
Gets or sets the scale mode.
Declaration
public ClipPlayerScaleMode ScaleMode { get; set; }
Property Value
Type | Description |
---|---|
ClipPlayerScaleMode | 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 |
---|---|---|
AnimatedClip | clip | Clip. |
System.Single | startDelay | Optional delay before the playing starts. |
System.Boolean | loop | If set to |
Resume()
Resumes playing.
Declaration
public void Resume()
Stop()
Stops playing.
Declaration
public void Stop()