August 2018
Beginner
334 pages
10h 19m
English
We need to define the template for the enemies to focus the next section on how to implement the main evolutionary algorithm. In this case, we will use a serializable class named EvolEnemy:
using UnityEngine;using UnityEngine.UI;[System.Serializable]public class EvolEnemy{ public Sprite sprite; public int healthInit; public int healthMax; public int healthVariance;}
Read now
Unlock full access