public static extern void SetLayerCost(int layer, float cost); [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]