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 = "蜀山派李逍遥";
|
|
player.hp = 122;
|
|
player.atk = 30;
|
|
player.def = 10;
|
|
player.figthing = 9999;
|
|
player.state = "金丹境八层";
|
|
player.stone = 1666666;
|
|
player.yu = 899999;
|
|
player.atkTime = 1.5f;
|
|
player.atkSpeed = 0.5f;
|
|
|
|
monster.name = "八部天龙";
|
|
monster.hp = 100;
|
|
monster.def = 15;
|
|
monster.atk = 20;
|
|
monster.atkTime = 2f;
|
|
}
|
|
}
|