public void SignalTraining() { ratio = (float)Victories / (float)Matches; if (ratio > best_ratio) { best_ratio = ratio; } ratio_score = Mathf.Abs(AIDarwin.GetInstance().TRatio - Ratio); }
public static AIDarwin GetInstance() { if (instance == null) { instance = new AIDarwin(); } return(instance); }
void Awake() { Darwin = AIDarwin.GetInstance(); }