示例#1
0
 /// <summary>
 /// Start is called on the frame when a script is enabled just before
 /// any of the Update methods is called the first time.
 /// </summary>
 private void Start()
 {
     laserPointer  = gameObject.GetComponent <LaserPointer>();
     _hasMenuPanel = false;
 }
示例#2
0
 public override void TouchBegin(OculusGo.LaserPointer pointer)
 {
     base.TouchBegin(pointer);
 }
示例#3
0
 public override void TouchTrigger(OculusGo.LaserPointer pointer)
 {
     transform.GetComponentInParent <PostTweetPanelForGo>().ActionFromChild(gameObject.name);
 }
示例#4
0
 public override void TouchEnd(OculusGo.LaserPointer pointer)
 {
     base.TouchEnd(pointer);
 }
 public override void TouchTrigger(OculusGo.LaserPointer pointer)
 {
     transform.GetComponentInParent <PostTweetPanelForGoKeyboard>().ActionFromKeyboard(character);
     base.TouchTrigger(pointer);
 }