Hey, I just wonder if someone know how to move an object in the beginning of a scene that I don’t even notice it.

Been trying to implent a score script to my game and I managed to do that and make it survive from one scene to another when I die but the problem is now I can’t get it to move to another spot on the next scene - Anyone got any ideas, please share then.

Ps, it’s an GUI text I’m trying to move…

I don't know why you'd wanna move a GUI element around like that, but still...

When you load a scene, all the objects in it are loaded, including those which were not destroyed during a new level load. You can use this script in order to make the object singular (as in keep only one universal non-destroyable copy):

`

using UnityEngine;

using System.Collections;

public class SingularObject : MonoBehaviour

{

void Awake() 

{

    string prevName = name;

    name = "";

    GameObject other;

    if (other = GameObject.Find(prevName))

    {

        other.SendMessage("OnSceneReloaded", SendMessageOptions.DontRequireReceiver);

        DestroyImmediate(gameObject);

        return;

    }

    name = prevName;

    DontDestroyOnLoad(gameObject);

}

}

`

Just attach the script to any object and be sure to give the object a unique name across ALL your levels. Then, you'll know the scene's been reloaded when the OnSceneReloaded method of your script is called. That's where you can do the moving around, if you like.