Exemplo n.º 1
0
 public abstract float GetDistanceTolerance(Agent agent, Entity entity, Mapping mapping, float defaultTolerance);
Exemplo n.º 2
0
 public abstract Vector3 GetRotateTowardsLocation(Agent agent, Entity entity, Mapping mapping);
Exemplo n.º 3
0
 public abstract Vector3 GetInteractionSpot(Agent agent, Entity entity, Mapping mapping, bool forGoTo, bool forInventory);
Exemplo n.º 4
0
 public abstract bool CanBeInteractedWith(Agent agent, Entity entity, Mapping mapping);
Exemplo n.º 5
0
 public override void DestroySelf(Agent agent, float delay = 0f)
 {
     Destroy(gameObject, delay);
 }
Exemplo n.º 6
0
        private IEnumerator AddAttendeeCoroutine(Agent agent, float delay)
        {
            yield return(new WaitForSeconds(delay));

            AddAttendee(agent);
        }
Exemplo n.º 7
0
 public void AddAttendee(Agent agent, float delay)
 {
     StartCoroutine(AddAttendeeCoroutine(agent, delay));
 }
Exemplo n.º 8
0
 public void Setup(Agent agent)
 {
     this.agent      = agent;
     behaviorContext = new Context();
 }