示例#1
0
    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();
    }
示例#2
0
 public EnemyAttacking(Enemy enemy)
 {
     bezierLines   = new BezierLines();
     uniformMotion = new UniformMotion();
     thisEnemy     = enemy;
 }