DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
How to add rigidbody as a variable
public Rigidbody rigid; void Start() { rigid = GetComponent<Rigidbody> (); }
Source by gamedev.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#How
#add
#rigidbody
#variable
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit