Search Unity

Exclude Resources on web platform

Discussion in 'Editor & General Support' started by ShabihDesperado, Mar 26, 2015.

  1. ShabihDesperado

    ShabihDesperado

    Joined:
    Oct 27, 2013
    Posts:
    41
    Hi,
    I'm making a game that works on Webplayer and on other platforms. The problem is that the game is growing too much for a webplayer app so I want to use some audio files for webplayer and others for the other platforms.
    So I need to exclude resources files for webplayer version or make a different code reference to the AudioClips for every platform.
    I though to use another branch on the repository and switch between branches for every build but I would like to have everything on the same project.
    Thanks you.