public int GetNumVertices() { if (exportAllChildren) { var objects = SteamAudioManager.GetGameObjectsForExport(gameObject); var numVertices = 0; foreach (var obj in objects) { numVertices += SteamAudioManager.GetNumVertices(obj); } return(numVertices); } else { return(SteamAudioManager.GetNumVertices(gameObject)); } }