コード例 #1
0
 private void AnimateKitten()
 {
     Debug.Log("-> AnimateKitten()");
     //resetToActive (GameObject.FindGameObjectsWithTag ("ARObject"));
     foreach (GameObject ARObject in ARObjects)
     {
         ARObject.SetActive(true);
     }
 }
コード例 #2
0
ファイル: ScreenshotController.cs プロジェクト: dlim15/FLIP
    void TaskOnClick()
    {
        GameObject[] ARObjects = GameObject.FindGameObjectsWithTag("ARObject");
        foreach (GameObject ARObject in ARObjects)
        {
            ARObject.SetActive(false);
        }

        string filename = "Screenshot" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".jpg";

        ScreenCapture.CaptureScreenshot(filename);

        foreach (GameObject ARObject in ARObjects)
        {
            ARObject.SetActive(true);
        }
    }