campfire/Assets/Scripts/TeleportTerrain.cs

24 lines
528 B
C#
Raw Permalink Normal View History

2020-04-29 23:31:45 +02:00
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;
}
}