Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

for jump script unity 2d

rigidbody2D.AddForce(new Vector2(0, 10), ForceMode2D.Impulse);
// or use code  
rigidbodyComponent.AddForce(new Vector2(0, 10), ForceMode2D.Impulse);
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #jump #script #unity
ADD COMMENT
Topic
Name
9+9 =