Platform.OnTriggerEnter C# (CSharp) Méthode

OnTriggerEnter() public méthode

public OnTriggerEnter ( ) : void
Résultat void
    void OnTriggerEnter()
    {
        StartDelayOn = true;
    }

Usage Example

Exemple #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         if (triggerDict[key] == 0)
         {
             key.OnTriggerEnter(other);
         }
         triggerDict[key]++;
     }
 }