Show / Hide Table of Contents

Interface ISubject

Implement this interface to allow something to be recorded by the system.

Namespace: RecordAndPlay.Record
Assembly: RecordAndPlay.dll
Syntax
public interface ISubject

Methods

GetID()

The unique ID (on a per recording basis) of the subject.

Declaration
int GetID()
Returns
Type Description
System.Int32

The unique ID (on a per recording basis) of the subject.

GetName()

The name of the subject

Declaration
string GetName()
Returns
Type Description
System.String

The name of the subject

GetPosition()

The current position of the subject

Declaration
Vector3 GetPosition()
Returns
Type Description
UnityEngine.Vector3

The current position of the subject

GetRotation()

The current rotation of the subject in euler angles.

Declaration
Vector3 GetRotation()
Returns
Type Description
UnityEngine.Vector3

The current rotation of the subject in euler angles.

Back to top Generated by DocFX