36 lines
865 B
C#
36 lines
865 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Threading;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
public class GameDataMgr
|
|||
|
{
|
|||
|
private static GameDataMgr instance=new GameDataMgr();
|
|||
|
public static GameDataMgr Instance=>instance;
|
|||
|
|
|||
|
public PlayerData player;
|
|||
|
|
|||
|
public MonsterData monster;
|
|||
|
private GameDataMgr()
|
|||
|
{
|
|||
|
player = new PlayerData();
|
|||
|
monster = new MonsterData();
|
|||
|
player.name = "<22><>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ң";
|
|||
|
player.hp = 122;
|
|||
|
player.atk = 30;
|
|||
|
player.def = 10;
|
|||
|
player.figthing = 9999;
|
|||
|
player.state = "<22><EFBFBD><F0B5A4BE>˲<EFBFBD>";
|
|||
|
player.stone = 1666666;
|
|||
|
player.yu = 899999;
|
|||
|
player.atkTime = 1.5f;
|
|||
|
player.atkSpeed = 0.5f;
|
|||
|
|
|||
|
monster.name = "<22>˲<EFBFBD><CBB2><EFBFBD><EFBFBD><EFBFBD>";
|
|||
|
monster.hp = 100;
|
|||
|
monster.def = 15;
|
|||
|
monster.atk = 20;
|
|||
|
monster.atkTime = 2f;
|
|||
|
}
|
|||
|
}
|