public PetIdleState(PetObject obj) : base(obj) { m_OwnerTarget = pet.owner.GetComponent <PlayerTarget>(); m_OwnerDamagable = pet.owner.GetComponent <DamagableObject>(); m_PetWeapon = pet.GetComponent <PetWeapon>(); m_PetTarget = pet.GetComponent <PlayerTarget>(); }