void Start() { mTrackableBehaviour = GetComponent <Vuforia.TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { manager = GameObject.FindObjectOfType <Manage> (); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } DigitalEyewearARController.Instance.EnableWorldAnchorUsage(false); }
void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); trackingFound = false; if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
// Use this for initialization void Start() { rbRef = gameObject.GetComponent <Rigidbody>(); trackingRef = trackingTarget.GetComponent <TrackableBehaviour>(); if (trackingRef) { trackingRef.RegisterTrackableEventHandler(this); } }
void Start() { arCam = GameObject.Find("ARCamera"); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } soundTarget = (AudioSource)gameObject.AddComponent <AudioSource> (); }
void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); select_flag = false; if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
public void SetWorldAnchor(TrackableBehaviour trackableBehaviour, TrackableIdPair trackableID) { // add a world anchor to the given trackablebehaviour WorldAnchor wa = trackableBehaviour.gameObject.AddComponent <WorldAnchor>(); mWorldAnchors[trackableID] = wa; // register for callbacks wa.OnTrackingChanged += OnWorldAnchorTrackingChanged; }
void Start() { //textInfo.transform.Find("ProductNameText").GetComponent<Text>().text = ""; mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { video = controller.GetComponent <ControlVideo> (); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { field = GameObject.Find("FieldTarget"); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
public Transform Target;//识别物 //bool isFirstTime = true; #endregion // PRIVATE_MEMBER_VARIABLES #region UNTIY_MONOBEHAVIOUR_METHODS void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } //Target.GetComponent<MeshRenderer>().enabled = false;//起始时不显示 }
void Start() { //augmented = GameObject.FindGameObjectWithTag ("aumgented"); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
/* * public string url = "http://tcon1.dothome.co.kr/image/number_10.91515.png";; * public Texture2D mTex = new Texture2D(4, 4, TextureFormat.DXT1, false); * public RawImage Rimage; */ #endregion // PRIVATE_MEMBER_VARIABLES #region UNTIY_MONOBEHAVIOUR_METHODS void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } popImage.sprite = Resources.Load <Sprite>("markerbar1"); }
void Start() { canvas.enabled = false; mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { //m_check_manager = GameObject.Find("CheckManager").GetComponent<CheckManager>(); child_transform = transform.GetChild(0); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } transform.SetParent(scene.transform); }
///// #endregion // PRIVATE_MEMBER_VARIABLES #region UNTIY_MONOBEHAVIOUR_METHODS void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } startscale = ObjectPrefab.transform.localScale; Debug.Log("start scale: " + startscale); }
//private static bool trackedSingleFrameMarker = false; void Start() { model = null; mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } network = GameObject.Find("GameNetwork"); }
//private ArrayList foundModels; //private ArrayList foundModelsC; #endregion // PRIVATE_MEMBER_VARIABLES #region UNTIY_MONOBEHAVIOUR_METHODS void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); //foundModels = new ArrayList(); //foundModelsC = new ArrayList(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { mImportSpheres = FindObjectOfType <ImportSpheres>(); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } soundTarget = (AudioSource)gameObject.AddComponent <AudioSource>(); clipTarget = (AudioClip)Resources.Load("sounds/Kids"); }
void Start() { UItext = FindObjectOfType <Text>(); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { //Player.SetActive (false); gameController.SetActive(false); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { // intially false these buttons mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } canvas2.gameObject.SetActive(false); }
private void Start() { RequestSendHandler = FindObjectOfType <RequestSendHandler>(); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } _targetIDComponent = GetComponent <TargetID>(); }
void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } //Sphere s = GetComponent<Sphere>(); }
//public GameObject canvasUI; #endregion // PUBLIC_MEMBER_VARIABLES #region UNTIY_MONOBEHAVIOUR_METHODS void Start() { //canvasUI.SetActive(false); mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }
void Start() { mTrackableBehaviour = GetComponent <TrackableBehaviour>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } Screen.autorotateToPortrait = true; }