Skip to content

Useful Resources and Information

RoboThePichu edited this page Jan 10, 2014 · 5 revisions

Unity RPC calls only support these parameters:

  • int
  • float
  • string
  • NetworkPlayer
  • NetworkViewID
  • Vector3
  • Quaternion.

Saving Bandwidth

#Very Important:# Do not have methods with default parameters if the script is in some way derived from MonoBehavior if the MonoBehavior is in a namespace.
Source

If you are inheriting from MonoBehaviour, you should not use constructors or destructors.

Syntax Differences between Unity Script and C#

Clone this wiki locally