Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Missing Information] Network.Instantiate is missing info on the "Object" return value.

Discussion in 'Documentation' started by asperatology, May 25, 2015.

  1. asperatology

    asperatology

    Joined:
    Mar 10, 2015
    Posts:
    981
    Network.Instantiate() returns an Object. The article does not mention what the returned Object is for.

    It is missing the following:
    • Example code for handling the returned Object.
    • Information about the returned Object.
    • Warnings for calling nested Network.Instantiate() codes:
    Code (csharp):
    1. Network.Instantiate(Network.Instantiate(myObject, myPosition, Quaternion.identity, 0), myPosition, Quaternion.identity, 1);
    http://docs.unity3d.com/ScriptReference/Network.Instantiate.html