Spelunx Cavern SDK
 
Loading...
Searching...
No Matches
Interaction.cs
Go to the documentation of this file.
1using UnityEngine;
2
3namespace Spelunx.Vive {
4 public abstract class Interaction : MonoBehaviour {
5 [SerializeField] protected Transform target; // The transform the object reacts to
6
7 public void SetTarget(Transform target) { this.target = target; }
8 public Transform GetTarget() { return target; }
9 }
10}
void SetTarget(Transform target)
Definition: Interaction.cs:7