-
Notifications
You must be signed in to change notification settings - Fork 17
PryBehaviour
Tommo J. Phillips edited this page Oct 22, 2023
·
3 revisions
Namespace: TommoJProductions.ModApi.Attachable
Represents the crate pry behaviour.
public class PryBehaviour : TommoJProductions.ModApi.Interactions.InteractionRaycast
Inheritance Object → Object → Component → Behaviour → MonoBehaviour → Interaction → InteractionRaycast → PryBehaviour
The crate package.
public Crate crate;
The panel index (0 - 5)
public int panelIndex;
The pry interaction index (0 - 3)
public int index;
Represents the string to use.
public virtual string interactionString { get; }
public bool useGUILayout { get; set; }
public bool enabled { get; set; }
public bool isActiveAndEnabled { get; }
public Transform transform { get; }
Transform
public GameObject gameObject { get; }
GameObject
public string tag { get; set; }
public string name { get; set; }
public HideFlags hideFlags { get; set; }
HideFlags
public PryBehaviour()
public virtual void onInteractionEnter()
public virtual void onInteractionUpdate()
public virtual void onInteractionExit()