IsPaused() public static method

public static IsPaused ( ) : bool
return bool
Ejemplo n.º 1
0
 public bool isPaused()
 {
     #if BROADCAST_USE_EVERYPLAY
     return(Everyplay.IsPaused());
     #else
     return(false);
     #endif
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Stops the recording of gameplay videos, if running or paused.
 /// </summary>
 public static void StopRecord()
 {
                 #if UNITY_EVERYPLAY
     if (Everyplay.IsRecording() || Everyplay.IsPaused())
     {
         Everyplay.StopRecording();
     }
                 #endif
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Resumes the recording of gameplay videos, if paused.
 /// </summary>
 public static void ResumeRecord()
 {
                 #if UNITY_EVERYPLAY
     if (Everyplay.IsPaused())
     {
         Everyplay.ResumeRecording();
     }
                 #endif
 }
 void Update()
 {
     if (takeRandomShots && Everyplay.IsRecording() && !Everyplay.IsPaused())
     {
         if (Time.time > nextRandomShotTime)
         {
             Everyplay.TakeThumbnail();
             nextRandomShotTime = Time.time + Random.Range(3.0f, 15.0f);
         }
     }
 }
    public bool ResumeRecord()
    {
        bool result = false;

        if (isEnable && Everyplay.IsPaused())
        {
            Everyplay.ResumeRecording();
            result = true;
        }
        return(result);
    }
    public bool StopRecord()
    {
        bool result = false;

        if (isEnable && (Everyplay.IsRecording() || Everyplay.IsPaused()))
        {
            Everyplay.StopRecording();
            result = true;
        }
        return(result);
    }
Ejemplo n.º 7
0
 public bool IsPaused()
 {
     return(Everyplay.IsPaused());
 }