Shared realm and SERVER CLIENT globals
š„ļø Serverā¢Updated 2 days agoā¢0 views
Yes, shared runs on both realms. There are automatic global variables SERVER and CLIENT that are only true when running in their specified environment. Things lā¦
Does "shared" mean server + client, and how do you tell whether code is running client-side or server-side?
Yes, shared runs on both realms. There are automatic global variables SERVER and CLIENT that are only true when running in their specified environment. Things like wire I/O are serverside only, so to send e.g. a wire button's value to the client you need to network it.