Suppose you do not want always check the distance between player and some object and instead of it you just want to mark your function like [DistanceAttribute(2f)] where 2f is allowable distance and your function will be runned only if that distance between player and object will be Less or Equal of 2 and method will run automatically without any “if” over and over.
My progress with Unity Mecanim System and FootIK.
I’m pretty sure you do not want to include Server code to the Client build, for instance – your server code contains important SQL passwords or any sort of account infromation, instead of lead two different projects you could simply mark your code #if Server and #if Client.
Some works on my MasterServer using batchmode with Server List and Main Menu chat. Thanks Garry for the source code of console system. Music is shit cause I made it.
There is a basic setup of FPSController from Standart Assets, and my Sync Transform Script, you can use it your own project, it’s allow you to Synchronize Position and Rotation of Character, and also the Camera.
You can make your gun as child of the Camera transform and then it will be synchronized over the network. My FPS on the vid is crap (cause my laptop is too op) but it has 0 latency without any recordings.