Where can I get the list of Unity software versions along with a list of their supported versions of Android (APIs)? I can’t find any official documents for this.
I did a search for this and I found a result but I can’t test it right now. Test the code below.
void OnCollisionEnter(Collision collision) {
collision.gameObject.transform.parent = gameObject.transform;
}
I found on on stackExchange: c# - How can I make a gameObject "stick" to another gameObject after it has collided with it? - Game Development Stack Exchange
You should find your information over here