void Start() { lr.startWidth = 0.05f; lr.endWidth = 0.05f; playerAgent = GameManagerScript.ins.player.GetComponent <PolyNav.PolyNavAgent>(); log = GetComponent <CombatHUDLog>(); attackLog = GetComponent <CombatHUDAttack>(); }
private void Awake() { self = GetComponent <IFactionHolder>(); agent = GetComponent <PolyNav.PolyNavAgent>(); Reporter.ComponentMissingCheck(self); Reporter.ComponentMissingCheck(agent); serachArea.radius = range; isAttacking = false; }