void Awake() { inventory = TagResolver.i.inventory; PlayerData pd = LoadManager.Load(); if (pd != null) { Player player = TagResolver.i.player; player.transform.position = LoadManager.GetPlayerPosition(); player.transform.rotation = Quaternion.Euler(0, pd.playerRotationY, 0); } }