Quantcast
Channel: Answers for "How to get script components in multiple gameobjects C#"
Viewing all articles
Browse latest Browse all 4

Answer by PeterDC

$
0
0

Instead of using public use static; that should keep your variable the same value in all instances of the script.


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images