rigidbody.gravityScale doesn't work anymore?

Hello guys! I’m still experiencing Unity 5 like some others. But as I was modifying my script I got error telling me that gravityScale is no long a part of the definition for the rigidbody statement.

Is there an alternative for this that works slightly the same? Or is this some sort of bug the Unity gang is currently dealing with?

Yes have same problem, after convert code Unity4 to Unity5 my “2D Explosion” logic cant work, but i dont have idea how fix that…


I solve this

GetComponent ().gravityScale = 5f;

Sorry man, it has to be answered.