static int SetClipSoftness(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.UI.MaskableGraphic obj  = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L, 1);
         UnityEngine.Vector2            arg0 = ToLua.ToVector2(L, 2);
         obj.SetClipSoftness(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
예제 #2
0
    static int SetClipSoftness(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.UI.MaskableGraphic.SetClipSoftness");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 2);
            UnityEngine.UI.MaskableGraphic obj  = (UnityEngine.UI.MaskableGraphic)ToLua.CheckObject <UnityEngine.UI.MaskableGraphic>(L, 1);
            UnityEngine.Vector2            arg0 = ToLua.ToVector2(L, 2);
            obj.SetClipSoftness(arg0);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }