Blackboard.cs 524 B

123456789101112131415161718192021222324252627
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. namespace EnemyAI
  4. {
  5. public class Blackboard
  6. {
  7. public WeaponEnemy Weapon;
  8. public bool Night
  9. {
  10. get;
  11. set;
  12. }
  13. public void SetWeaponActive(bool state)
  14. {
  15. Weapon.gameObject.SetActive(state);
  16. }
  17. public UnityEngine.AI.NavMeshAgent navMeshAgent;
  18. public UnityEngine.Vector3 PlayerPosition;
  19. public UnityEngine.Vector3 EnemyPosition;
  20. }
  21. }