Look at the image below. It is an empty GameObject with an Audio Source Component. All the values of the Audio Source in the Inspector are the default values.
如下图所示,是一个具有音频源组件的空对象,检视视图中音频源的所有值是默认值。
Once sound files are imported, they can be attached to any GameObject. The Audio file will create an Audio Source Component automatically when you drag it onto a GameObject.
一旦声音文件被导入,它们可以被附加到任何游戏对象上。当你将它拖到一个游戏对象上时,音频文件将自动创建一个音频源组件。
应用推荐