Guides

VRTK_BaseObjectControlAction

Overview

Provides a base that all object control actions can inherit from.

Script Usage:

This is an abstract class that is to be inherited to a concrete class that provides object control action functionality, therefore this script should not be directly used.

Inspector Parameters

  • Object Control Script: The Object Control script to receive axis change events from.
  • Listen On Axis Change: Determines which Object Control Axis event to listen to.

Class Variables

  • public enum AxisListeners - The axis to listen to changes on.
    • XAxisChanged - Listen for changes on the horizontal X axis.
    • YAxisChanged - Listen for changes on the vertical y axis.

Did this page help you?