Node.spawnOnce

Spawn an object using its reference. Second time you call this method for the same id, nothing happens. Returns old/new node reference.

  1. T spawnOnce(T node, string id, bool start)
    class Node
    ref
    T
    spawnOnce
    (
    T : Node
    )
    (
    ref T node
    ,
    string id
    ,
    bool start = true
    )
  2. T spawnOnce(string id, bool start)

Meta