Skip to content

CardboardBoxBehaviour

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

CardboardBoxBehaviour

Namespace: TommoJProductions.ModApi.Attachable

Represents the cardboard box package behaviour.

public class CardboardBoxBehaviour : TommoJProductions.ModApi.Interactions.InteractionRaycast

Inheritance Object → Object → Component → Behaviour → MonoBehaviour → InteractionInteractionRaycastCardboardBoxBehaviour

Fields

cardboardBox

The package.

public CardboardBox cardboardBox;

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

CardboardBoxBehaviour()

public CardboardBoxBehaviour()

Methods

onInteractionUpdate()

Occurs when the player is looking at this interaction every update.

public virtual void onInteractionUpdate()

onInteractionExit()

Occurs when the player was looking at this interaction then exited.

public virtual void onInteractionExit()

Clone this wiki locally