Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+1)

FOR ANYONE IN 2024:

You can use it in Unity 2022.3, But there are some scripts you gotta fix before you hit playmode bc GUI is no longer a thing, here are the fixed scripts (NOTE: You will have to exit safe mode to install TMPro):


using System.Collections;

using System.Collections.Generic;

using UnityEngine;

using UnityEngine.UI; // Use UnityEngine.UI for UI components

using UnityEngine.SceneManagement; // Required for SceneManager

using UnityStandardAssets.CrossPlatformInput; // Ensure you have the correct namespace

[RequireComponent(typeof(Image))] // Correct type

public class ForcedReset : MonoBehaviour

{

    private void Update()

    {

        // if we have forced a reset ...

        if (CrossPlatformInputManager.GetButtonDown("ResetObject"))

        {

            //... reload the scene

            SceneManager.LoadScene(SceneManager.GetActiveScene().name); // Use GetActiveScene() for current scene

        }

    }

}


using System.Collections;

using System.Collections.Generic;

using UnityEngine;

using UnityEngine.UI;

using TMPro;

namespace UnityStandardAssets.Utility

{

    public class SimpleActivatorMenu : MonoBehaviour

    {

        // An incredibly simple menu which, when given references

        // to gameobjects in the scene

        public TextMeshProUGUI camSwitchButton;

        public GameObject[] objects;

        private int m_CurrentActiveObject;

        private void OnEnable()

        {

            // active object starts from first in array

            m_CurrentActiveObject = 0;

            camSwitchButton.text = objects[m_CurrentActiveObject].name;

        }

        public void NextCamera()

        {

            int nextactiveobject = m_CurrentActiveObject + 1 >= objects.Length ? 0 : m_CurrentActiveObject + 1;

            for (int i = 0; i < objects.Length; i++)

            {

                objects[i].SetActive(i == nextactiveobject);

            }

            m_CurrentActiveObject = nextactiveobject;

            camSwitchButton.text = objects[m_CurrentActiveObject].name;

        }

    }

}


Hope this is helpful :)

Hello Della Cerra Development! Thank you so much for taking the time to not only report a problem but also provide a fix. I really appreciate that! I believe your post will help a lot of people.

My pleasure! I'm happy to know that people will be able to get some help from my post

I really appreciate the effort you put into the pack, it's amazing! I suck at making trees so this is a huge help for me. Least I could do is help others :) 

Thank you! I am so glad to hear you have been able to use it! With all the help and support I have received from others, it is the least I could do.

Are there any games or assets you want to go on sale next?

I'm actually rather hoping for the clouds, they look so cool!

Sure thing! I'll run a sale on that when this sale is over 👍

Nice! Thanks!