Comments (2)
Hi pawelsalwa ,
PlayerPrefs is an API provided by Unity, and it's probably not a good idea to change its behavior.
Although we can make some kind of wrapper to it, as this will affect the final build code and increase project dependency with ParrelSync, it's still more prefer to leave it to the developer themselves to decide.
from parrelsync.
There's a IsClone API to know whether the current editor is clone or not.
You may consider do something like this if you want to have separated PlayerPrefs value for the clone.
string key = "playerPrefsKey";
#if UNITY_EDITOR
if (ClonesManager.IsClone()) { key += "_clone";}
#endif
int pValue= PlayerPrefs.GetInt(key , 0);
from parrelsync.
Related Issues (20)
- [RESOLVED] Compiler error in Unity build HOT 2
- [Question] HOT 1
- [BUG]
- Additional symbolic links
- Additional symbolic links HOT 2
- Remove "Star on Github" prompt HOT 3
- [Feature Request] ParrelSync for MacOS HOT 1
- [BUG] 1.5.2 breaks compatibility with .NET 2.0 Standard
- [BUG] - Addressable Builds do not sync to clones.
- [BUG] Clone Unity UI is completly pink
- When ever I choose add by git url I get an error in my console.
- [BUG] Domain reaload
- [BUG]cannot convert from 'string' to 'char' HOT 8
- [BUG]
- [BUG] Oculus Controller position/rotation read from project & clones
- [BUG] When I clone my project it gets cloned but does not Cole with my assets and project settings HOT 3
- [BUG] Creating clone doesn't copy everything and the cloned project cannot be opened. HOT 7
- Clicking on Open In New Editor just opens Unity Hub HOT 7
- [Feature Request] Make a way to sign in to different firebase accounts on clones HOT 5
- [Feature Request] please make a mac version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parrelsync.