示例#1
0
    void directorControl_EnterPreviewMode(object sender, CinemaDirectorArgs e)
    {
        TimelineManager c = e.cutscene as TimelineManager;

        if (c != null)
        {
            c.EnterPreviewMode();
        }
    }
示例#2
0
    void directorControl_PauseCutscene(object sender, CinemaDirectorArgs e)
    {
        Cutscene c = e.cutscene as Cutscene;

        if (c != null)
        {
            c.Pause();
        }
    }
示例#3
0
    void directorControl_ScrubCutscene(object sender, CinemaDirectorArgs e)
    {
        Cutscene c = e.cutscene as Cutscene;

        if (c != null)
        {
            c.ScrubToTime(e.timeArg);
        }
    }
示例#4
0
    void directorControl_EnterPreviewMode(object sender, CinemaDirectorArgs e)
    {
        Cutscene c = e.cutscene as Cutscene;

        if (c != null)
        {
            c.EnterPreviewMode();
        }
    }
示例#5
0
    void directorControl_ScrubCutscene(object sender, CinemaDirectorArgs e)
    {
        TimelineManager c = e.cutscene as TimelineManager;

        if (c != null)
        {
            c.ScrubToTime(e.timeArg);
        }
    }
示例#6
0
    void directorControl_PauseCutscene(object sender, CinemaDirectorArgs e)
    {
        TimelineManager c = e.cutscene as TimelineManager;

        if (c != null)
        {
            c.Pause();
        }
    }
    void directorControl_PlayCutscene(object sender, CinemaDirectorArgs e)
    {
        Cutscene c = e.cutscene as Cutscene;

        if (c != null)
        {
            c.PreviewPlay();
        }
    }
示例#8
0
    void directorControl_SetCutsceneTime(object sender, CinemaDirectorArgs e)
    {
        Cutscene c = e.cutscene as Cutscene;

        if (c != null)
        {
            c.SetRunningTime(e.timeArg);
            cutsceneWrapper.RunningTime = e.timeArg;
        }
    }
示例#9
0
    void directorControl_PlayCutscene(object sender, CinemaDirectorArgs e)
    {
        Cutscene c = e.cutscene as Cutscene;

        if (c != null)
        {
            if (Application.isPlaying)
            {
                c.Play();
            }
            else
            {
                c.PreviewPlay();
            }
        }
    }
示例#10
0
    void directorControl_PlayCutscene(object sender, CinemaDirectorArgs e)
    {
        TimelineManager c = e.cutscene as TimelineManager;

        if (c != null)
        {
            if (Application.isPlaying)
            {
                c.Play();
            }
            else
            {
                c.PreviewPlay();
                previousTime = System.DateTime.Now;
            }
        }
    }
示例#11
0
    void directorControl_PlayCutscene(object sender, CinemaDirectorArgs e)
    {
        Cutscene c = e.cutscene as Cutscene;

        if (c != null)
        {
            if (Application.isPlaying)
            {
                c.Play();
            }
            else
            {
                c.PreviewPlay();
                previousTime   = Time.realtimeSinceStartup;
                m_Time.m_Time  = 0;
                m_Time.m_Frame = 0;
            }
        }
    }
 void directorControl_EnterPreviewMode(object sender, CinemaDirectorArgs e)
 {
     Cutscene c = e.cutscene as Cutscene;
     if (c != null)
     {
         c.EnterPreviewMode();
     }
 }
示例#13
0
 void directorControl_RepaintRequest(object sender, CinemaDirectorArgs e)
 {
     base.Repaint();
 }
 void directorControl_SetCutsceneTime(object sender, CinemaDirectorArgs e)
 {
     Cutscene c = e.cutscene as Cutscene;
     if (c != null)
     {
         c.SetRunningTime(e.timeArg);
         cutsceneWrapper.RunningTime = e.timeArg;
     }
 }
 void directorControl_PlayCutscene(object sender, CinemaDirectorArgs e)
 {
     Cutscene c = e.cutscene as Cutscene;
     if (c != null)
     {
         if (Application.isPlaying)
         {
             c.Play();
         }
         else
         {
             c.PreviewPlay();
         }
     }
 }
 void directorControl_PauseCutscene(object sender, CinemaDirectorArgs e)
 {
     Cutscene c = e.cutscene as Cutscene;
     if (c != null)
     {
         c.Pause();
     }
 }
 void directorControl_ScrubCutscene(object sender, CinemaDirectorArgs e)
 {
     Cutscene c = e.cutscene as Cutscene;
     if (c != null)
     {
         c.ScrubToTime(e.timeArg);
     }
 }