/// <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; }
public override void TouchBegin(OculusGo.LaserPointer pointer) { base.TouchBegin(pointer); }
public override void TouchTrigger(OculusGo.LaserPointer pointer) { transform.GetComponentInParent <PostTweetPanelForGo>().ActionFromChild(gameObject.name); }
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); }