Question by
unity_MqUXLh65dSlrQw · Aug 05, 2018 at 08:03 AM ·
gameobject3denablehide3dplatformtutorial
Turn on object exclusion automatically
How can I set up objects manually to pick them up and drop each other, say I have 10 same objects and when I take one to get the next trigger
void OnCollisionEnter (Collision collision) { if (collision.collider.tag == "Food") { gameObject.SetActive(false); }
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612172224im_/https://answers.unity.com/themes/thub/images/avi.jpg)