コード例 #1
0
 internal static void UtilityAIClient(GameObject target, bool ensureLoadBalancer)
 {
     target.AddIfMissing <UtilityAIComponent>();
     if (ensureLoadBalancer)
     {
         AIQuickStarts.LoadBalancer(null);
     }
 }
コード例 #2
0
 public override GameObject Apply(bool isPrefab)
 {
     AIQuickStarts.UtilityAIClient(this.gameObject, !isPrefab);
     return(null);
 }