scripts
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x02000A7D RID: 2685
|
||||
[DisallowMultipleComponent]
|
||||
public abstract class TeleportRestriction : MonoBehaviour
|
||||
{
|
||||
// Token: 0x1700080B RID: 2059
|
||||
// (get) Token: 0x060147B8 RID: 83896 RVA: 0x005BBCEC File Offset: 0x005B9EEC
|
||||
// (set) Token: 0x060147B9 RID: 83897 RVA: 0x005BBCF4 File Offset: 0x005B9EF4
|
||||
public bool JHLBKOMAGHD { get; protected set; }
|
||||
|
||||
// Token: 0x060147BA RID: 83898 RVA: 0x005BBD00 File Offset: 0x005B9F00
|
||||
protected virtual void Awake()
|
||||
{
|
||||
if (base.gameObject.layer != 14 && !base.CompareTag("TeleportRegion"))
|
||||
{
|
||||
Debug.LogError("Teleport Restriction " + base.name + " is not in the TeleportRegion layer or marked with the TeleportRegion tag.");
|
||||
}
|
||||
this.JHLBKOMAGHD = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user