示例#1
0
    void MakePCD()
    {
        try{
            Destroy(GameObject.Find("test1_pcd"));
        } catch (Exception e) {
            print("EEEEE: " + e.ToString());
        }

        Debug.Log("LOADING PCD");
        if (target == null)
        {
            target          = GetComponent <PointsPCD>();
            target.dataPath = @"\test1_pcd";
        }
//		target.dataPath = @"\PointCloud\example";
//		target.enable = true;
        target.makeCloud();
        val = false;
    }