Skip to content

Commit

Permalink
Bump fxnc
Browse files Browse the repository at this point in the history
  • Loading branch information
olokobayusuf committed Apr 15, 2024
1 parent d09d2b6 commit 6da63cc
Show file tree
Hide file tree
Showing 31 changed files with 1,420 additions and 2,043 deletions.
2 changes: 1 addition & 1 deletion Assets/Tests/Editor/EmbedAttributeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal sealed class EmbedAttributeTest {
private const string CustomURL = "https://www.google.com";
private const string CustomAccessKey = @"hello world";

[Function.Embed(CustomPredictor)]
//[Function.Embed(CustomPredictor)]
private static Function fxn => new Function(url: CustomURL, accessKey: CustomAccessKey);

[Test(Description = @"Should extract default embed attribute")]
Expand Down
2 changes: 1 addition & 1 deletion Assets/Tests/Runtime/EdgeFunctionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Function.Tests {
using UnityEngine;
using Newtonsoft.Json;

[Function.Embed(EdgeFunctionTest.Tag)]
//[Function.Embed(EdgeFunctionTest.Tag)]
internal sealed class EdgeFunctionTest : MonoBehaviour {

private Function fxn;
Expand Down
4 changes: 4 additions & 0 deletions Assets/Tests/Runtime/FxncVersionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@
namespace Function.Tests {

using System.Runtime.InteropServices;
using System.Text;
using UnityEngine;
using Internal;

internal sealed class FxncVersionTest : MonoBehaviour {

private void Start () {
var configId = new StringBuilder(2048);
var version = Marshal.PtrToStringAuto(Function.GetVersion());
Function.GetConfigurationUniqueID(configId, configId.Capacity);
Debug.Log($"Function {version}");
Debug.Log($"Configuration: {configId}");
}
}
}
38 changes: 27 additions & 11 deletions Assets/Tests/Tests.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 705507994}
m_IndirectSpecularColor: {r: 0.44657838, g: 0.49641228, b: 0.57481676, a: 1}
m_IndirectSpecularColor: {r: 0.44407493, g: 0.49331808, b: 0.5724013, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand Down Expand Up @@ -104,7 +104,7 @@ NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
Expand All @@ -117,7 +117,7 @@ NavMeshSettings:
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
Expand Down Expand Up @@ -201,6 +201,7 @@ Canvas:
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
Expand All @@ -218,7 +219,6 @@ RectTransform:
m_Children:
- {fileID: 1654635356}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
Expand Down Expand Up @@ -311,13 +311,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705507993}
serializedVersion: 2
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &963194225
GameObject:
Expand Down Expand Up @@ -359,9 +359,17 @@ Camera:
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_Iso: 200
m_ShutterSpeed: 0.005
m_Aperture: 16
m_FocusDistance: 10
m_FocalLength: 50
m_BladeCount: 5
m_Curvature: {x: 2, y: 11}
m_BarrelClipping: 0.25
m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
Expand Down Expand Up @@ -395,13 +403,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1167683551
GameObject:
Expand All @@ -412,12 +420,12 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1167683553}
- component: {fileID: 1167683559}
- component: {fileID: 1167683556}
- component: {fileID: 1167683554}
- component: {fileID: 1167683555}
- component: {fileID: 1167683557}
- component: {fileID: 1167683558}
- component: {fileID: 1167683559}
- component: {fileID: 1167683560}
- component: {fileID: 1167683561}
m_Layer: 0
Expand All @@ -434,13 +442,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1167683551}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1167683554
MonoBehaviour:
Expand Down Expand Up @@ -602,13 +610,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1413509856}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1654635355
GameObject:
Expand Down Expand Up @@ -642,7 +650,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 289723530}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
Expand Down Expand Up @@ -698,3 +705,12 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1654635355}
m_CullTransparentMesh: 1
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 289723530}
- {fileID: 705507995}
- {fileID: 1413509859}
- {fileID: 963194228}
- {fileID: 1167683553}
Loading

0 comments on commit 6da63cc

Please sign in to comment.