Implimented the card
This commit is contained in:
@@ -67,10 +67,10 @@ public class StencilPortal : MonoBehaviour
|
||||
|
||||
private void OnTriggerExit(Collider other)
|
||||
{
|
||||
/*if (!_shouldTeleport || IsInvoking(nameof(AllowTeleport))) return;
|
||||
if (!_shouldTeleport || IsInvoking(nameof(AllowTeleport))) return;
|
||||
if (!other.CompareTag("Player")) return;
|
||||
Debug.Log(transform.name + " player exited");
|
||||
Invoke(nameof(AllowTeleport), 1f);*/
|
||||
Invoke(nameof(AllowTeleport), 1f);
|
||||
}
|
||||
|
||||
private void AllowTeleport()
|
||||
|
||||
Reference in New Issue
Block a user