fixed followTarget script nulls, removed bark when piccking flowers, fixed tutorial, removed bark when all spiders killed

This commit is contained in:
2025-03-06 16:35:58 +01:00
parent 8d9489e844
commit da94a3e8fc
2 changed files with 803 additions and 1079 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -12,6 +12,11 @@ namespace UnityStandardAssets.Utility
private void LateUpdate()
{
if (target == null)
{
enabled = false;
return;
}
transform.position = target.position + offset;
}
}