protected override void Awake()
 {
     optimizer   = GetComponent <ESOptimizer>();
     optimizable = GetComponent <IESOptimizable>();
     Debug.Assert(optimizable != null, "DesicionMAES need to attach to a gameobjec with an agent that implements IESOptmizable.");
 }
Пример #2
0
 private void Awake()
 {
     Optimizer = GetComponent <ESOptimizer>();
 }