Here are the examples of the csharp api UnityEngine.RectTransformUtility.PixelAdjustRect(UnityEngine.RectTransform, UnityEngine.Canvas) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : UnityEngine_RectTransformUtility_Wrap.cs
with MIT License
from focus-creative-games
with MIT License
from focus-creative-games
[Puerts.MonoPInvokeCallback(typeof(Puerts.V8FunctionCallback))]
private static void F_PixelAdjustRect(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.RectTransform>(false);
var Arg1 = argHelper1.Get<UnityEngine.Canvas>(false);
var result = UnityEngine.RectTransformUtility.PixelAdjustRect(Arg0,Arg1);
Puerts.ResultHelper.Set((int)data, isolate, info, result);
}
}
}
catch (Exception e)
{
Puerts.PuertsDLL.ThrowException(isolate, "c# exception:" + e.Message + ",stack:" + e.StackTrace);
}
}