Bug DirectorGUI with FadeIn/Out

Slate Forums Support Bug DirectorGUI with FadeIn/Out

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #579
    magicpotato
    Participant

    Hello,

    Here is a new issue with DirectorGUI.

    1) I make simple CutScene 1 that uses FadeIn and Out
    2) I make simple CutScene 2 that didn’t uses FadeIn.
    3) The game screen will be black on playing CutScene2 after CutScene1.

    I sent a email with a project to reproduce.

    This is CutScene1. And Game screen.

    SLATE-FadeBug01
    SLATE-FadeBug03

    This is CutScene2. And Game screen.

    SLATE-FadeBug02
    SLATE-FadeBug04

    Code is
    [code]
    public class CutScenePlayer : MonoBehaviour
    {
    public Slate.Cutscene CutScene1;
    public Slate.Cutscene CutScene2;

    // Use this for initialization
    IEnumerator Start ()
    {
    Debug.Log(“CutScene 1 Play Start”);
    CutScene1.Play(() => { Debug.Log(“CutScene 1 Play End”); });

    yield return new WaitForSeconds(1.2f);

    Debug.Log(“CutScene 2 Play Start”);
    CutScene2.Play( () => { Debug.Log(“CutScene 2 Play End”); } );
    }
    }
    [/code]

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #591
    Gavalakis
    Keymaster

    Hello,

    Thanks for the report.
    To fix this quickly, please open up DirectorGUI.cs and add this piece of code somewhere within the class:

    I will fix this properly in the next version of course.
    Thanks again!

    Join us on Discord: https://discord.gg/97q2Rjh

    #594
    magicpotato
    Participant

    Oh Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.