Skip to content

PryBehaviour

Tommo J. Phillips edited this page Oct 22, 2023 · 3 revisions

PryBehaviour

Namespace: TommoJProductions.ModApi.Attachable

Represents the crate pry behaviour.

public class PryBehaviour : TommoJProductions.ModApi.Interactions.InteractionRaycast

Inheritance Object → Object → Component → Behaviour → MonoBehaviour → InteractionInteractionRaycastPryBehaviour

Fields

crate

The crate package.

public Crate crate;

panelIndex

The panel index (0 - 5)

public int panelIndex;

index

The pry interaction index (0 - 3)

public int index;

Properties

interactionString

Represents the string to use.

public virtual string interactionString { get; }

Property Value

String

useGUILayout

public bool useGUILayout { get; set; }

Property Value

Boolean

enabled

public bool enabled { get; set; }

Property Value

Boolean

isActiveAndEnabled

public bool isActiveAndEnabled { get; }

Property Value

Boolean

transform

public Transform transform { get; }

Property Value

Transform

gameObject

public GameObject gameObject { get; }

Property Value

GameObject

tag

public string tag { get; set; }

Property Value

String

name

public string name { get; set; }

Property Value

String

hideFlags

public HideFlags hideFlags { get; set; }

Property Value

HideFlags

Constructors

PryBehaviour()

public PryBehaviour()

Methods

onInteractionEnter()

public virtual void onInteractionEnter()

onInteractionUpdate()

public virtual void onInteractionUpdate()

onInteractionExit()

public virtual void onInteractionExit()
Clone this wiki locally