示例#1
0
 public void AddGraber(PickupGraber Graber)
 {
     if (OtherGrabers.Contains(Graber) == false)
     {
         OtherGrabers.Add(Graber);
     }
 }
示例#2
0
    public void TranferObjectTo(PickupGraber graber, bool gotObjectByGrab)
    {
        _State.PickupInHandTrans.parent = _State.PickupInHandOldTrans;

        _State.PickupInHand.OnDropped();

        graber.GrabObbject(_State.PickupInHand, gotObjectByGrab, _State.PickupInHandTrans.parent);

        _State.PickupInHand         = null;
        _State.PickupInHandTrans    = null;
        _State.PickupInHandOldTrans = null;
    }
示例#3
0
    public void TranferObjectTo(PickupGraber graber, bool gotObjectByGrab)
    {
        _State.PickupInHandTrans.parent = _State.PickupInHandOldTrans;

        _State.PickupInHand.OnDropped();

        graber.GrabObbject(_State.PickupInHand, gotObjectByGrab, _State.PickupInHandTrans.parent);

        _State.PickupInHand = null;
        _State.PickupInHandTrans = null;
        _State.PickupInHandOldTrans = null;
    }
示例#4
0
 public void AddGraber(PickupGraber Graber)
 {
     if (OtherGrabers.Contains(Graber) == false)
         OtherGrabers.Add(Graber);
 }