Question by
MichaelABC · Nov 06, 2021 at 02:37 PM ·
arrayslists
How to store objects and then call them?
I don't know whether call is the right expression, but basically I need to store somewhere in memory objects that my player collects and then shoot them out in reverse order (from the last one collected to the first one) by the press of a button.
What is the best method to do something like this?
Comment
Answer by unity_T2ElA1_f_nsORw · Nov 06, 2021 at 03:43 PM
not sure but you could possibly make use of public GameObject pauseMenuUI;
and pauseMenuUI.SetActive(false);
pauseMenuUI.SetActive(true);