UnityEngine.Vector2Int.Distance(UnityEngine.Vector2Int, UnityEngine.Vector2Int)

Here are the examples of the csharp api UnityEngine.Vector2Int.Distance(UnityEngine.Vector2Int, UnityEngine.Vector2Int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 View Source File : UnityEngine_Vector2Int_Wrap.cs
License : MIT License
Project Creator : focus-creative-games

[Puerts.MonoPInvokeCallback(typeof(Puerts.V8FunctionCallback))]
        private static void F_Distance(IntPtr isolate, IntPtr info, IntPtr self, int paramLen, long data)
        {
            try
            {
                
                
                
                {
                    
                    var argHelper0 = new Puerts.ArgumentHelper((int)data, isolate, info, 0);
                    var argHelper1 = new Puerts.ArgumentHelper((int)data, isolate, info, 1);
                    
                    
                    
                    {
                        
                        var Arg0 = argHelper0.Get<UnityEngine.Vector2Int>(false);
                        var Arg1 = argHelper1.Get<UnityEngine.Vector2Int>(false);
                        var result = UnityEngine.Vector2Int.Distance(Arg0,Arg1);
                        
                        Puerts.PuertsDLL.ReturnNumber(isolate, info, result);
                        
                        
                    }
                }
                
                
            }
            catch (Exception e)
            {
                Puerts.PuertsDLL.ThrowException(isolate, "c# exception:" + e.Message + ",stack:" + e.StackTrace);
            }
        }