Implimented the card

This commit is contained in:
Ranno Samuel Adson
2025-01-07 02:40:37 +02:00
parent 98094a9f5f
commit 7ba5fe1f30
53 changed files with 5686 additions and 6 deletions

View File

@@ -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

View File

@@ -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()