- Home /
Timeline Button problem
Hey, I want to make an intro for a game and on the last slide I would like the Play button to appear at the same time. The button appears but it is not clickable, what can i do? It looks something like this:
Answer by keroltarr · Mar 05 at 08:35 PM
I can't tell for sure without seeing your code but I wonder if the input system you are using to cycle through the other texts could be blocking you ability to click on the button.
The button is the only one that has a simple code (when pressed you are taken to the next scene)
And the timeline looks something like this:
would you mind sharing the code for the button?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour
{
public void PlayGame()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
}
public void QuitGame()
{
Debug.Log("QUIT!");
Application.Quit();
}
}
This code is for the Quit button to.
Your answer
Follow this Question
Related Questions
How to activate an object after another is deactivated 1 Answer
How to create a delay before playing an animation 1 Answer
How to get to pass multiple informations through button click ? 1 Answer
Sprites not recognized as whole-spinning in different directions 0 Answers
Prefab to a tile script 0 Answers