small fixes
This commit is contained in:
@@ -28,15 +28,11 @@ public class SceneManager
|
||||
if (spawn.name.ToLower() == _spawnLocationName.ToLower())
|
||||
{
|
||||
var interactable = spawn.GetComponent<BaseInteractableObject>();
|
||||
Player.Instance.SetPosition(interactable._interactionPoint.position);
|
||||
Player.Instance.Rotate(interactable._interactionPoint.forward * -1);
|
||||
Player.Instance.SetPosition(interactable._interactionPoint);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Player.Instance.SetPosition(Vector3.zero);
|
||||
}
|
||||
GameManager.Instance.Camera.ResetToPlayerPosition();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user