- Home /
Question by
$$anonymous$$ · Jun 22, 2016 at 05:14 AM ·
networkingnetworksynchronizationsync
[SyncVar] protect Cheat Engine
Is there any solution to protect [SyncVar] from Cheat Engine? for example:
[SyncVar(hook = "OnMoneyChange")]
public float money = 500.0F;
public void OnMoneyChange(float updateMoney){
money = updateMoney;
}
If I use Cheat Engine, it easy to change it and then buy something for example in my if money < itembuyprice
if(money < itembuyPrice){
inventory.DontAllowBuy();
}
with this you can bypass that if, your SyncVar goin to "-" float, like -500$, but the Cheat Engine shows 100000$ and allow to buy. Thank you
Comment
Your answer
Follow this Question
Related Questions
SyncVar works with disabled components? 0 Answers
How fast do Syncvars synchronize? 1 Answer
Networking Sync SetActive Not Working 0 Answers
In unity3d client “push” an object with a rigidbody2d slower than the host 0 Answers
Unet Instantiate 0 Answers