예제 #1
0
//	Rigidbody theBlimpRigidbody;

    // Use this for initialization
    void Start()
    {
        openPTrack      = GetComponent <OpenPTrackProvider> ();
        imageDropScript = GetComponent <ImageDrop> ();

//		GameObject theBlimp = GameObject.Find ("Blimp");
        //	theBlimpRigidbody = theBlimp.GetComponent<Rigidbody> ();

        WebComm.addRFC("match", match);
        WebComm.addRFC("drop", drop);

        DirectoryInfo dir = new DirectoryInfo(mediaFolderPath);

        FileInfo[] fileInfo = dir.GetFiles("*.*");
        mediaDirectory = dir.FullName;
        mediaFiles     = new string[fileInfo.Length];
        for (int i = 0; i < mediaFiles.Length; i++)
        {
            mediaFiles [i] = fileInfo[i].Name;
        }
    }