示例#1
0
 private void PollPressurePlateTrigger()
 {
     if (plate.GetTriggeredState() && !active)
     {
         active = true;
     }
     else if (!plate.GetTriggeredState() && active)
     {
         active = false;
     }
 }