public void ReturnEnemy(CBoss a_oEnemy) { a_oEnemy.ReturnEnemy(); for (int i = 0; i < m_oPlayers.Length; ++i) { if (!m_oPlayers[i].m_bIsDeath) { return; } } m_bIsPlayerOver = true; }
public void EnemyAttack(CBoss a_oEnemy) { if (m_bIsAttack && a_oEnemy.m_bAttackEnable) { if (a_oEnemy.m_bIsDeath) { return; } a_oEnemy.MoveEnemy(m_oPlayerTransforms.localPosition); m_bIsAttack = false; } }