What is the equivalent of
public Rigidbody m_Example; //this is C#
Answer by The_Magical_Muffins
Mar 26 at 08:48 PM
var m_Example : Rigidbody;
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
365 People are following this question.
OnCollisonEnter2D Not Firing after checking collider
Noob Here... Can you please give Script for moving a object into random Direction.
How to enable a script in Play-Mode?
Game development general question(Multiplayer - Singleplayer)
Java Script to talk to C# script