Search Unity

code just for a specific system

Discussion in 'Editor & General Support' started by San_Holo, Mar 2, 2016.

  1. San_Holo

    San_Holo

    Joined:
    Sep 26, 2014
    Posts:
    152
    Hi...

    EDIT: OK the code below was used in the end

    Code (csharp):
    1.  
    2. if(SystemInfo.deviceType==DeviceType.Desktop){
    3. _usingWindows=true;
    4. }
    5.  
     
    Last edited: Mar 2, 2016