mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 06:20:15 +00:00
接口优化
This commit is contained in:
@@ -1053,5 +1053,10 @@ namespace XCharts
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public static bool IsInRect(Vector3 pos, float xMin, float xMax, float yMin, float yMax)
|
||||
{
|
||||
return pos.x >= xMin && pos.x <= xMax && pos.y <= yMax && pos.y >= yMin;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user