示例#1
0
 public InteractableTrigger(InteractableTrigger value)
 {
     InteractableToTrigger     = value.InteractableToTrigger;
     InteractableTriggerCause  = value.InteractableTriggerCause;
     InteractableTriggerEffect = value.InteractableTriggerEffect;
     InteractableTriggerValue  = value.InteractableTriggerValue;
     InteractableTriggerAction = value.InteractableTriggerAction;
     Invert = value.Invert;
     DontCauseTriggerEffect = value.DontCauseTriggerEffect;
 }
示例#2
0
 public InteractableTrigger(Interactable interactableToTrigger, InteractableTriggerCauses interactableTriggerCause,
                            InteractableTriggerEffect interactableTriggerEffect, InteractableTriggerAction interactableTriggerAction,
                            float interactableTriggerValue, bool invert, bool dontCauseTriggerEffect)
 {
     InteractableToTrigger     = interactableToTrigger;
     InteractableTriggerCause  = interactableTriggerCause;
     InteractableTriggerEffect = interactableTriggerEffect;
     InteractableTriggerValue  = interactableTriggerValue;
     InteractableTriggerAction = interactableTriggerAction;
     Invert = invert;
     DontCauseTriggerEffect = dontCauseTriggerEffect;
 }