Here are the examples of the csharp api System.Runtime.InteropServices.Marshal.SizeOf(Vector2) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : Vector2Tests.cs
with MIT License
from vimaec
with MIT License
from vimaec
[Test]
public void Vector2MarshalSizeTest()
{
replacedert.AreEqual(8, Marshal.SizeOf<Vector2>());
replacedert.AreEqual(8, Marshal.SizeOf<Vector2>(new Vector2()));
}