Ejemplo n.º 1
0
 private void FindScripts()
 {
     introuimanager        = GetComponent <IntroUIManager> ();
     intromenumanager      = GetComponent <IntroMenuManager> ();
     maindatabasemanager   = GetComponent <MainDatabaseManager> ();
     writejsonmanager      = GetComponent <WriteJsonManager> ();
     selectgamemenumanager = GameObject.Find("MainCanvas").GetComponentInChildren <SelectGameMenuManager>();
 }
Ejemplo n.º 2
0
    private void Awake()
    {
        _arSession             = FindObjectOfType <ARSession>();
        _database              = GameObject.FindObjectOfType <Database>();
        _arTrackedImageManager = GameObject.FindObjectOfType <ARTrackedImageManager>();

        _sceneInfo = FindObjectOfType <SceneInfo>();
        _introUI   = FindObjectOfType <IntroUIManager>();

        runtimeLibrary = _arTrackedImageManager.CreateRuntimeLibrary();
        mutableLibrary = runtimeLibrary as MutableRuntimeReferenceImageLibrary;
        _arTrackedImageManager.referenceLibrary = mutableLibrary;
        _arTrackedImageManager.enabled          = true;

        GetMarkerData();
    }