Author Topic: Is network object creation only ever 'dumb'?  (Read 3960 times)

Shifty Geezer

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 9
  • Posts: 226
    • View Profile
Is network object creation only ever 'dumb'?
« on: June 21, 2015, 11:01:45 AM »
I have a prefab, a collectable item. Upon creation I set the type via script which changes the graphic and specs according to a database. If I create this over the network, I can only instantiate the prefab and can't pass it any data.

Is there any way to get the created object as a reference and tell it to do something? In this case, after creating the object have the host tell it what item type it is supposed to be?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile