Horje
how to turn string to int in unity Code Example
how to turn string to int in unity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Example : MonoBehaviour
{
	int i;+
    string text = "100";
	void Start()
	{
		i = System.Convert.ToInt32(text); // Turns i to 100
	}
}




Csharp

Related
c# async sleep Code Example c# async sleep Code Example
quit button unity Code Example quit button unity Code Example
format float to time c# Code Example format float to time c# Code Example
how to set a vector 3 variable in csharp Code Example how to set a vector 3 variable in csharp Code Example
c# bytes to string Code Example c# bytes to string Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8