Added basic portals
This commit is contained in:
14
Assets/Scripts/World/PlayerController.cs
Normal file
14
Assets/Scripts/World/PlayerController.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace InterfaceOff.WorldScene
|
||||
{
|
||||
public class PlayerController : MonoBehaviour
|
||||
{
|
||||
private static PlayerController Instance;
|
||||
|
||||
public static void SetPos(Vector3 pos)
|
||||
{
|
||||
Instance.transform.position = pos;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user