コード例 #1
0
 private void Update()
 {
     if (Input.GetMouseButtonDown(0))
     {
         Debug.Log(FolderMaker.Creat(this, "HAHA" + Random.Range(1, 150)));
     }
 }
コード例 #2
0
        private void btn_goProcedure_Click(object sender, RoutedEventArgs e)
        {
            FolderMaker folderMaker = new FolderMaker(filepath, rootFolderPath);

            if (folderMaker.goProcedure())
            {
                lbl_StatusMessage.Content    = "Operation was successful!";
                lbl_StatusMessage.Foreground = Brushes.Green;
            }
            else
            {
                lbl_StatusMessage.Content    = "Operation has failed!";
                lbl_StatusMessage.Foreground = Brushes.Red;
            }
        }