mirror of
https://github.com/PashaBibko/The-Mobius-Line.git
synced 2026-04-04 01:49:07 +00:00
Made first level IG
This commit is contained in:
@@ -5,6 +5,7 @@ public class PortalManager : MonoBehaviour
|
||||
[Header("References")]
|
||||
[SerializeField] GameObject m_OtherPortal;
|
||||
[SerializeField] float m_AngleDif;
|
||||
[SerializeField] float m_CamDif;
|
||||
|
||||
[Header("Set References")]
|
||||
[SerializeField] GameObject m_CameraPrefab;
|
||||
@@ -24,6 +25,8 @@ public class PortalManager : MonoBehaviour
|
||||
// Gets the location of the player relative to the portal
|
||||
public Vector3 PlayerOffset() => m_PlayerPoint.localPosition;
|
||||
|
||||
public float CamDif() => m_CamDif;
|
||||
|
||||
static bool s_TeleportedThisFrame = false;
|
||||
|
||||
// Start is called before the first frame update
|
||||
|
||||
Reference in New Issue
Block a user