daily pastebin goal
53%
SHARE
TWEET

Tray

a guest Jun 13th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  public void ReceiveCurrentTray(GameObject _tray)
  2.     {
  3.         _tray.transform.SetParent(customers[0].handBone);
  4.         _tray.GetComponent<Rigidbody>().constraints = RigidbodyConstraints.FreezeAll;
  5.         _tray.GetComponent<GameItem>().enabled = false;
  6.         _tray.transform.localPosition = Vector3.zero;
  7.         _tray.transform.localRotation = Quaternion.identity;
  8.          _tray.layer = LayerMask.NameToLayer("World_Wall");
  9.         shuffleCustomersRoutine = ShuffleCustomersRoutine(_tray);
  10.         StartCoroutine(shuffleCustomersRoutine);
  11.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top