Ejemplo n.º 1
0
 void Start()
 {
     snapShot       = GameObject.FindObjectOfType <CaptureAndSave>();
     screenShotMger = GameObject.FindObjectOfType <ScreenShotMger>();
     // Build path name for Android
     screenShotDirectory = "/storage/emulated/0/Pictures/";
     screenShotAblumName = snapShot.ALBUM_NAME;
     Debug.Log("Application.dataPath " + Application.dataPath);
     Debug.Log("Application.persistentDataPath " + Application.persistentDataPath);
 }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        // Getting ScreenShotMger
        screenShotMger = GameObject.FindWithTag("SceneMger").GetComponent <ScreenShotMger>();

        // Getting hit object renderer
        hitObject_rend         = m_HitObject.GetComponent <Renderer> ();
        hitObject_rend.enabled = false;

        // Getting point cloud object
        pointCloudObj = GameObject.Find("PointCloudExample");
        Debug.Log("pointCloudObj: " + pointCloudObj);
        pointCloudParticle = pointCloudObj.GetComponent <UnityPointCloudExample> ();
        Debug.Log("pointCloudParticle: " + pointCloudParticle);
    }
Ejemplo n.º 3
0
 private void Start()
 {
     screenShot = GameObject.FindObjectOfType <ScreenShotMger>().GetComponent <ScreenShotMger>();
 }