CanvasBillboard.Show C# (CSharp) Method

Show() public method

Shows the billboard.
public Show ( float delayInSeconds = 0.0f ) : void
delayInSeconds float
return void
    public void Show(float delayInSeconds = 0.0f)
    {
        if (canvasGroup != null)
        {
            // stop currently updating fades
            if (isFading)
            {
                StopAllCoroutines();
            }

            // start fade
            StartCoroutine(Fade(canvasGroup.alpha, 1.0f, FADE_DURATION_SECONDS, delayInSeconds, null));
        }
    }