常用方法
常用方法
常用方法
常用方法
public void Attack() { sag = Random.Range(1, 11); x = enemy.transform.position.x + 2; enemy.hp = enemy.hp - atk; mt.AttackText(); if (sag <= 1) { isSag = true; } }
public void Attack() { sag = Random.Range(1, 11); x = enemy.transform.position.x + 2; enemy.hp = enemy.hp - atk; mt.AttackText(); if (sag <= 1) { isSag = true; } }