public override void Initialize(NPCEntity npc) { base.Initialize(npc); npc.MoveTo(npc.HostPlanet.PlanetBack); npc.OnReachedDestination?.Invoke(); ChangeLayer(); }
public override void Initialize(NPCEntity npc) { base.Initialize(npc); currentWaypointID = Random.Range(0, npc.HostPlanet.Waypoints.Count); npc.MoveTo(npc.HostPlanet.Waypoints[currentWaypointID]); Debug.Log("Wondering..."); }
public override void Initialize(NPCEntity npc) { base.Initialize(npc); npc.MoveTo(PlayerController.Instance.transform); npc.View.SpeechBubble.ShowInfo(npc.DestinationPlanet.transform.name); }