Platform.OnTriggerEnter C# (CSharp) 메소드

OnTriggerEnter() 공개 메소드

public OnTriggerEnter ( ) : void
리턴 void
    void OnTriggerEnter()
    {
        StartDelayOn = true;
    }

Usage Example

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