Skip to content

Instantly share code, notes, and snippets.

@zhenlinyang
Created August 9, 2016 01:35
Show Gist options
  • Save zhenlinyang/aab115b22ce175f707ea68aa09458693 to your computer and use it in GitHub Desktop.
Save zhenlinyang/aab115b22ce175f707ea68aa09458693 to your computer and use it in GitHub Desktop.
CSharp Explicit
public static explicit operator UnityEngine.Vector3(NanoFramework.UnityForServer.DataStructure.Vector3 v)
{
return new UnityEngine.Vector3(v.x, v.y, v.z);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment