Author Topic: Sending Texture or Material values With RFC  (Read 4762 times)

nidhi_singh

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Sending Texture or Material values With RFC
« on: May 20, 2015, 11:59:29 PM »
In my Game there is a option for user to select the colour of his character in the beginning of the game. I am sending that material value via RFC on receiving the material is getting lost from the character.

I am attaching script with this post.

decerto

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 20
    • View Profile
Re: Sending Texture or Material values With RFC
« Reply #1 on: May 21, 2015, 12:17:58 PM »
use Pastebin or simply paste your code using the code tags. Some people dislike downloading stuff :P

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Sending Texture or Material values With RFC
« Reply #2 on: May 22, 2015, 05:47:32 PM »
You can't send material references, or any references for that matter. All references are different in Unity depending on where you run them. They are even different each time you start the game.