UI换了很多,spine主视觉停用
This commit is contained in:
@@ -199,7 +199,7 @@ public class loadSettlementTeamPrefab : MonoBehaviour
|
||||
}
|
||||
|
||||
// Health: try to find AllyCombatant by name ally_01..ally_05
|
||||
var allyGo = GameObject.Find($"ally_0{i+1}");
|
||||
var allyGo = SceneObjectLookupCache.Find($"ally_0{i+1}");
|
||||
if (allyGo != null)
|
||||
{
|
||||
var ac = allyGo.GetComponent<AllyCombatant>();
|
||||
|
||||
Reference in New Issue
Block a user