Fixes? and side channels.

This commit is contained in:
2022-05-17 19:09:50 +07:00
parent b5aff44f79
commit e976a3fbff
18 changed files with 454 additions and 90 deletions

View File

@ -29,11 +29,6 @@ public class CharacterFactory : MonoBehaviour
}
}
private void Update()
{
print(Player == null);
}
private void Start()
{
var attcNum = SettingsReader.Instance.GetSettings.NumOfAttackers;
@ -69,8 +64,7 @@ public class CharacterFactory : MonoBehaviour
Quaternion.identity);
ApplyMaterial(team, gameobject);
gameobject.SetActive(true);
gameObject.tag = team == Team.Attackers ? "Attacker" : "Defender";
gameobject.tag = team == Team.Attackers ? "Attacker" : "Defender";
if (typeAi == TypeAI.HumanAI)
{
print("added player to list");