对于那些了解 AntTweakBar 的人:
当我制作多个链接到布尔值的 TwAddVarRW (变量)时......(我总共有大约 15 个布尔条在彼此下方)
当我“检查”一个...下面的其他 4 个(大部分时间)也会立即检查!虽然布尔值仅与我单击的值不同!怎么会这样?漏洞?
解释:(情况未检查)
bool 1 = false = "not checked"
bool 2 = false = "not checked"
bool 3 = false = "not checked"
bool 4 = false = "not checked"
bool 5 = false = "not checked"
bool 6 = false = "not checked"
----> i CLICK/CHECK bool 2 按钮
(情况“2被点击”)
bool 1 = false = "not checked"
bool 2 = true = "checked"
bool 3 = false = "checked"
bool 4 = false = "checked"
bool 5 = false = "checked"
bool 6 = false = "checked"
(情况应该如何)
bool 1 = false = "not checked"
bool 2 = true = "checked"
bool 3 = false = "not checked"
bool 4 = false = "not checked"
bool 5 = false = "not checked"
bool 6 = false = "not checked"
但是即使我取消选中不应该检查的一个,无论是哪个,他们都取消选中.... :S所以这非常奇怪......请帮助我