- Home /
Networking active components
Hey everybody.
I need help in this.
How can active an component script, in a non owned object?
Example: I need to have a red "Cube" with not owner, with "scriptA" component, set not enabled, and "scriptB" component, set not enabled. And a third script "turnBlue" wich if "scriptA" and "scriptB" are both enabled the "Cube" turn blue
So from a script owned by Player1, set enable "scriptA" in "Cube" And from a script owned by Player2, enable "scriptB" in "Cube"
So when cube have "scriptA" and "scriptB" enabled, it gonna turn blue for all players view.
Well I think that is very clear. Hope someone can help thanks!
Your answer

Follow this Question
Related Questions
RPC isn't called on objects with another name, even though they have the same script. 1 Answer
Unity networking tutorial? 6 Answers
How can I make Locomotion to work over network? 1 Answer
Network connection problem 1 Answer
How can i run my unity standalone exe in various system using networ 0 Answers