Hello fellow Unity members,
My question is can I change the gravity in Edit > Project Settings > Physics2DSettings while using javascript.
Thank you
Hello fellow Unity members,
My question is can I change the gravity in Edit > Project Settings > Physics2DSettings while using javascript.
Thank you
Found it out. Here is an example for use with gravity
Physics2D.gravity = Vector2(0, 15);