-
Notifications
You must be signed in to change notification settings - Fork 16
TriggerData
Tommo J. Phillips edited this page Oct 22, 2023
·
2 revisions
Namespace: TommoJProductions.ModApi.Attachable
. Parts (Part.triggerData) can be installed to triggers (TriggerCallback.triggerData) that have the same TriggerData.
public class TriggerData : UnityEngine.ScriptableObjectInheritance Object → Object → ScriptableObject → TriggerData
Represents the ID of this TriggerData.
public string id { get; }public string name { get; set; }public HideFlags hideFlags { get; set; }HideFlags
public TriggerData()Creates a new instance of trigger data with an id of .
public static TriggerData createTriggerData(string id)id String
The ID of this trigger data.