public void loadCattlePult(GameObject farmer, GameObject cow) { this.farmer = farmer; anim.SetBool("Loaded", true); loadedCow = cow; state = PultState.Loaded; crosshair.GetComponent <Crosshair>().activateCrosshair(); }
// Use this for initialization void Start() { state = PultState.Empty; anim = GetComponent <Animator>(); if (playerId == 2) { transform.rotation = new Quaternion(0, 180, 0, 0); } }