/// <summary> /// Sets the properties to call their setters /// </summary> private void Start() { hud = _hud; orbital = _orbital; if (this.name.Equals("Quad")) { metaCanvas = GameObject.Find("MetaCanvas"); metaCanvas.SetActive(showMouse); scriptGI = GameObject.Find("Quad").GetComponent <GrabInteraction> (); } }
void Awake() { triggerLayer = LayerMask.NameToLayer("Trigger"); grabInteraction = GetComponent <Meta.GrabInteraction>(); }