Example of using string instead of typeof
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
|
||||
using System.Numerics;
|
||||
|
||||
var vector3 = new Vector3(1,2,3);
|
||||
var a = new Vector3(1,2,3);
|
||||
var typeName = a.GetType().AssemblyQualifiedName;
|
||||
|
||||
var b = new Vector3(5, 6, 7);
|
||||
Vector3[] v3Array = [a, b];
|
||||
List<Vector3> v3List = v3Array.ToList();
|
||||
|
||||
var quaternion = new Quaternion(1,2,3,4);
|
||||
return;
|
||||
Reference in New Issue
Block a user