Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

Replaced OS is obselete

if(Device.RuntimePlatform == Device.iOS)
{
    //iOS stuff
}
else if(Device.RuntimePlatform == Device.Android)
{
	//Android stuff
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity find object by name recursion 
Csharp :: how to make a enter in C# string 
Csharp :: scene switch unity 
Csharp :: webclient timeout 
Csharp :: c# string interpolation 
Csharp :: c# and in if statement 
Csharp :: wpf color picker 
Csharp :: Entity Framework Core 3.1 Return value (int) from stored procedure 
Csharp :: how to remove white spaces from string in c# 
Csharp :: get user startup folder path C# 
Csharp :: declare dictionary c# 
Csharp :: website link c# 
Csharp :: difference between boxing and unboxing in c# 
Csharp :: find how many digits a number has 
Csharp :: convert list string to list long c# 
Csharp :: multiplication of long number 
Csharp :: unity how to destroy child 
Csharp :: what is reflection in programming 
Csharp :: c# quit button script 
Csharp :: unity c# change animation 
Csharp :: c# mongodb get all documents 
Csharp :: c# display image 
Csharp :: check if value in list c# 
Csharp :: c# loop through dictionary 
Csharp :: c# get classes which inherits 
Csharp :: asp.net core identity get all roles 
Csharp :: entity framework core db first 
Csharp :: unity respawn 
Csharp :: c# check if array contains value 
Csharp :: visual studio c# mark class deprecated 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =