minor fixes

This commit is contained in:
dddushesss 2022-01-05 21:43:53 +03:00
parent 5f0c2b0446
commit ea32692481
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ MonoBehaviour:
m_Right: 0
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 2
m_ChildAlignment: 4
m_StartCorner: 0
m_StartAxis: 0
m_CellSize: {x: 0.5, y: 0.2}

View File

@ -20,7 +20,7 @@ MonoBehaviour:
unitPrefa: {fileID: 7527582019267571087, guid: f102085e8bc4cad4992d43b84dee1055,
type: 3}
color: 3
manaRegen: 5
manaRegen: 1
maxMana: 100
maxHP: 100
inventoryCapacity: 4

View File

@ -175,7 +175,7 @@ public class UnitView : MonoBehaviour
private IEnumerator Regen()
{
if (_mana >= 100) //TODO если пользовать ману во время регенерации, то мана не тратится.
if (_mana >= 100)
{
yield break;
}