How to Access GameObject.collider.cente in #pragma strict

Using normal Java in Unity

GameObject.Find(“Body”).collider.center = Vector3(0,0,0);

How do I do it in Java with #pragma strict?

This should work:

GameObject.Find("Body").collider.bounds.center = Vector3(0,0,0);

Tell me if you still have trouble. Good luck.