EventReady() 공개 메소드

public EventReady ( string name ) : bool
name string
리턴 bool
 private void CheckGaze()
 {
     if (GazeChanged() && cardboard.EventReady("OnChange"))
     {
         ReportGazeChange();
     }
     if (!stared && Staring() && cardboard.EventReady("OnStare"))
     {
         ReportStare();
     }
     currentObject = Object();
 }
 private void CheckKey()
 {
     if (KeyFor("down") && cardboard.EventReady("OnDown"))
     {
         ReportDown();
     }
     if (KeyFor("up") && cardboard.EventReady("OnUp"))
     {
         ReportUp();
     }
 }
 private void CheckOrientation()
 {
     if (IsTilted() || KeyFor("tilt"))
     {
         if (!tiltReported && cardboard.EventReady("OnTilt"))
         {
             ReportTilt();
         }
         tiltReported = true;
     }
     else
     {
         tiltReported = false;
     }
 }