Exemplo n.º 1
0
 private void Awake()
 {
     if (Instance != null)
     {
         Destroy(Instance.gameObject);
     }
     Instance = this;
     UI       = GameObject.Find("Main Camera");
     Player   = GameObject.Find("Player");
     Player.transform.position    = GameObject.Find("Start").gameObject.transform.position;
     Wallpaper.transform.position = GameObject.Find("Start").gameObject.transform.position + OffsetWallpaper;
 }
Exemplo n.º 2
0
 private void Start()
 {
     TeleportRoomSettingsScript = TeleportRoomSettingsScript.Instance;
 }