在Unity编辑器脚本中,如何获取当前选中的GameObject?( )
A、使用Selection.activeGameObject。
B、使用Selection.activeObject。
C、使用Selection.gameObjects。
D、使用Selection.objects。
发布时间:2025-10-29 17:07:56
A、使用Selection.activeGameObject。
B、使用Selection.activeObject。
C、使用Selection.gameObjects。
D、使用Selection.objects。