This commit is contained in:
Lachlan Leone
2024-01-27 03:50:35 +11:00
parent 2d6abcd684
commit 4dd11a9f73
11 changed files with 265 additions and 27 deletions
+1
View File
@@ -37,6 +37,7 @@ namespace Pets.Customs.Types
view.agent = Prefab.GetComponentInChildren<NavMeshAgent>();
view.animator = Prefab.GetComponentInChildren<Animator>();
view.vfx = Prefab.GetComponentInChildren<VisualEffect>();
view.Colliders = new List<Collider>(Prefab.GetComponentsInChildren<Collider>());
TextMeshPro tmp = Prefab.GetComponentInChildren<TextMeshPro>();
if (tmp != null)
{