-
Notifications
You must be signed in to change notification settings - Fork 16
Interaction
Tommo J. Phillips edited this page Oct 22, 2023
·
3 revisions
Namespace: TommoJProductions.ModApi.Interactions
Represents a base interaction.
public abstract class Interaction : UnityEngine.MonoBehaviourInheritance Object → Object → Component → Behaviour → MonoBehaviour → Interaction
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
shows/hides the interaction text.
public bool use(bool mouseOver)mouseOver Boolean
shows/hides the interaction text with an override for the text.
public bool use(string interactionString, bool mouseOver)interactionString String
mouseOver Boolean