private void Awake() { Instance = this; Choosecards = GameObject.Find("ChooseCards"); CardsPanel = GameObject.Find("CardsPanel"); GoNextBoss = GameObject.Find("GoNextBoss").GetComponent <Button>(); Choosecards.gameObject.SetActive(false); }
private void Start() { handCardManage = CardManage.Instance; boss = Boss.Instance; generator = CardGroup.Instance; feeshow = Feeshow.Instance; hero = Hero.Instance; showCard = ShowCard.Instance; chooseCards = ChooseCards.Instance; gameControll = GameControll.Instance; }
void Start() { chooseCards = ChooseCards.Instance; hero = Hero.Instance; cardManage = CardManage.Instance; Boss1skills = new List <Skill>() { new Skill() { playName = "attack", damage = 5, effect = "BossAttack" }, //伤害 new Skill() { playName = "attack1", damage = 10, effect = "BossAttack" }, new Skill() { playName = "attack2", damage = 15, effect = "BossAttack" }, new Skill() { playName = "Armor", BossArmor = 5, effect = "BossBuff" }, new Skill() { playName = "Armor1", BossArmor = 10, effect = "BossBuff" }, new Skill() { playName = "Armor2", BossArmor = 15, effect = "BossBuff" }, new Skill() { playName = "Power", BossPower = 2, effect = "BossBuff" }, new Skill() { playName = "Power1", BossPower = 4, effect = "BossBuff" }, new Skill() { playName = "Power2", BossPower = 6, effect = "BossBuff" }, }; Boss2skills = new List <Skill>() { new Skill() { playName = "attack1", damage = 10, effect = "BossAttack" }, new Skill() { playName = "attack2", damage = 15, effect = "BossAttack" }, new Skill() { playName = "attack3", damage = 20, effect = "BossAttack" }, new Skill() { playName = "Armor1", BossArmor = 10, effect = "BossBuff" }, new Skill() { playName = "Armor2", BossArmor = 15, effect = "BossBuff" }, new Skill() { playName = "Armor3", BossArmor = 20, effect = "BossBuff" }, new Skill() { playName = "Power1", BossPower = 4, effect = "BossBuff" }, new Skill() { playName = "Power2", BossPower = 6, effect = "BossBuff" }, new Skill() { playName = "Power3", BossPower = 8, effect = "BossBuff" }, }; Boss3skills = new List <Skill>() { new Skill() { playName = "attack2", damage = 15, effect = "BossAttack" }, new Skill() { playName = "attack3", damage = 20, effect = "BossAttack" }, new Skill() { playName = "attack4", damage = 25, effect = "BossAttack" }, new Skill() { playName = "Armor2", BossArmor = 15, effect = "BossBuff" }, new Skill() { playName = "Armor3", BossArmor = 20, effect = "BossBuff" }, new Skill() { playName = "Armor4", BossArmor = 25, effect = "BossBuff" }, new Skill() { playName = "Power2", BossPower = 6, effect = "BossBuff" }, new Skill() { playName = "Power3", BossPower = 8, effect = "BossBuff" }, new Skill() { playName = "Power4", BossPower = 10, effect = "BossBuff" }, }; }