Beispiel #1
0
 public void ForPage02Bt02()
 {
     if (page02CurrentItem != null)
     {
         ClosePage02();
         OpenPage06();
         VRCattleBusinessLogic.LoadFromSave(File.ReadAllText(Page02SaveBtPath + "\\" + page02CurrentItem.Name + "\\data.vhsx"));
     }
 }
Beispiel #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);
        }
Beispiel #3
0
 public void ForPage06Bt14()
 {
     VRCattleBusinessLogic.instance.ShowAll();
     VRCattleBusinessLogic.LoadFromSave(VRCattleManager.currentLoaded, true, false);
 }
Beispiel #4
0
 public void ForPage06Bt13()
 {
     VRCattleBusinessLogic.instance.ResetAll();
     VRCattleBusinessLogic.LoadFromSave(VRCattleManager.currentLoaded);
 }