Invert.Core.GraphDesigner.DiagramViewModel.UpgradeProject C# (CSharp) Method

UpgradeProject() public method

public UpgradeProject ( ) : void
return void
        public void UpgradeProject()
        {

        }

Usage Example

コード例 #1
0
ファイル: DiagramDrawer.cs プロジェクト: yaoya/uFrame
 private bool UpgradeOldProject()
 {
     if (DiagramViewModel.NeedsUpgrade)
     {
         var rect = new Rect(50f, 50f, 200f, 75f);
         GUI.Box(rect, string.Empty);
         GUILayout.BeginArea(rect);
         GUILayout.Label("You need to upgrade to the new " + Environment.NewLine +
                         "file format for future compatability.");
         if (GUILayout.Button("Upgrade Now"))
         {
             DiagramViewModel.UpgradeProject();
             return(true);
         }
         GUILayout.EndArea();
     }
     return(false);
 }