Exemplo n.º 1
0
    /// <summary>
    /// StartStory is called when the Start Story button is clicked, and it calls
    /// the ClearObjectPlacementButtons function in the ButtonHandler script.
    /// </summary>
    public void StartStory()
    {
        /// Make all object placement buttons inactive.
        _scriptReference.ClearObjectPlacementButtons();

        /// Set all components involved with the preview model to inactive.
        _modelDisplayBackground.SetActive(false);
        _modelDisplayCamera.SetActive(false);
        _modelDisplayRender.SetActive(false);
    }