Spelunx Cavern SDK
Loading...
Searching...
No Matches
Interaction.cs
Go to the documentation of this file.
1
using
UnityEngine;
2
3
namespace
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
}
Spelunx.Vive.Interaction
Definition:
Interaction.cs:4
Spelunx.Vive.Interaction.SetTarget
void SetTarget(Transform target)
Definition:
Interaction.cs:7
Spelunx.Vive.Interaction.GetTarget
Transform GetTarget()
Definition:
Interaction.cs:8
Spelunx.Vive.Interaction.target
Transform target
Definition:
Interaction.cs:5
Spelunx.Vive
Definition:
CavernInteraction.cs:4
CavernSDK
Packages
com.spelunx.cavern.vive-trackers
Runtime
Scripts
Interactions
Interaction.cs
Generated by
1.9.6