Пример #1
0
 protected override OptionResult Run(GameHitParameters <GameObject> parameters)
 {
     if (FilePersistence.ImportFromFile())
     {
         return(OptionResult.SuccessClose);
     }
     else
     {
         return(OptionResult.Failure);
     }
 }
Пример #2
0
 protected override bool PrivatePerform()
 {
     return(FilePersistence.ImportFromFile());
 }