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