Global Object?

Discussion in 'How Can I...?' started by tvalleau, Jul 31, 2019.

  1. tvalleau

    tvalleau Boxer

    Joined:
    Jul 28, 2018
    Messages:
    12
    Likes Received:
    3
    Hi
    I'd like to create an invisible global object, that persists between scenes, and which will have variables and scripts I can access from any other object in any other scene.

    Or.. is that the wrong way to go about it?

    For example, in each scene various objects land at different places. I need to track their position between scenes and determine when a set of criteria are reached. The easiest way I can think of to do that is to create one array of landing positions, and check it regularly. So (it seems to me) that a global array, along with checking and stuffing code, would be optimal...
     

Share This Page