コード例 #1
0
 public void Lock()
 {
     if (ApplicationModel.HasBeenUnlocked(path))
     {
         return;                                         // File was unlocked previously
     }
     locked = true;
     lockIcon.SetActive(true);
 }