Example #1
0
 void LeftMoveUFO(float speed)
 {
     OriginStick.GetComponent <Rigidbody>().MovePosition(transform.position + new Vector3(-1f, 0f, 0f) * speed * Time.deltaTime);
     LeftArm1Controller.MoveLeft(speed);
     LeftArm2Controller.MoveLeft(speed);
     LeftArm3Controller.MoveLeft(speed);
     RightArm1Controller.MoveLeft(speed);
     RightArm2Controller.MoveLeft(speed);
     RightArm3Controller.MoveLeft(speed);
 }