Exemplo n.º 1
0
    public void GenerateNewCreature(int playerIndex, List <DNA> splicedDNA)
    {
        CreatureLinks playerCreatureLinks = playerIndex == 0 ? splicedCreature1 : splicedCreature2;

        playerCreatureLinks.gameObject.SetActive(true);
        playerCreatureLinks.SetCreature(GetNewSplicedCreature(splicedDNA));
    }
Exemplo n.º 2
0
 void TestNewCreature()
 {
     splicedCreature1.SetCreature(GetNewSplicedCreature(splicedDNA));
     splicedCreature2.SetCreature(GetNewSplicedCreature(splicedDNA));
 }