using System.Collections; using System.Collections.Generic; using System; using UnityEngine; using UnityEditor; public class LibraryTurnMethods : MonoBehaviour { public void Attack() { Enemy _enemy = BaseEnemyTurn.basic.currentEnemy.GetComponent(); Player.main.ChangeHp(_enemy.enemyConfig.enemyCharacteristics.damage); } public void Healing() { Enemy _enemy = BaseEnemyTurn.basic.currentEnemy.GetComponent(); int _healing = _enemy.enemyConfig.enemyCharacteristics.healing; _enemy.ChangeHp(-_healing); } }