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.
XNA ゲームを作成しようとしています。しかし、私は新しいです。シーンの一番上にあるオブジェクトを特定したいと考えています。長方形の場合、画面上で 2 つの長方形が交差する場合、一番上の長方形をクリックしたいと思います。しかし、シーンから一番上のオブジェクトを検出する方法がわかりません。 誰でも私を助けることができますか?そのための方法はありますか?