mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-19 01:45:07 +01:00
Fix UI Shader
This commit is contained in:
@@ -9,7 +9,7 @@ namespace CinemaDirector
|
||||
|
||||
public override void Trigger(GameObject actor)
|
||||
{
|
||||
NavMeshAgent component = actor.GetComponent<NavMeshAgent>();
|
||||
UnityEngine.AI.NavMeshAgent component = actor.GetComponent<UnityEngine.AI.NavMeshAgent>();
|
||||
if (component != null)
|
||||
{
|
||||
component.SetDestination(target);
|
||||
|
||||
Reference in New Issue
Block a user