Easy Mobile API Reference 2.18
  • Pro
    • Pro
    • Basic

    Show / Hide Table of Contents

    Class ClipPlayerUI

    Inheritance
    System.Object
    ClipPlayerUI
    Implements
    IClipPlayer
    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
    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 true loop indefinitely.

    Resume()

    Resumes playing.

    Declaration
    public void Resume()

    Stop()

    Stops playing.

    Declaration
    public void Stop()

    Implements

    IClipPlayer
    In This Article
    • Properties
      • ScaleMode
    • Methods
      • Pause()
      • Play(AnimatedClip, Single, Boolean)
      • Resume()
      • Stop()
    • Implements