public void GenerateNewCreature(int playerIndex, List <DNA> splicedDNA) { CreatureLinks playerCreatureLinks = playerIndex == 0 ? splicedCreature1 : splicedCreature2; playerCreatureLinks.gameObject.SetActive(true); playerCreatureLinks.SetCreature(GetNewSplicedCreature(splicedDNA)); }
void TestNewCreature() { splicedCreature1.SetCreature(GetNewSplicedCreature(splicedDNA)); splicedCreature2.SetCreature(GetNewSplicedCreature(splicedDNA)); }