campfire/Assets/Scripts/TeleportTerrain.cs

24 lines
528 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR.InteractionSystem;
public class TeleportTerrain : TeleportMarkerBase {
public override void UpdateVisuals() {
}
public override void Highlight(bool highlight) {
}
public override void SetAlpha(float tintAlpha, float alphaPercent) {
}
public override bool ShouldActivate(Vector3 playerPosition) {
return true;
}
public override bool ShouldMovePlayer() {
return true;
}
}