public GameObject target = null;
public GameObject leftHand = null;
public GameObject rightHand = null;
public GameObject bazoo = null;
public GameObject bullet = null;
public GameObject FirePosition = null;
private bool load = false;
// Use this for initialization
void Start () {
animator = GetComponent<Animator>();
}
// Update is called once per frame
void Update () {
if (animator)
{
float aim = animator.GetFloat("Aim");
float fire = animator.GetFloat("Fire");
// 瞄准逻辑
if (Input.GetButton("Fire2"))