示例#1
0
 public void Activate()
 {
     skill        = false;
     motor.lockOn = false;
     target       = motor.lockonTarget.GetComponent <TargetObj>();
     target.GetComponent <TommyBoom> ().Boom();
 }
示例#2
0
 public override void Update()
 {
     if (TargetObj != null && TargetObj.GetComponent <Vive_Pickup>() != null && TargetObj.GetComponent <Vive_Pickup>().Get_Controller() != null)
     {
         condition = TargetObj.GetComponent <Vive_Pickup>().Get_Controller().triggerPressed;
     }
     base.Update();
 }
示例#3
0
 public override void StickExit()
 {
     TargetObj.GetComponent <Vive_Pickup>().enabled        = true;
     TargetObj.GetComponent <Rigidbody>().detectCollisions = true;
     base.StickExit();
 }
 public void C_Select()
 {
     TargetObj.GetComponent <Target_Obj_Switch>().SwitchSelect(myID);
 }