Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Assets/scripts/JavaScripts/PerformanceTweak.js(218,45): BCE0051: 演算子 '<' は、タイプ 'Object' の左側とタイプ 'float' の右側では使用できません。
while( times.length > 0 && times[0] < 0.0 ) { times.Shift(); messages.Shift(); }
私にはオブジェクトを返すように見えtimes[0]、0.0 は float であり、これがどのような言語であっても、少なくともこの形式では、2 つの間の比較をサポートしていません。times[0]適切な比較のために floatにキャストする方法を見つける必要があります。これは次のようなものかもしれません:(float)times[0]または[times[0] floatValue]. (私はその言語を知りません)
times[0]
(float)times[0]
[times[0] floatValue]