protected override void Start() { primaryHand = TaskController.Instance.GetPrimaryHand(); scoreMap = new Dictionary <Interactable, float>(); cone = primaryHand.GetComponentInChildren <IntenSelectCone>(); bezierRay = primaryHand.GetComponentInChildren <BezierLines>(); pickupAction.AddOnStateDownListener(PickupObject, primaryHand.handType); SetNewHandPositionsAndRotations(); }
public EnemyAttacking(Enemy enemy) { bezierLines = new BezierLines(); uniformMotion = new UniformMotion(); thisEnemy = enemy; }