Class WaitForTrigger
  
  
  
    Inheritance
    
    
    
    WaitForTrigger
   
  
  
  Assembly: Unity.Muse.Behavior.dll
  Syntax
  
    [Serializable]
[NodeDescription("Wait For Trigger", "Waits for an OnTrigger event on the specified agent.", "Wait for [TriggerType] on [Agent]", "", "Action/Physics", "d8b09f7730a93ec5e2b0f0f5a09daa07", null, "C:\\temp\\com.unity.muse.behavior@0.11\\Packages\\com.unity.muse.behavior\\Runtime\\Execution\\Nodes\\Actions\\Conditional\\WaitForTriggerAction.cs")]
public class WaitForTrigger : Action
   
  Fields
  Agent
  
  
  Declaration
  
    [SerializeReference]
public BlackboardVariable<GameObject> Agent
   
  Field Value
  
  CollideObject
  
  
  Declaration
  
    [SerializeReference]
public BlackboardVariable<GameObject> CollideObject
   
  Field Value
  
  Tag
  
  
  Declaration
  
    [SerializeReference]
public BlackboardVariable<string> Tag
   
  Field Value
  
  TriggerType
  
  
  Declaration
  
    [SerializeReference]
public BlackboardVariable<WaitForTrigger.ETriggerType> TriggerType
   
  Field Value
  
  Methods
  
  OnEnd()
  OnEnd is called when the node has stopped running.
 
  
  Declaration
  
    protected override void OnEnd()
   
  Overrides
  
  
  OnStart()
  OnStart is called when the node starts running.
 
  
  Declaration
  
    protected override Node.Status OnStart()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Node.Status | 
        The status of the node. 
 | 
      
    
  
  Overrides
  
  
  OnUpdate()
  OnUpdate is called each frame while the node is running.
 
  
  Declaration
  
    protected override Node.Status OnUpdate()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | Node.Status | 
        The status of the node. 
 | 
      
    
  
  Overrides