Implimented the card
This commit is contained in:
@@ -372,6 +372,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: ed7dd48665a291a42a30a69bb30f8723, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
destroyAfterTeleport: 0
|
||||
targetPortal: {fileID: 0}
|
||||
normalVisible: {fileID: 873055557422012591}
|
||||
normalInvisible: {fileID: 2204489539885355744}
|
||||
@@ -382,4 +383,5 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
m_Bits: 8388608
|
||||
portalScene: {fileID: 7751003758844882782}
|
||||
occlusionPortal: {fileID: 0}
|
||||
_shouldTeleport: 1
|
||||
|
||||
@@ -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