VeriorPies / ParrelSync

(Unity3D) Test multiplayer without building
MIT License
4.47k stars 314 forks source link

[Question] a way to know if the project is a clone? #85

Open BruceKristelijn opened 1 year ago

BruceKristelijn commented 1 year ago

I need the default editor layout for inspecting so I was thinking of giving the clone's editor a hue color. Is there a build-in way of knowing that the current instance is a clone? This would make it really easy to do!

jaimuepe commented 1 year ago

I know this is an old question, but i just started using ParrelSync and i found this:

https://github.com/VeriorPies/ParrelSync/wiki/Argument

if (ClonesManager.IsClone()) { ... }

just in case anyone has the same question.

BruceKristelijn commented 1 year ago

Wow, that's it thank you!