SceneToGlTFWiz.toGlTFname C# (CSharp) Method

toGlTFname() static private method

static private toGlTFname ( string name ) : string
name string
return string
	static string toGlTFname(string name)
	{
		// remove spaces and illegal chars, replace with underscores
		string correctString = name.Replace(" ", "_");
		// make sure it doesn't start with a number
		return correctString; 
	}