bool CheckBound(TSVector2 check_pos, bool predict = false) { //var x = TSMath.Abs(check_pos.x); //var y = TSMath.Abs(check_pos.y); if (PoolPhycisEngine.instance.CheckBound(check_pos)) { if (predict) { Debug.Log("预测出界"); } else { Debug.Log("<color=#800000ff>" + "已经出界了~~~~" + "</color>"); if (!PoolPhycisEngine.instance.EngineDebug) { PoolDataTool.Save(PoolPhycisEngine.GetCurrentTestData()); } } return(true); } return(false); }
void CreateDebugerBalls() { balls = PoolDataTool.Load(); }