示例#1
0
 public void ForPage02Bt02()
 {
     if (page02CurrentItem != null)
     {
         ClosePage02();
         OpenPage06();
         VRCattleBusinessLogic.LoadFromSave(File.ReadAllText(Page02SaveBtPath + "\\" + page02CurrentItem.Name + "\\data.vhsx"));
     }
 }
示例#2
0
        public void ForTuPuLoadBts(string str)
        {
            VRCattleBusinessLogic.instance.ResetAll();
            ClosePage03();
            OpenPage06();

            TextAsset asset = Resources.Load("Tupu/" + sex.ToString() + "/" + str) as TextAsset;

            if (asset == null)
            {
                return;
            }
            VRCattleBusinessLogic.LoadFromSave(asset.text);
            Resources.UnloadAsset(asset);
        }
示例#3
0
 public void ForPage06Bt14()
 {
     VRCattleBusinessLogic.instance.ShowAll();
     VRCattleBusinessLogic.LoadFromSave(VRCattleManager.currentLoaded, true, false);
 }
示例#4
0
 public void ForPage06Bt13()
 {
     VRCattleBusinessLogic.instance.ResetAll();
     VRCattleBusinessLogic.LoadFromSave(VRCattleManager.currentLoaded);
 }