├── .gitignore ├── Assets ├── Materials.meta ├── Materials │ ├── test.mat │ └── test.mat.meta ├── Prefabs.meta ├── Prefabs │ ├── Cube.prefab │ ├── Cube.prefab.meta │ ├── EmptyGameObject.prefab │ ├── EmptyGameObject.prefab.meta │ ├── Sphere.prefab │ └── Sphere.prefab.meta ├── Scripts.meta ├── Scripts │ ├── BatteryLogger.cs │ ├── BatteryLogger.cs.meta │ ├── JobSystemTest.cs │ ├── JobSystemTest.cs.meta │ ├── UpdateDt.cs │ └── UpdateDt.cs.meta ├── test.unity └── test.unity.meta ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset ├── ReadMe.md ├── UnityPackageManager └── manifest.json └── doc └── img ├── AfterJobSystem.png ├── BeforeJobSystem.png ├── Inspector.png └── jobExecute.png /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Visual Studio 2015 cache directory 9 | /.vs/ 10 | 11 | # Autogenerated VS/MD/Consulo solution and project files 12 | ExportedObj/ 13 | .consulo/ 14 | *.csproj 15 | *.unityproj 16 | *.sln 17 | *.suo 18 | *.tmp 19 | *.user 20 | *.userprefs 21 | *.pidb 22 | *.booproj 23 | *.svd 24 | *.pdb 25 | 26 | # Unity3D generated meta files 27 | *.pidb.meta 28 | 29 | # Unity3D Generated File On Crash Reports 30 | sysinfo.txt 31 | 32 | # Builds 33 | *.apk 34 | *.unitypackage 35 | -------------------------------------------------------------------------------- /Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c43a4e5af25412640a18c3e61b1c1572 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/test.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: test 10 | m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 1 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | m_Floats: 58 | - _BumpScale: 1 59 | - _Cutoff: 0.5 60 | - _DetailNormalMapScale: 1 61 | - _DstBlend: 0 62 | - _GlossMapScale: 1 63 | - _Glossiness: 0.5 64 | - _GlossyReflections: 1 65 | - _Metallic: 0 66 | - _Mode: 0 67 | - _OcclusionStrength: 1 68 | - _Parallax: 0.02 69 | - _SmoothnessTextureChannel: 0 70 | - _SpecularHighlights: 1 71 | - _SrcBlend: 1 72 | - _UVSec: 0 73 | - _ZWrite: 1 74 | m_Colors: 75 | - _Color: {r: 1, g: 0, b: 0.6099076, a: 0.32941177} 76 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 77 | -------------------------------------------------------------------------------- /Assets/Materials/test.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ca2a7d87b12d854e910f4b96a385941 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea4f3c93f654d1f46be02f1818b1dd6e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/Cube.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_ParentPrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1165768596078326} 13 | m_IsPrefabParent: 1 14 | --- !u!1 &1165768596078326 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_PrefabParentObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 5 20 | m_Component: 21 | - component: {fileID: 4607153160901458} 22 | - component: {fileID: 33060682256641766} 23 | - component: {fileID: 23280672265009404} 24 | m_Layer: 0 25 | m_Name: Cube 26 | m_TagString: Untagged 27 | m_Icon: {fileID: 0} 28 | m_NavMeshLayer: 0 29 | m_StaticEditorFlags: 0 30 | m_IsActive: 1 31 | --- !u!4 &4607153160901458 32 | Transform: 33 | m_ObjectHideFlags: 1 34 | m_PrefabParentObject: {fileID: 0} 35 | m_PrefabInternal: {fileID: 100100000} 36 | m_GameObject: {fileID: 1165768596078326} 37 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 38 | m_LocalPosition: {x: 0, y: 0, z: 0} 39 | m_LocalScale: {x: 0.6, y: 0.6, z: 0.6} 40 | m_Children: [] 41 | m_Father: {fileID: 0} 42 | m_RootOrder: 0 43 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 44 | --- !u!23 &23280672265009404 45 | MeshRenderer: 46 | m_ObjectHideFlags: 1 47 | m_PrefabParentObject: {fileID: 0} 48 | m_PrefabInternal: {fileID: 100100000} 49 | m_GameObject: {fileID: 1165768596078326} 50 | m_Enabled: 1 51 | m_CastShadows: 1 52 | m_ReceiveShadows: 1 53 | m_DynamicOccludee: 1 54 | m_MotionVectors: 1 55 | m_LightProbeUsage: 1 56 | m_ReflectionProbeUsage: 1 57 | m_RenderingLayerMask: 4294967295 58 | m_Materials: 59 | - {fileID: 2100000, guid: 6ca2a7d87b12d854e910f4b96a385941, type: 2} 60 | m_StaticBatchInfo: 61 | firstSubMesh: 0 62 | subMeshCount: 0 63 | m_StaticBatchRoot: {fileID: 0} 64 | m_ProbeAnchor: {fileID: 0} 65 | m_LightProbeVolumeOverride: {fileID: 0} 66 | m_ScaleInLightmap: 1 67 | m_PreserveUVs: 0 68 | m_IgnoreNormalsForChartDetection: 0 69 | m_ImportantGI: 0 70 | m_StitchLightmapSeams: 0 71 | m_SelectedEditorRenderState: 3 72 | m_MinimumChartSize: 4 73 | m_AutoUVMaxDistance: 0.5 74 | m_AutoUVMaxAngle: 89 75 | m_LightmapParameters: {fileID: 0} 76 | m_SortingLayerID: 0 77 | m_SortingLayer: 0 78 | m_SortingOrder: 0 79 | --- !u!33 &33060682256641766 80 | MeshFilter: 81 | m_ObjectHideFlags: 1 82 | m_PrefabParentObject: {fileID: 0} 83 | m_PrefabInternal: {fileID: 100100000} 84 | m_GameObject: {fileID: 1165768596078326} 85 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 86 | -------------------------------------------------------------------------------- /Assets/Prefabs/Cube.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c92938092840f9245a2c2fbb034d7f00 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/EmptyGameObject.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_ParentPrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1072132294758978} 13 | m_IsPrefabParent: 1 14 | --- !u!1 &1072132294758978 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_PrefabParentObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 5 20 | m_Component: 21 | - component: {fileID: 4091938945499188} 22 | m_Layer: 0 23 | m_Name: EmptyGameObject 24 | m_TagString: Untagged 25 | m_Icon: {fileID: 0} 26 | m_NavMeshLayer: 0 27 | m_StaticEditorFlags: 0 28 | m_IsActive: 1 29 | --- !u!4 &4091938945499188 30 | Transform: 31 | m_ObjectHideFlags: 1 32 | m_PrefabParentObject: {fileID: 0} 33 | m_PrefabInternal: {fileID: 100100000} 34 | m_GameObject: {fileID: 1072132294758978} 35 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 36 | m_LocalPosition: {x: 0, y: 0, z: 0} 37 | m_LocalScale: {x: 1, y: 1, z: 1} 38 | m_Children: [] 39 | m_Father: {fileID: 0} 40 | m_RootOrder: 0 41 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 42 | -------------------------------------------------------------------------------- /Assets/Prefabs/EmptyGameObject.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3da64038f9d2df94b961d7a154b3b50a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/Sphere.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_ParentPrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1619556116349274} 13 | m_IsPrefabParent: 1 14 | --- !u!1 &1619556116349274 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_PrefabParentObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 5 20 | m_Component: 21 | - component: {fileID: 4279591892933470} 22 | - component: {fileID: 33176686052000946} 23 | - component: {fileID: 23439065781226148} 24 | m_Layer: 0 25 | m_Name: Sphere 26 | m_TagString: Untagged 27 | m_Icon: {fileID: 0} 28 | m_NavMeshLayer: 0 29 | m_StaticEditorFlags: 0 30 | m_IsActive: 1 31 | --- !u!4 &4279591892933470 32 | Transform: 33 | m_ObjectHideFlags: 1 34 | m_PrefabParentObject: {fileID: 0} 35 | m_PrefabInternal: {fileID: 100100000} 36 | m_GameObject: {fileID: 1619556116349274} 37 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 38 | m_LocalPosition: {x: 0, y: 0, z: 0} 39 | m_LocalScale: {x: 1, y: 1, z: 1} 40 | m_Children: [] 41 | m_Father: {fileID: 0} 42 | m_RootOrder: 0 43 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 44 | --- !u!23 &23439065781226148 45 | MeshRenderer: 46 | m_ObjectHideFlags: 1 47 | m_PrefabParentObject: {fileID: 0} 48 | m_PrefabInternal: {fileID: 100100000} 49 | m_GameObject: {fileID: 1619556116349274} 50 | m_Enabled: 1 51 | m_CastShadows: 0 52 | m_ReceiveShadows: 0 53 | m_DynamicOccludee: 0 54 | m_MotionVectors: 2 55 | m_LightProbeUsage: 0 56 | m_ReflectionProbeUsage: 0 57 | m_RenderingLayerMask: 4294967295 58 | m_Materials: 59 | - {fileID: 2100000, guid: 6ca2a7d87b12d854e910f4b96a385941, type: 2} 60 | m_StaticBatchInfo: 61 | firstSubMesh: 0 62 | subMeshCount: 0 63 | m_StaticBatchRoot: {fileID: 0} 64 | m_ProbeAnchor: {fileID: 0} 65 | m_LightProbeVolumeOverride: {fileID: 0} 66 | m_ScaleInLightmap: 1 67 | m_PreserveUVs: 0 68 | m_IgnoreNormalsForChartDetection: 0 69 | m_ImportantGI: 0 70 | m_StitchLightmapSeams: 0 71 | m_SelectedEditorRenderState: 3 72 | m_MinimumChartSize: 4 73 | m_AutoUVMaxDistance: 0.5 74 | m_AutoUVMaxAngle: 89 75 | m_LightmapParameters: {fileID: 0} 76 | m_SortingLayerID: 0 77 | m_SortingLayer: 0 78 | m_SortingOrder: 0 79 | --- !u!33 &33176686052000946 80 | MeshFilter: 81 | m_ObjectHideFlags: 1 82 | m_PrefabParentObject: {fileID: 0} 83 | m_PrefabInternal: {fileID: 100100000} 84 | m_GameObject: {fileID: 1619556116349274} 85 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 86 | -------------------------------------------------------------------------------- /Assets/Prefabs/Sphere.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b724222d1d3b80a42bfb83e1c2655bf1 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e07de710dee26ba499747ed6c8dbc559 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/BatteryLogger.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using UnityEngine; 5 | 6 | 7 | /// 8 | /// バッテリー消費量をファイルに書き出しておきます 9 | /// ログファイルはcsv形式で保存されます 10 | /// 11 | /// ログの形式は下記です。 12 | /// "実行ID" , "実行したモード" , "起動からの時間" , "バッテリーレベル" , "その時のDeltaTime" , "その時の実行時間" 13 | /// 14 | public class BatteryLogger { 15 | 16 | /// 17 | /// ファイルにログするインターバル(秒) 18 | /// 19 | private const int fileInterval = 30; 20 | 21 | 22 | private static BatteryLogger instance; 23 | 24 | private int lastExecuteTime = -10000; 25 | private StringBuilder stringBuilder; 26 | 27 | // 同一ファイルに複数データが入ってしまう可能性があるので… 28 | private string executeId; 29 | 30 | // 書き出すファイル名 31 | public string LogFile = "battery.txt"; 32 | 33 | // 書き出すファイルの実パス 34 | private string actualPath; 35 | 36 | 37 | public static BatteryLogger Instance 38 | { 39 | get 40 | { 41 | if (instance == null) 42 | { 43 | instance = new BatteryLogger(); 44 | } 45 | return instance; 46 | } 47 | } 48 | /// 49 | /// コンストラクタ 50 | /// 51 | private BatteryLogger() 52 | { 53 | executeId = System.Guid.NewGuid().ToString(); 54 | stringBuilder = new StringBuilder(256); 55 | actualPath = System.IO.Path.Combine(Application.persistentDataPath, LogFile); 56 | Debug.Log("savePath " + actualPath); 57 | 58 | 59 | stringBuilder.Length = 0; 60 | if ( !System.IO.File.Exists(actualPath)) 61 | { 62 | stringBuilder.Append("executeId,").Append("executeMode,").Append("timeFromStartup,"); 63 | stringBuilder.Append("GetBatteryLevel(),").Append("dt,").Append("exeTm,"); 64 | 65 | stringBuilder.Append("\n"); 66 | System.IO.File.AppendAllText(actualPath, stringBuilder.ToString()); 67 | } 68 | } 69 | 70 | /// 71 | /// ログにデータを入れます。が、一定スパンでないとデータをはじきます 72 | /// 73 | public void AddToLog(int executeMode, float timeFromStartup, float dt , float exeTm ) 74 | { 75 | // まだファイルに書き込むべきではない 76 | if (timeFromStartup - lastExecuteTime < fileInterval) 77 | { 78 | return; 79 | } 80 | // ログファイル名からなら何もしない 81 | if (string.IsNullOrEmpty(LogFile)) 82 | { 83 | return; 84 | } 85 | stringBuilder.Length = 0; 86 | stringBuilder.Append(executeId).Append(","); 87 | stringBuilder.Append(executeMode).Append(","); 88 | stringBuilder.Append(timeFromStartup).Append(","); 89 | stringBuilder.Append( GetBatteryLevel() ).Append(","); 90 | stringBuilder.Append(dt).Append(","); 91 | stringBuilder.Append(exeTm).Append(","); 92 | 93 | 94 | stringBuilder.Append("\n"); 95 | System.IO.File.AppendAllText( actualPath, stringBuilder.ToString()); 96 | 97 | lastExecuteTime = ((int)timeFromStartup / fileInterval) * fileInterval; 98 | } 99 | 100 | 101 | private static float GetBatteryLevel() 102 | { 103 | 104 | return SystemInfo.batteryLevel; 105 | } 106 | 107 | } 108 | -------------------------------------------------------------------------------- /Assets/Scripts/BatteryLogger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75a2cd4f468e1634e9e15e896f5c49d9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scripts/JobSystemTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | // この辺がjobsytem関連の namespace 6 | using Unity.Jobs; 7 | using Unity.Jobs.LowLevel; 8 | using Unity.Jobs.LowLevel.Unsafe; 9 | using UnityEngine.Jobs; 10 | 11 | // job system test program 12 | /** 13 | * IJobParallelFor や IJobParallelForTransform を継承した structを定義することで 自身のJobを定義することが出来ます。 14 | * Executeメソッドをオーバーライドすることで処理の定義。Jobに渡したいパラメーターをstructのメンバーに持たせる形です。 15 | * 16 | * #region ARRAY_JOB がIJobParallelForを利用した例 17 | * #region IJobParallelForTransformが IJobParallelForTransformを利用した例となっています 18 | */ 19 | public class JobSystemTest : MonoBehaviour 20 | { 21 | // 目標Job数 22 | private const int PreferJobNum = 7; 23 | // Z座標に追加する 24 | private const float ZPositionAdd = 10.0f; 25 | 26 | // execute mode 27 | public enum ExecuteMethod : int 28 | { 29 | DirectTransform = 0, 30 | TransformAndRotation = 1, 31 | WithIJobParallelForTransform = 2, 32 | WithIJobParallelForTransformByNextFrame = 3, 33 | WithIJobParallelFor = 4, 34 | } 35 | 36 | // 動かすprefab 37 | public GameObject prefab; 38 | // オブジェクト数 39 | public int objectNum = 10000; 40 | // ターゲットのFPSを指定 41 | public int targetFps = 30; 42 | // デフォルトの挙動 43 | public ExecuteMethod defaultMode = ExecuteMethod.WithIJobParallelForTransform; 44 | // ログファイル名 45 | public string logFileName = "battery.log"; 46 | // 解像度縮小モード 47 | public bool isLowResolution = false; 48 | 49 | // 実行モード 50 | private ExecuteMethod executeMethod = ExecuteMethod.DirectTransform; 51 | // Jobの終了待ち等を行うHandleです 52 | private JobHandle jobHandle; 53 | // 動かす対象となるTransformの配列です 54 | private Transform[] transformArray; 55 | 56 | #region TRANSFORM_JOB 57 | // IParallelForTransfromで実行するための TransformAccessArrayです 58 | private UnityEngine.Jobs.TransformAccessArray transformAccessArray; 59 | #endregion TRANSFORM_JOB 60 | 61 | #region ARRAY_JOB 62 | // 配列に対する処理を行うJob部分です 63 | private Unity.Collections.NativeArray myStructNativeArray; 64 | #endregion ARRAY_JOB 65 | 66 | #region TRANSFORM_JOB 67 | // transform更新用のjob 68 | struct MyTransformUpdateJob : UnityEngine.Jobs.IJobParallelForTransform 69 | { 70 | public int objNum; 71 | public float time; 72 | public void Execute(int index, TransformAccess transform) 73 | { 74 | transform.position = CalculatePosition(index, objNum, time); 75 | transform.rotation = CalcRotation(index, objNum, time); 76 | } 77 | } 78 | #endregion TRANSFORM_JOB 79 | 80 | 81 | 82 | #region ARRAY_JOB 83 | // 配列計算用にデータを用意しておきます 84 | struct MyStruct 85 | { 86 | public Vector3 position; 87 | public Quaternion rotation; 88 | 89 | public MyStruct(Vector3 pos, Quaternion rot) 90 | { 91 | this.position = pos; 92 | this.rotation = rot; 93 | } 94 | } 95 | 96 | // 配列計算用のJobを定義します 97 | struct MyParallelForUpdate : Unity.Jobs.IJobParallelFor 98 | { 99 | public Unity.Collections.NativeArray accessor; 100 | public int objNum; 101 | public float time; 102 | 103 | /// 実行部分の関数です 104 | /// indexに配列のindexが入ってきます 105 | public void Execute(int index) 106 | { 107 | // accessor[index + 1] などのように、index以外の範囲に対して書き込みをした場合 エラーが発生します( Editorのみ) 108 | // 予想外の実行時エラーを減らすために、Editor起動時ではチェックするようになっています。 109 | accessor[index] = new MyStruct(CalculatePosition(index, objNum, time), CalcRotation(index, objNum, time)); 110 | } 111 | } 112 | 113 | #endregion ARRAY_JOB 114 | 115 | // 初期化処理など 116 | void Start() 117 | { 118 | // ターゲットのFPSを指定します 119 | Application.targetFrameRate = targetFps; 120 | Screen.sleepTimeout = SleepTimeout.NeverSleep; 121 | if (isLowResolution) 122 | { 123 | Screen.SetResolution(Screen.width / 4, Screen.height / 4, true); 124 | } 125 | // デフォルト挙動セット 126 | this.executeMethod = this.defaultMode; 127 | Resources.FindObjectsOfTypeAll()[0].value = (int) this.defaultMode; 128 | // ログファイル名指定 129 | BatteryLogger.Instance.LogFile = this.logFileName; 130 | 131 | // 操作対象のtransformの作成を行います 132 | transformArray = new Transform[objectNum]; 133 | for (int i = 0; i < objectNum; ++i) 134 | { 135 | GameObject gmo = Object.Instantiate(prefab); 136 | transformArray[i] = gmo.transform; 137 | } 138 | 139 | 140 | // TransformJobの為に、TransformAccessArrayを事前に生成しておきます 141 | #region TRANSFORM_JOB 142 | transformAccessArray = new UnityEngine.Jobs.TransformAccessArray(objectNum, 0); 143 | for (int i = 0; i < objectNum; ++i) 144 | { 145 | transformAccessArray.Add(transformArray[i]); 146 | } 147 | #endregion TRANSFORM_JOB 148 | 149 | // 座標計算等を並行処理させるために、事前に計算用のワークを確保しておきます 150 | #region ARRAY_JOB 151 | myStructNativeArray = new Unity.Collections.NativeArray(objectNum, Unity.Collections.Allocator.Persistent); 152 | #endregion ARRAY_JOB 153 | } 154 | 155 | 156 | // 更新処理 157 | void Update() 158 | { 159 | float tm = Time.realtimeSinceStartup; 160 | switch (executeMethod) 161 | { 162 | // transformに直接アクセスします 163 | case ExecuteMethod.DirectTransform: 164 | { 165 | for (int i = 0; i < objectNum; ++i) 166 | { 167 | transformArray[i].position = CalculatePosition(i, objectNum, tm); 168 | transformArray[i].rotation = CalcRotation(i, objectNum, tm); 169 | } 170 | } 171 | break; 172 | // SetPositionAndRotationで設定します 173 | case ExecuteMethod.TransformAndRotation: 174 | { 175 | for (int i = 0; i < objectNum; ++i) 176 | { 177 | transformArray[i].SetPositionAndRotation( CalculatePosition(i, objectNum, tm), CalcRotation(i, objectNum, tm) ); 178 | } 179 | } 180 | break; 181 | #region TRANSFORM_JOB 182 | // IJobParallelForTransformを利用して処理します( Job System ) 183 | case ExecuteMethod.WithIJobParallelForTransform: 184 | { 185 | UpdateWithIJobParallelForTransform(tm); 186 | } 187 | break; 188 | // IjobParallelForTransformを利用して処理しますが、更新処理をそのフレームで待たず、次のフレームで同期することを期待します 189 | case ExecuteMethod.WithIJobParallelForTransformByNextFrame: 190 | { 191 | UpdateWithIJobParallelForTransformByNextFrame(tm); 192 | } 193 | break; 194 | #endregion TRANSFORM_JOB 195 | 196 | #region ARRAY_JOB 197 | // IJobParallelForを利用して座標計算を行った後に、最後にMainThreadでTransformに代入します( Job System ) 198 | case ExecuteMethod.WithIJobParallelFor: 199 | { 200 | UpdateWithIJobParalellFor(tm); 201 | } 202 | break; 203 | #endregion ARRAY_JOB 204 | } 205 | // 実行時間をセット 206 | float executeTime = Time.realtimeSinceStartup - tm; 207 | UpdateDt.Instance.SetText(Time.deltaTime, executeTime); 208 | // ログに書き出します 209 | BatteryLogger.Instance.AddToLog((int)this.executeMethod, tm, Time.deltaTime, executeTime); 210 | } 211 | 212 | #region TRANSFORM_JOB 213 | /// Transformに対する並列処理を行う部分です。 214 | private void UpdateWithIJobParallelForTransform(float tm) 215 | { 216 | // Transformに関する並列処理のJobを作成します 217 | MyTransformUpdateJob myTransformUpdateJob = new MyTransformUpdateJob() 218 | { 219 | // structの初期値を設定します 220 | time = tm, 221 | objNum = this.objectNum 222 | }; 223 | // tranfromAccessArrayに対する処理を Jobに発行します 224 | jobHandle = myTransformUpdateJob.Schedule(this.transformAccessArray); 225 | // 上記で発行したJobが終わるまで、処理をブロックします 226 | jobHandle.Complete(); 227 | } 228 | 229 | 230 | /// Transformに対する並列処理を行います。その場で同期せず、次のフレームに同期のタイミングを持ち越し、処理の短縮を図ります 231 | private void UpdateWithIJobParallelForTransformByNextFrame(float tm) 232 | { 233 | // 前のフレーム発行したJobが終わるまで、処理をブロックします 234 | jobHandle.Complete(); 235 | // Transformに関する並列処理のJobを作成します 236 | MyTransformUpdateJob myTransformUpdateJob = new MyTransformUpdateJob() 237 | { 238 | // structの初期値を設定します 239 | time = tm, 240 | objNum = this.objectNum 241 | }; 242 | // tranfromAccessArrayに対する処理を Jobに発行します 243 | jobHandle = myTransformUpdateJob.Schedule(this.transformAccessArray); 244 | // 発行したJobを直ちに実行するように促します 245 | JobHandle.ScheduleBatchedJobs(); 246 | } 247 | #endregion TRANSFORM_JOB 248 | 249 | #region ARRAY_JOB 250 | // 座標計算のみ平行処理して行い、Transformに入れる部分だけは MainThreadにしたバージョンです 251 | private void UpdateWithIJobParalellFor(float tm) 252 | { 253 | // 座標計算を行うだけの jobを作成します 254 | MyParallelForUpdate myParallelJob = new MyParallelForUpdate() 255 | { 256 | // structの初期値を設定します 257 | accessor = this.myStructNativeArray, 258 | time = tm, 259 | objNum = this.objectNum 260 | }; 261 | 262 | // 配列の要素数と、処理の分割数を指定して、Jobを発行します 263 | jobHandle = myParallelJob.Schedule(objectNum, PreferJobNum); 264 | // 上記で発行したJobが終わるまで処理をブロックします 265 | jobHandle.Complete(); 266 | // 最後に MainThread上で positionとrotationのセットを行います 267 | for (int i = 0; i < objectNum; ++i) 268 | { 269 | transformArray[i].SetPositionAndRotation(myStructNativeArray[i].position, myStructNativeArray[i].rotation); 270 | } 271 | } 272 | #endregion ARRAY_JOB 273 | 274 | // 座標計算のコア部分 275 | private static Vector3 CalculatePosition(int idx, int num, float time) 276 | { 277 | float x = idx / 100.0f + Mathf.Sin(time * 2.0f) - num / 200; 278 | float y = Mathf.Cos(time) * -3.0f + ((idx / 10 ) % 10); 279 | float z = ZPositionAdd + Mathf.Cos(time) + 4.0f + (idx % 10); 280 | Vector3 positon = new Vector3( x , y , z ); 281 | return positon; 282 | } 283 | // 回転計算のコア部分 284 | public static Quaternion CalcRotation(int idx, int num, float time) 285 | { 286 | Quaternion rot = Quaternion.AngleAxis(idx + time, Vector3.up); 287 | return rot; 288 | } 289 | 290 | 291 | /// 292 | /// 破棄時に、色々Disposeします 293 | /// 294 | void OnDestroy() 295 | { 296 | this.jobHandle.Complete(); 297 | this.transformAccessArray.Dispose(); 298 | this.myStructNativeArray.Dispose(); 299 | } 300 | 301 | // メニューで実行モードが変更された 302 | public void OnChangedSelection(int val) 303 | { 304 | executeMethod = (ExecuteMethod)val; 305 | } 306 | } -------------------------------------------------------------------------------- /Assets/Scripts/JobSystemTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10870cb2a80fee249a12910e69be66cd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scripts/UpdateDt.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using UnityEngine; 5 | using UnityEngine.UI; 6 | 7 | /// 8 | /// DeltaTime 表示用 9 | /// 10 | public class UpdateDt : MonoBehaviour { 11 | public Text dtText; 12 | private StringBuilder sb = new StringBuilder(256); 13 | 14 | private static UpdateDt instance; 15 | public static UpdateDt Instance { get { return instance; } } 16 | 17 | void Awake() 18 | { 19 | instance = this; 20 | } 21 | void OnDestroy() 22 | { 23 | instance = null; 24 | } 25 | 26 | // Update is called once per frame 27 | public void SetText (float dt , float execTime) { 28 | sb.Length = 0; 29 | sb.Append("Time.deltaTime:"); 30 | sb.Append( dt.ToString("0.0000") ); 31 | sb.Append("\n"); 32 | sb.Append("UpdateFunction:"); 33 | sb.Append(execTime.ToString("0.0000")); 34 | 35 | dtText.text = sb.ToString(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Assets/Scripts/UpdateDt.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26fdbd18b55af254d97758ca44b11aea 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/test.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 0 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_TemporalCoherenceThreshold: 1 54 | m_EnvironmentLightingMode: 0 55 | m_EnableBakedLightmaps: 1 56 | m_EnableRealtimeLightmaps: 1 57 | m_LightmapEditorSettings: 58 | serializedVersion: 10 59 | m_Resolution: 2 60 | m_BakeResolution: 40 61 | m_AtlasSize: 1024 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVRFilterTypeDirect: 0 81 | m_PVRFilterTypeIndirect: 0 82 | m_PVRFilterTypeAO: 0 83 | m_PVRFilteringMode: 1 84 | m_PVRCulling: 1 85 | m_PVRFilteringGaussRadiusDirect: 1 86 | m_PVRFilteringGaussRadiusIndirect: 5 87 | m_PVRFilteringGaussRadiusAO: 2 88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 90 | m_PVRFilteringAtrousPositionSigmaAO: 1 91 | m_ShowResolutionOverlay: 1 92 | m_LightingDataAsset: {fileID: 0} 93 | m_UseShadowmask: 1 94 | --- !u!196 &4 95 | NavMeshSettings: 96 | serializedVersion: 2 97 | m_ObjectHideFlags: 0 98 | m_BuildSettings: 99 | serializedVersion: 2 100 | agentTypeID: 0 101 | agentRadius: 0.5 102 | agentHeight: 2 103 | agentSlope: 45 104 | agentClimb: 0.4 105 | ledgeDropHeight: 0 106 | maxJumpAcrossDistance: 0 107 | minRegionArea: 2 108 | manualCellSize: 0 109 | cellSize: 0.16666667 110 | manualTileSize: 0 111 | tileSize: 256 112 | accuratePlacement: 0 113 | debug: 114 | m_Flags: 0 115 | m_NavMeshData: {fileID: 0} 116 | --- !u!1 &137192189 117 | GameObject: 118 | m_ObjectHideFlags: 0 119 | m_PrefabParentObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 0} 121 | serializedVersion: 5 122 | m_Component: 123 | - component: {fileID: 137192193} 124 | - component: {fileID: 137192192} 125 | - component: {fileID: 137192191} 126 | - component: {fileID: 137192190} 127 | m_Layer: 0 128 | m_Name: Main Camera 129 | m_TagString: MainCamera 130 | m_Icon: {fileID: 0} 131 | m_NavMeshLayer: 0 132 | m_StaticEditorFlags: 0 133 | m_IsActive: 1 134 | --- !u!81 &137192190 135 | AudioListener: 136 | m_ObjectHideFlags: 0 137 | m_PrefabParentObject: {fileID: 0} 138 | m_PrefabInternal: {fileID: 0} 139 | m_GameObject: {fileID: 137192189} 140 | m_Enabled: 1 141 | --- !u!124 &137192191 142 | Behaviour: 143 | m_ObjectHideFlags: 0 144 | m_PrefabParentObject: {fileID: 0} 145 | m_PrefabInternal: {fileID: 0} 146 | m_GameObject: {fileID: 137192189} 147 | m_Enabled: 1 148 | --- !u!20 &137192192 149 | Camera: 150 | m_ObjectHideFlags: 0 151 | m_PrefabParentObject: {fileID: 0} 152 | m_PrefabInternal: {fileID: 0} 153 | m_GameObject: {fileID: 137192189} 154 | m_Enabled: 1 155 | serializedVersion: 2 156 | m_ClearFlags: 2 157 | m_BackGroundColor: {r: 0.8396226, g: 0.8396226, b: 0.8396226, a: 1} 158 | m_NormalizedViewPortRect: 159 | serializedVersion: 2 160 | x: 0 161 | y: 0 162 | width: 1 163 | height: 1 164 | near clip plane: 0.3 165 | far clip plane: 1000 166 | field of view: 60 167 | orthographic: 0 168 | orthographic size: 5 169 | m_Depth: -1 170 | m_CullingMask: 171 | serializedVersion: 2 172 | m_Bits: 4294967295 173 | m_RenderingPath: -1 174 | m_TargetTexture: {fileID: 0} 175 | m_TargetDisplay: 0 176 | m_TargetEye: 3 177 | m_HDR: 1 178 | m_AllowMSAA: 1 179 | m_AllowDynamicResolution: 0 180 | m_ForceIntoRT: 0 181 | m_OcclusionCulling: 1 182 | m_StereoConvergence: 10 183 | m_StereoSeparation: 0.022 184 | --- !u!4 &137192193 185 | Transform: 186 | m_ObjectHideFlags: 0 187 | m_PrefabParentObject: {fileID: 0} 188 | m_PrefabInternal: {fileID: 0} 189 | m_GameObject: {fileID: 137192189} 190 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 191 | m_LocalPosition: {x: 0, y: 5, z: -10} 192 | m_LocalScale: {x: 1, y: 1, z: 1} 193 | m_Children: [] 194 | m_Father: {fileID: 0} 195 | m_RootOrder: 0 196 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 197 | --- !u!1 &505070613 198 | GameObject: 199 | m_ObjectHideFlags: 0 200 | m_PrefabParentObject: {fileID: 0} 201 | m_PrefabInternal: {fileID: 0} 202 | serializedVersion: 5 203 | m_Component: 204 | - component: {fileID: 505070614} 205 | - component: {fileID: 505070616} 206 | - component: {fileID: 505070615} 207 | m_Layer: 5 208 | m_Name: Handle 209 | m_TagString: Untagged 210 | m_Icon: {fileID: 0} 211 | m_NavMeshLayer: 0 212 | m_StaticEditorFlags: 0 213 | m_IsActive: 1 214 | --- !u!224 &505070614 215 | RectTransform: 216 | m_ObjectHideFlags: 0 217 | m_PrefabParentObject: {fileID: 0} 218 | m_PrefabInternal: {fileID: 0} 219 | m_GameObject: {fileID: 505070613} 220 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 221 | m_LocalPosition: {x: 0, y: 0, z: 0} 222 | m_LocalScale: {x: 1, y: 1, z: 1} 223 | m_Children: [] 224 | m_Father: {fileID: 525817483} 225 | m_RootOrder: 0 226 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 227 | m_AnchorMin: {x: 0, y: 0} 228 | m_AnchorMax: {x: 1, y: 0.2} 229 | m_AnchoredPosition: {x: 0, y: 0} 230 | m_SizeDelta: {x: 20, y: 20} 231 | m_Pivot: {x: 0.5, y: 0.5} 232 | --- !u!114 &505070615 233 | MonoBehaviour: 234 | m_ObjectHideFlags: 0 235 | m_PrefabParentObject: {fileID: 0} 236 | m_PrefabInternal: {fileID: 0} 237 | m_GameObject: {fileID: 505070613} 238 | m_Enabled: 1 239 | m_EditorHideFlags: 0 240 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 241 | m_Name: 242 | m_EditorClassIdentifier: 243 | m_Material: {fileID: 0} 244 | m_Color: {r: 1, g: 1, b: 1, a: 1} 245 | m_RaycastTarget: 1 246 | m_OnCullStateChanged: 247 | m_PersistentCalls: 248 | m_Calls: [] 249 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 250 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 251 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 252 | m_Type: 1 253 | m_PreserveAspect: 0 254 | m_FillCenter: 1 255 | m_FillMethod: 4 256 | m_FillAmount: 1 257 | m_FillClockwise: 1 258 | m_FillOrigin: 0 259 | --- !u!222 &505070616 260 | CanvasRenderer: 261 | m_ObjectHideFlags: 0 262 | m_PrefabParentObject: {fileID: 0} 263 | m_PrefabInternal: {fileID: 0} 264 | m_GameObject: {fileID: 505070613} 265 | --- !u!1 &525817482 266 | GameObject: 267 | m_ObjectHideFlags: 0 268 | m_PrefabParentObject: {fileID: 0} 269 | m_PrefabInternal: {fileID: 0} 270 | serializedVersion: 5 271 | m_Component: 272 | - component: {fileID: 525817483} 273 | m_Layer: 5 274 | m_Name: Sliding Area 275 | m_TagString: Untagged 276 | m_Icon: {fileID: 0} 277 | m_NavMeshLayer: 0 278 | m_StaticEditorFlags: 0 279 | m_IsActive: 1 280 | --- !u!224 &525817483 281 | RectTransform: 282 | m_ObjectHideFlags: 0 283 | m_PrefabParentObject: {fileID: 0} 284 | m_PrefabInternal: {fileID: 0} 285 | m_GameObject: {fileID: 525817482} 286 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 287 | m_LocalPosition: {x: 0, y: 0, z: 0} 288 | m_LocalScale: {x: 1, y: 1, z: 1} 289 | m_Children: 290 | - {fileID: 505070614} 291 | m_Father: {fileID: 1408292543} 292 | m_RootOrder: 0 293 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 294 | m_AnchorMin: {x: 0, y: 0} 295 | m_AnchorMax: {x: 1, y: 1} 296 | m_AnchoredPosition: {x: 0, y: 0} 297 | m_SizeDelta: {x: -20, y: -20} 298 | m_Pivot: {x: 0.5, y: 0.5} 299 | --- !u!1 &528220562 300 | GameObject: 301 | m_ObjectHideFlags: 0 302 | m_PrefabParentObject: {fileID: 0} 303 | m_PrefabInternal: {fileID: 0} 304 | serializedVersion: 5 305 | m_Component: 306 | - component: {fileID: 528220563} 307 | - component: {fileID: 528220565} 308 | - component: {fileID: 528220564} 309 | m_Layer: 5 310 | m_Name: Item Label 311 | m_TagString: Untagged 312 | m_Icon: {fileID: 0} 313 | m_NavMeshLayer: 0 314 | m_StaticEditorFlags: 0 315 | m_IsActive: 1 316 | --- !u!224 &528220563 317 | RectTransform: 318 | m_ObjectHideFlags: 0 319 | m_PrefabParentObject: {fileID: 0} 320 | m_PrefabInternal: {fileID: 0} 321 | m_GameObject: {fileID: 528220562} 322 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 323 | m_LocalPosition: {x: 0, y: 0, z: 0} 324 | m_LocalScale: {x: 1, y: 1, z: 1} 325 | m_Children: [] 326 | m_Father: {fileID: 668522169} 327 | m_RootOrder: 2 328 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 329 | m_AnchorMin: {x: 0, y: 0} 330 | m_AnchorMax: {x: 1, y: 1} 331 | m_AnchoredPosition: {x: 5, y: -0.5} 332 | m_SizeDelta: {x: -30, y: -3} 333 | m_Pivot: {x: 0.5, y: 0.5} 334 | --- !u!114 &528220564 335 | MonoBehaviour: 336 | m_ObjectHideFlags: 0 337 | m_PrefabParentObject: {fileID: 0} 338 | m_PrefabInternal: {fileID: 0} 339 | m_GameObject: {fileID: 528220562} 340 | m_Enabled: 1 341 | m_EditorHideFlags: 0 342 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 343 | m_Name: 344 | m_EditorClassIdentifier: 345 | m_Material: {fileID: 0} 346 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 347 | m_RaycastTarget: 1 348 | m_OnCullStateChanged: 349 | m_PersistentCalls: 350 | m_Calls: [] 351 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 352 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 353 | m_FontData: 354 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 355 | m_FontSize: 14 356 | m_FontStyle: 0 357 | m_BestFit: 0 358 | m_MinSize: 10 359 | m_MaxSize: 40 360 | m_Alignment: 3 361 | m_AlignByGeometry: 0 362 | m_RichText: 1 363 | m_HorizontalOverflow: 0 364 | m_VerticalOverflow: 0 365 | m_LineSpacing: 1 366 | m_Text: Option A 367 | --- !u!222 &528220565 368 | CanvasRenderer: 369 | m_ObjectHideFlags: 0 370 | m_PrefabParentObject: {fileID: 0} 371 | m_PrefabInternal: {fileID: 0} 372 | m_GameObject: {fileID: 528220562} 373 | --- !u!1 &668522168 374 | GameObject: 375 | m_ObjectHideFlags: 0 376 | m_PrefabParentObject: {fileID: 0} 377 | m_PrefabInternal: {fileID: 0} 378 | serializedVersion: 5 379 | m_Component: 380 | - component: {fileID: 668522169} 381 | - component: {fileID: 668522170} 382 | m_Layer: 5 383 | m_Name: Item 384 | m_TagString: Untagged 385 | m_Icon: {fileID: 0} 386 | m_NavMeshLayer: 0 387 | m_StaticEditorFlags: 0 388 | m_IsActive: 1 389 | --- !u!224 &668522169 390 | RectTransform: 391 | m_ObjectHideFlags: 0 392 | m_PrefabParentObject: {fileID: 0} 393 | m_PrefabInternal: {fileID: 0} 394 | m_GameObject: {fileID: 668522168} 395 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 396 | m_LocalPosition: {x: 0, y: 0, z: 0} 397 | m_LocalScale: {x: 1, y: 1, z: 1} 398 | m_Children: 399 | - {fileID: 1917369194} 400 | - {fileID: 1460552709} 401 | - {fileID: 528220563} 402 | m_Father: {fileID: 1490494273} 403 | m_RootOrder: 0 404 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 405 | m_AnchorMin: {x: 0, y: 0.5} 406 | m_AnchorMax: {x: 1, y: 0.5} 407 | m_AnchoredPosition: {x: 0, y: 0} 408 | m_SizeDelta: {x: 0, y: 20} 409 | m_Pivot: {x: 0.5, y: 0.5} 410 | --- !u!114 &668522170 411 | MonoBehaviour: 412 | m_ObjectHideFlags: 0 413 | m_PrefabParentObject: {fileID: 0} 414 | m_PrefabInternal: {fileID: 0} 415 | m_GameObject: {fileID: 668522168} 416 | m_Enabled: 1 417 | m_EditorHideFlags: 0 418 | m_Script: {fileID: 2109663825, guid: f70555f144d8491a825f0804e09c671c, type: 3} 419 | m_Name: 420 | m_EditorClassIdentifier: 421 | m_Navigation: 422 | m_Mode: 3 423 | m_SelectOnUp: {fileID: 0} 424 | m_SelectOnDown: {fileID: 0} 425 | m_SelectOnLeft: {fileID: 0} 426 | m_SelectOnRight: {fileID: 0} 427 | m_Transition: 1 428 | m_Colors: 429 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 430 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 431 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 432 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 433 | m_ColorMultiplier: 1 434 | m_FadeDuration: 0.1 435 | m_SpriteState: 436 | m_HighlightedSprite: {fileID: 0} 437 | m_PressedSprite: {fileID: 0} 438 | m_DisabledSprite: {fileID: 0} 439 | m_AnimationTriggers: 440 | m_NormalTrigger: Normal 441 | m_HighlightedTrigger: Highlighted 442 | m_PressedTrigger: Pressed 443 | m_DisabledTrigger: Disabled 444 | m_Interactable: 1 445 | m_TargetGraphic: {fileID: 1917369195} 446 | toggleTransition: 1 447 | graphic: {fileID: 1460552710} 448 | m_Group: {fileID: 0} 449 | onValueChanged: 450 | m_PersistentCalls: 451 | m_Calls: [] 452 | m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0, 453 | Culture=neutral, PublicKeyToken=null 454 | m_IsOn: 1 455 | --- !u!1 &737439738 456 | GameObject: 457 | m_ObjectHideFlags: 0 458 | m_PrefabParentObject: {fileID: 0} 459 | m_PrefabInternal: {fileID: 0} 460 | serializedVersion: 5 461 | m_Component: 462 | - component: {fileID: 737439739} 463 | - component: {fileID: 737439741} 464 | - component: {fileID: 737439740} 465 | m_Layer: 5 466 | m_Name: Arrow 467 | m_TagString: Untagged 468 | m_Icon: {fileID: 0} 469 | m_NavMeshLayer: 0 470 | m_StaticEditorFlags: 0 471 | m_IsActive: 1 472 | --- !u!224 &737439739 473 | RectTransform: 474 | m_ObjectHideFlags: 0 475 | m_PrefabParentObject: {fileID: 0} 476 | m_PrefabInternal: {fileID: 0} 477 | m_GameObject: {fileID: 737439738} 478 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 479 | m_LocalPosition: {x: 0, y: 0, z: 0} 480 | m_LocalScale: {x: 1, y: 1, z: 1} 481 | m_Children: [] 482 | m_Father: {fileID: 1410064949} 483 | m_RootOrder: 1 484 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 485 | m_AnchorMin: {x: 1, y: 0.5} 486 | m_AnchorMax: {x: 1, y: 0.5} 487 | m_AnchoredPosition: {x: -15, y: 0} 488 | m_SizeDelta: {x: 20, y: 20} 489 | m_Pivot: {x: 0.5, y: 0.5} 490 | --- !u!114 &737439740 491 | MonoBehaviour: 492 | m_ObjectHideFlags: 0 493 | m_PrefabParentObject: {fileID: 0} 494 | m_PrefabInternal: {fileID: 0} 495 | m_GameObject: {fileID: 737439738} 496 | m_Enabled: 1 497 | m_EditorHideFlags: 0 498 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 499 | m_Name: 500 | m_EditorClassIdentifier: 501 | m_Material: {fileID: 0} 502 | m_Color: {r: 1, g: 1, b: 1, a: 1} 503 | m_RaycastTarget: 1 504 | m_OnCullStateChanged: 505 | m_PersistentCalls: 506 | m_Calls: [] 507 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 508 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 509 | m_Sprite: {fileID: 10915, guid: 0000000000000000f000000000000000, type: 0} 510 | m_Type: 0 511 | m_PreserveAspect: 0 512 | m_FillCenter: 1 513 | m_FillMethod: 4 514 | m_FillAmount: 1 515 | m_FillClockwise: 1 516 | m_FillOrigin: 0 517 | --- !u!222 &737439741 518 | CanvasRenderer: 519 | m_ObjectHideFlags: 0 520 | m_PrefabParentObject: {fileID: 0} 521 | m_PrefabInternal: {fileID: 0} 522 | m_GameObject: {fileID: 737439738} 523 | --- !u!1 &1035823055 524 | GameObject: 525 | m_ObjectHideFlags: 0 526 | m_PrefabParentObject: {fileID: 0} 527 | m_PrefabInternal: {fileID: 0} 528 | serializedVersion: 5 529 | m_Component: 530 | - component: {fileID: 1035823059} 531 | - component: {fileID: 1035823058} 532 | - component: {fileID: 1035823057} 533 | - component: {fileID: 1035823056} 534 | m_Layer: 5 535 | m_Name: Canvas 536 | m_TagString: Untagged 537 | m_Icon: {fileID: 0} 538 | m_NavMeshLayer: 0 539 | m_StaticEditorFlags: 0 540 | m_IsActive: 1 541 | --- !u!114 &1035823056 542 | MonoBehaviour: 543 | m_ObjectHideFlags: 0 544 | m_PrefabParentObject: {fileID: 0} 545 | m_PrefabInternal: {fileID: 0} 546 | m_GameObject: {fileID: 1035823055} 547 | m_Enabled: 1 548 | m_EditorHideFlags: 0 549 | m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} 550 | m_Name: 551 | m_EditorClassIdentifier: 552 | m_IgnoreReversedGraphics: 1 553 | m_BlockingObjects: 0 554 | m_BlockingMask: 555 | serializedVersion: 2 556 | m_Bits: 4294967295 557 | --- !u!114 &1035823057 558 | MonoBehaviour: 559 | m_ObjectHideFlags: 0 560 | m_PrefabParentObject: {fileID: 0} 561 | m_PrefabInternal: {fileID: 0} 562 | m_GameObject: {fileID: 1035823055} 563 | m_Enabled: 1 564 | m_EditorHideFlags: 0 565 | m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} 566 | m_Name: 567 | m_EditorClassIdentifier: 568 | m_UiScaleMode: 1 569 | m_ReferencePixelsPerUnit: 100 570 | m_ScaleFactor: 1 571 | m_ReferenceResolution: {x: 600, y: 800} 572 | m_ScreenMatchMode: 0 573 | m_MatchWidthOrHeight: 0 574 | m_PhysicalUnit: 3 575 | m_FallbackScreenDPI: 96 576 | m_DefaultSpriteDPI: 96 577 | m_DynamicPixelsPerUnit: 1 578 | --- !u!223 &1035823058 579 | Canvas: 580 | m_ObjectHideFlags: 0 581 | m_PrefabParentObject: {fileID: 0} 582 | m_PrefabInternal: {fileID: 0} 583 | m_GameObject: {fileID: 1035823055} 584 | m_Enabled: 1 585 | serializedVersion: 3 586 | m_RenderMode: 0 587 | m_Camera: {fileID: 0} 588 | m_PlaneDistance: 100 589 | m_PixelPerfect: 0 590 | m_ReceivesEvents: 1 591 | m_OverrideSorting: 0 592 | m_OverridePixelPerfect: 0 593 | m_SortingBucketNormalizedSize: 0 594 | m_AdditionalShaderChannelsFlag: 0 595 | m_SortingLayerID: 0 596 | m_SortingOrder: 0 597 | m_TargetDisplay: 0 598 | --- !u!224 &1035823059 599 | RectTransform: 600 | m_ObjectHideFlags: 0 601 | m_PrefabParentObject: {fileID: 0} 602 | m_PrefabInternal: {fileID: 0} 603 | m_GameObject: {fileID: 1035823055} 604 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 605 | m_LocalPosition: {x: 0, y: 0, z: 0} 606 | m_LocalScale: {x: 0, y: 0, z: 0} 607 | m_Children: 608 | - {fileID: 2123081895} 609 | - {fileID: 1410064949} 610 | m_Father: {fileID: 0} 611 | m_RootOrder: 2 612 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 613 | m_AnchorMin: {x: 0, y: 0} 614 | m_AnchorMax: {x: 0, y: 0} 615 | m_AnchoredPosition: {x: 0, y: 0} 616 | m_SizeDelta: {x: 0, y: 0} 617 | m_Pivot: {x: 0, y: 0} 618 | --- !u!1 &1247315175 619 | GameObject: 620 | m_ObjectHideFlags: 0 621 | m_PrefabParentObject: {fileID: 0} 622 | m_PrefabInternal: {fileID: 0} 623 | serializedVersion: 5 624 | m_Component: 625 | - component: {fileID: 1247315176} 626 | - component: {fileID: 1247315178} 627 | - component: {fileID: 1247315177} 628 | m_Layer: 5 629 | m_Name: Label 630 | m_TagString: Untagged 631 | m_Icon: {fileID: 0} 632 | m_NavMeshLayer: 0 633 | m_StaticEditorFlags: 0 634 | m_IsActive: 1 635 | --- !u!224 &1247315176 636 | RectTransform: 637 | m_ObjectHideFlags: 0 638 | m_PrefabParentObject: {fileID: 0} 639 | m_PrefabInternal: {fileID: 0} 640 | m_GameObject: {fileID: 1247315175} 641 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 642 | m_LocalPosition: {x: 0, y: 0, z: 0} 643 | m_LocalScale: {x: 1, y: 1, z: 1} 644 | m_Children: [] 645 | m_Father: {fileID: 1410064949} 646 | m_RootOrder: 0 647 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 648 | m_AnchorMin: {x: 0, y: 0} 649 | m_AnchorMax: {x: 1, y: 1} 650 | m_AnchoredPosition: {x: -7.5, y: -0.5} 651 | m_SizeDelta: {x: -35, y: -13} 652 | m_Pivot: {x: 0.5, y: 0.5} 653 | --- !u!114 &1247315177 654 | MonoBehaviour: 655 | m_ObjectHideFlags: 0 656 | m_PrefabParentObject: {fileID: 0} 657 | m_PrefabInternal: {fileID: 0} 658 | m_GameObject: {fileID: 1247315175} 659 | m_Enabled: 1 660 | m_EditorHideFlags: 0 661 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 662 | m_Name: 663 | m_EditorClassIdentifier: 664 | m_Material: {fileID: 0} 665 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 666 | m_RaycastTarget: 1 667 | m_OnCullStateChanged: 668 | m_PersistentCalls: 669 | m_Calls: [] 670 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 671 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 672 | m_FontData: 673 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 674 | m_FontSize: 14 675 | m_FontStyle: 0 676 | m_BestFit: 0 677 | m_MinSize: 10 678 | m_MaxSize: 40 679 | m_Alignment: 3 680 | m_AlignByGeometry: 0 681 | m_RichText: 1 682 | m_HorizontalOverflow: 0 683 | m_VerticalOverflow: 0 684 | m_LineSpacing: 1 685 | m_Text: DirectTransform 686 | --- !u!222 &1247315178 687 | CanvasRenderer: 688 | m_ObjectHideFlags: 0 689 | m_PrefabParentObject: {fileID: 0} 690 | m_PrefabInternal: {fileID: 0} 691 | m_GameObject: {fileID: 1247315175} 692 | --- !u!1 &1257774347 693 | GameObject: 694 | m_ObjectHideFlags: 0 695 | m_PrefabParentObject: {fileID: 0} 696 | m_PrefabInternal: {fileID: 0} 697 | serializedVersion: 5 698 | m_Component: 699 | - component: {fileID: 1257774348} 700 | - component: {fileID: 1257774351} 701 | - component: {fileID: 1257774350} 702 | - component: {fileID: 1257774349} 703 | m_Layer: 5 704 | m_Name: Template 705 | m_TagString: Untagged 706 | m_Icon: {fileID: 0} 707 | m_NavMeshLayer: 0 708 | m_StaticEditorFlags: 0 709 | m_IsActive: 0 710 | --- !u!224 &1257774348 711 | RectTransform: 712 | m_ObjectHideFlags: 0 713 | m_PrefabParentObject: {fileID: 0} 714 | m_PrefabInternal: {fileID: 0} 715 | m_GameObject: {fileID: 1257774347} 716 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 717 | m_LocalPosition: {x: 0, y: 0, z: 0} 718 | m_LocalScale: {x: 1, y: 1, z: 1} 719 | m_Children: 720 | - {fileID: 2103210555} 721 | - {fileID: 1408292543} 722 | m_Father: {fileID: 1410064949} 723 | m_RootOrder: 2 724 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 725 | m_AnchorMin: {x: 0, y: 0} 726 | m_AnchorMax: {x: 1, y: 0} 727 | m_AnchoredPosition: {x: 0, y: 2} 728 | m_SizeDelta: {x: 0, y: 150} 729 | m_Pivot: {x: 0.5, y: 1} 730 | --- !u!114 &1257774349 731 | MonoBehaviour: 732 | m_ObjectHideFlags: 0 733 | m_PrefabParentObject: {fileID: 0} 734 | m_PrefabInternal: {fileID: 0} 735 | m_GameObject: {fileID: 1257774347} 736 | m_Enabled: 1 737 | m_EditorHideFlags: 0 738 | m_Script: {fileID: 1367256648, guid: f70555f144d8491a825f0804e09c671c, type: 3} 739 | m_Name: 740 | m_EditorClassIdentifier: 741 | m_Content: {fileID: 1490494273} 742 | m_Horizontal: 0 743 | m_Vertical: 1 744 | m_MovementType: 2 745 | m_Elasticity: 0.1 746 | m_Inertia: 1 747 | m_DecelerationRate: 0.135 748 | m_ScrollSensitivity: 1 749 | m_Viewport: {fileID: 2103210555} 750 | m_HorizontalScrollbar: {fileID: 0} 751 | m_VerticalScrollbar: {fileID: 1408292544} 752 | m_HorizontalScrollbarVisibility: 0 753 | m_VerticalScrollbarVisibility: 2 754 | m_HorizontalScrollbarSpacing: 0 755 | m_VerticalScrollbarSpacing: -3 756 | m_OnValueChanged: 757 | m_PersistentCalls: 758 | m_Calls: [] 759 | m_TypeName: UnityEngine.UI.ScrollRect+ScrollRectEvent, UnityEngine.UI, Version=1.0.0.0, 760 | Culture=neutral, PublicKeyToken=null 761 | --- !u!114 &1257774350 762 | MonoBehaviour: 763 | m_ObjectHideFlags: 0 764 | m_PrefabParentObject: {fileID: 0} 765 | m_PrefabInternal: {fileID: 0} 766 | m_GameObject: {fileID: 1257774347} 767 | m_Enabled: 1 768 | m_EditorHideFlags: 0 769 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 770 | m_Name: 771 | m_EditorClassIdentifier: 772 | m_Material: {fileID: 0} 773 | m_Color: {r: 1, g: 1, b: 1, a: 1} 774 | m_RaycastTarget: 1 775 | m_OnCullStateChanged: 776 | m_PersistentCalls: 777 | m_Calls: [] 778 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 779 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 780 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 781 | m_Type: 1 782 | m_PreserveAspect: 0 783 | m_FillCenter: 1 784 | m_FillMethod: 4 785 | m_FillAmount: 1 786 | m_FillClockwise: 1 787 | m_FillOrigin: 0 788 | --- !u!222 &1257774351 789 | CanvasRenderer: 790 | m_ObjectHideFlags: 0 791 | m_PrefabParentObject: {fileID: 0} 792 | m_PrefabInternal: {fileID: 0} 793 | m_GameObject: {fileID: 1257774347} 794 | --- !u!1 &1394259383 795 | GameObject: 796 | m_ObjectHideFlags: 0 797 | m_PrefabParentObject: {fileID: 0} 798 | m_PrefabInternal: {fileID: 0} 799 | serializedVersion: 5 800 | m_Component: 801 | - component: {fileID: 1394259386} 802 | - component: {fileID: 1394259385} 803 | - component: {fileID: 1394259384} 804 | m_Layer: 0 805 | m_Name: EventSystem 806 | m_TagString: Untagged 807 | m_Icon: {fileID: 0} 808 | m_NavMeshLayer: 0 809 | m_StaticEditorFlags: 0 810 | m_IsActive: 1 811 | --- !u!114 &1394259384 812 | MonoBehaviour: 813 | m_ObjectHideFlags: 0 814 | m_PrefabParentObject: {fileID: 0} 815 | m_PrefabInternal: {fileID: 0} 816 | m_GameObject: {fileID: 1394259383} 817 | m_Enabled: 1 818 | m_EditorHideFlags: 0 819 | m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} 820 | m_Name: 821 | m_EditorClassIdentifier: 822 | m_HorizontalAxis: Horizontal 823 | m_VerticalAxis: Vertical 824 | m_SubmitButton: Submit 825 | m_CancelButton: Cancel 826 | m_InputActionsPerSecond: 10 827 | m_RepeatDelay: 0.5 828 | m_ForceModuleActive: 0 829 | --- !u!114 &1394259385 830 | MonoBehaviour: 831 | m_ObjectHideFlags: 0 832 | m_PrefabParentObject: {fileID: 0} 833 | m_PrefabInternal: {fileID: 0} 834 | m_GameObject: {fileID: 1394259383} 835 | m_Enabled: 1 836 | m_EditorHideFlags: 0 837 | m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} 838 | m_Name: 839 | m_EditorClassIdentifier: 840 | m_FirstSelected: {fileID: 0} 841 | m_sendNavigationEvents: 1 842 | m_DragThreshold: 10 843 | --- !u!4 &1394259386 844 | Transform: 845 | m_ObjectHideFlags: 0 846 | m_PrefabParentObject: {fileID: 0} 847 | m_PrefabInternal: {fileID: 0} 848 | m_GameObject: {fileID: 1394259383} 849 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 850 | m_LocalPosition: {x: 0, y: 0, z: 0} 851 | m_LocalScale: {x: 1, y: 1, z: 1} 852 | m_Children: [] 853 | m_Father: {fileID: 0} 854 | m_RootOrder: 3 855 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 856 | --- !u!1 &1408292542 857 | GameObject: 858 | m_ObjectHideFlags: 0 859 | m_PrefabParentObject: {fileID: 0} 860 | m_PrefabInternal: {fileID: 0} 861 | serializedVersion: 5 862 | m_Component: 863 | - component: {fileID: 1408292543} 864 | - component: {fileID: 1408292546} 865 | - component: {fileID: 1408292545} 866 | - component: {fileID: 1408292544} 867 | m_Layer: 5 868 | m_Name: Scrollbar 869 | m_TagString: Untagged 870 | m_Icon: {fileID: 0} 871 | m_NavMeshLayer: 0 872 | m_StaticEditorFlags: 0 873 | m_IsActive: 1 874 | --- !u!224 &1408292543 875 | RectTransform: 876 | m_ObjectHideFlags: 0 877 | m_PrefabParentObject: {fileID: 0} 878 | m_PrefabInternal: {fileID: 0} 879 | m_GameObject: {fileID: 1408292542} 880 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 881 | m_LocalPosition: {x: 0, y: 0, z: 0} 882 | m_LocalScale: {x: 1, y: 1, z: 1} 883 | m_Children: 884 | - {fileID: 525817483} 885 | m_Father: {fileID: 1257774348} 886 | m_RootOrder: 1 887 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 888 | m_AnchorMin: {x: 1, y: 0} 889 | m_AnchorMax: {x: 1, y: 1} 890 | m_AnchoredPosition: {x: 0, y: 0} 891 | m_SizeDelta: {x: 20, y: 0} 892 | m_Pivot: {x: 1, y: 1} 893 | --- !u!114 &1408292544 894 | MonoBehaviour: 895 | m_ObjectHideFlags: 0 896 | m_PrefabParentObject: {fileID: 0} 897 | m_PrefabInternal: {fileID: 0} 898 | m_GameObject: {fileID: 1408292542} 899 | m_Enabled: 1 900 | m_EditorHideFlags: 0 901 | m_Script: {fileID: -2061169968, guid: f70555f144d8491a825f0804e09c671c, type: 3} 902 | m_Name: 903 | m_EditorClassIdentifier: 904 | m_Navigation: 905 | m_Mode: 3 906 | m_SelectOnUp: {fileID: 0} 907 | m_SelectOnDown: {fileID: 0} 908 | m_SelectOnLeft: {fileID: 0} 909 | m_SelectOnRight: {fileID: 0} 910 | m_Transition: 1 911 | m_Colors: 912 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 913 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 914 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 915 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 916 | m_ColorMultiplier: 1 917 | m_FadeDuration: 0.1 918 | m_SpriteState: 919 | m_HighlightedSprite: {fileID: 0} 920 | m_PressedSprite: {fileID: 0} 921 | m_DisabledSprite: {fileID: 0} 922 | m_AnimationTriggers: 923 | m_NormalTrigger: Normal 924 | m_HighlightedTrigger: Highlighted 925 | m_PressedTrigger: Pressed 926 | m_DisabledTrigger: Disabled 927 | m_Interactable: 1 928 | m_TargetGraphic: {fileID: 505070615} 929 | m_HandleRect: {fileID: 505070614} 930 | m_Direction: 2 931 | m_Value: 0 932 | m_Size: 0.2 933 | m_NumberOfSteps: 0 934 | m_OnValueChanged: 935 | m_PersistentCalls: 936 | m_Calls: [] 937 | m_TypeName: UnityEngine.UI.Scrollbar+ScrollEvent, UnityEngine.UI, Version=1.0.0.0, 938 | Culture=neutral, PublicKeyToken=null 939 | --- !u!114 &1408292545 940 | MonoBehaviour: 941 | m_ObjectHideFlags: 0 942 | m_PrefabParentObject: {fileID: 0} 943 | m_PrefabInternal: {fileID: 0} 944 | m_GameObject: {fileID: 1408292542} 945 | m_Enabled: 1 946 | m_EditorHideFlags: 0 947 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 948 | m_Name: 949 | m_EditorClassIdentifier: 950 | m_Material: {fileID: 0} 951 | m_Color: {r: 1, g: 1, b: 1, a: 1} 952 | m_RaycastTarget: 1 953 | m_OnCullStateChanged: 954 | m_PersistentCalls: 955 | m_Calls: [] 956 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 957 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 958 | m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} 959 | m_Type: 1 960 | m_PreserveAspect: 0 961 | m_FillCenter: 1 962 | m_FillMethod: 4 963 | m_FillAmount: 1 964 | m_FillClockwise: 1 965 | m_FillOrigin: 0 966 | --- !u!222 &1408292546 967 | CanvasRenderer: 968 | m_ObjectHideFlags: 0 969 | m_PrefabParentObject: {fileID: 0} 970 | m_PrefabInternal: {fileID: 0} 971 | m_GameObject: {fileID: 1408292542} 972 | --- !u!1 &1410064948 973 | GameObject: 974 | m_ObjectHideFlags: 0 975 | m_PrefabParentObject: {fileID: 0} 976 | m_PrefabInternal: {fileID: 0} 977 | serializedVersion: 5 978 | m_Component: 979 | - component: {fileID: 1410064949} 980 | - component: {fileID: 1410064952} 981 | - component: {fileID: 1410064951} 982 | - component: {fileID: 1410064950} 983 | m_Layer: 5 984 | m_Name: Dropdown 985 | m_TagString: Untagged 986 | m_Icon: {fileID: 0} 987 | m_NavMeshLayer: 0 988 | m_StaticEditorFlags: 0 989 | m_IsActive: 1 990 | --- !u!224 &1410064949 991 | RectTransform: 992 | m_ObjectHideFlags: 0 993 | m_PrefabParentObject: {fileID: 0} 994 | m_PrefabInternal: {fileID: 0} 995 | m_GameObject: {fileID: 1410064948} 996 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 997 | m_LocalPosition: {x: 0, y: 0, z: 0} 998 | m_LocalScale: {x: 1, y: 1, z: 1} 999 | m_Children: 1000 | - {fileID: 1247315176} 1001 | - {fileID: 737439739} 1002 | - {fileID: 1257774348} 1003 | m_Father: {fileID: 1035823059} 1004 | m_RootOrder: 1 1005 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1006 | m_AnchorMin: {x: 0, y: 1} 1007 | m_AnchorMax: {x: 0, y: 1} 1008 | m_AnchoredPosition: {x: 10, y: -56} 1009 | m_SizeDelta: {x: 300, y: 30} 1010 | m_Pivot: {x: 0, y: 1} 1011 | --- !u!114 &1410064950 1012 | MonoBehaviour: 1013 | m_ObjectHideFlags: 0 1014 | m_PrefabParentObject: {fileID: 0} 1015 | m_PrefabInternal: {fileID: 0} 1016 | m_GameObject: {fileID: 1410064948} 1017 | m_Enabled: 1 1018 | m_EditorHideFlags: 0 1019 | m_Script: {fileID: 853051423, guid: f70555f144d8491a825f0804e09c671c, type: 3} 1020 | m_Name: 1021 | m_EditorClassIdentifier: 1022 | m_Navigation: 1023 | m_Mode: 3 1024 | m_SelectOnUp: {fileID: 0} 1025 | m_SelectOnDown: {fileID: 0} 1026 | m_SelectOnLeft: {fileID: 0} 1027 | m_SelectOnRight: {fileID: 0} 1028 | m_Transition: 1 1029 | m_Colors: 1030 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 1031 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 1032 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 1033 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 1034 | m_ColorMultiplier: 1 1035 | m_FadeDuration: 0.1 1036 | m_SpriteState: 1037 | m_HighlightedSprite: {fileID: 0} 1038 | m_PressedSprite: {fileID: 0} 1039 | m_DisabledSprite: {fileID: 0} 1040 | m_AnimationTriggers: 1041 | m_NormalTrigger: Normal 1042 | m_HighlightedTrigger: Highlighted 1043 | m_PressedTrigger: Pressed 1044 | m_DisabledTrigger: Disabled 1045 | m_Interactable: 1 1046 | m_TargetGraphic: {fileID: 1410064951} 1047 | m_Template: {fileID: 1257774348} 1048 | m_CaptionText: {fileID: 1247315177} 1049 | m_CaptionImage: {fileID: 0} 1050 | m_ItemText: {fileID: 528220564} 1051 | m_ItemImage: {fileID: 0} 1052 | m_Value: 0 1053 | m_Options: 1054 | m_Options: 1055 | - m_Text: DirectTransform 1056 | m_Image: {fileID: 0} 1057 | - m_Text: TransformAndRotation 1058 | m_Image: {fileID: 0} 1059 | - m_Text: WithIJobParallelForTransform 1060 | m_Image: {fileID: 0} 1061 | - m_Text: WithIJobParallelForTransformByNextFrame 1062 | m_Image: {fileID: 0} 1063 | - m_Text: WithIJobParallelFor 1064 | m_Image: {fileID: 0} 1065 | m_OnValueChanged: 1066 | m_PersistentCalls: 1067 | m_Calls: 1068 | - m_Target: {fileID: 2025872268} 1069 | m_MethodName: OnChangedSelection 1070 | m_Mode: 0 1071 | m_Arguments: 1072 | m_ObjectArgument: {fileID: 0} 1073 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 1074 | m_IntArgument: 0 1075 | m_FloatArgument: 0 1076 | m_StringArgument: 1077 | m_BoolArgument: 0 1078 | m_CallState: 2 1079 | m_TypeName: UnityEngine.UI.Dropdown+DropdownEvent, UnityEngine.UI, Version=1.0.0.0, 1080 | Culture=neutral, PublicKeyToken=null 1081 | --- !u!114 &1410064951 1082 | MonoBehaviour: 1083 | m_ObjectHideFlags: 0 1084 | m_PrefabParentObject: {fileID: 0} 1085 | m_PrefabInternal: {fileID: 0} 1086 | m_GameObject: {fileID: 1410064948} 1087 | m_Enabled: 1 1088 | m_EditorHideFlags: 0 1089 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 1090 | m_Name: 1091 | m_EditorClassIdentifier: 1092 | m_Material: {fileID: 0} 1093 | m_Color: {r: 1, g: 1, b: 1, a: 1} 1094 | m_RaycastTarget: 1 1095 | m_OnCullStateChanged: 1096 | m_PersistentCalls: 1097 | m_Calls: [] 1098 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1099 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1100 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 1101 | m_Type: 1 1102 | m_PreserveAspect: 0 1103 | m_FillCenter: 1 1104 | m_FillMethod: 4 1105 | m_FillAmount: 1 1106 | m_FillClockwise: 1 1107 | m_FillOrigin: 0 1108 | --- !u!222 &1410064952 1109 | CanvasRenderer: 1110 | m_ObjectHideFlags: 0 1111 | m_PrefabParentObject: {fileID: 0} 1112 | m_PrefabInternal: {fileID: 0} 1113 | m_GameObject: {fileID: 1410064948} 1114 | --- !u!1 &1460552708 1115 | GameObject: 1116 | m_ObjectHideFlags: 0 1117 | m_PrefabParentObject: {fileID: 0} 1118 | m_PrefabInternal: {fileID: 0} 1119 | serializedVersion: 5 1120 | m_Component: 1121 | - component: {fileID: 1460552709} 1122 | - component: {fileID: 1460552711} 1123 | - component: {fileID: 1460552710} 1124 | m_Layer: 5 1125 | m_Name: Item Checkmark 1126 | m_TagString: Untagged 1127 | m_Icon: {fileID: 0} 1128 | m_NavMeshLayer: 0 1129 | m_StaticEditorFlags: 0 1130 | m_IsActive: 1 1131 | --- !u!224 &1460552709 1132 | RectTransform: 1133 | m_ObjectHideFlags: 0 1134 | m_PrefabParentObject: {fileID: 0} 1135 | m_PrefabInternal: {fileID: 0} 1136 | m_GameObject: {fileID: 1460552708} 1137 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1138 | m_LocalPosition: {x: 0, y: 0, z: 0} 1139 | m_LocalScale: {x: 1, y: 1, z: 1} 1140 | m_Children: [] 1141 | m_Father: {fileID: 668522169} 1142 | m_RootOrder: 1 1143 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1144 | m_AnchorMin: {x: 0, y: 0.5} 1145 | m_AnchorMax: {x: 0, y: 0.5} 1146 | m_AnchoredPosition: {x: 10, y: 0} 1147 | m_SizeDelta: {x: 20, y: 20} 1148 | m_Pivot: {x: 0.5, y: 0.5} 1149 | --- !u!114 &1460552710 1150 | MonoBehaviour: 1151 | m_ObjectHideFlags: 0 1152 | m_PrefabParentObject: {fileID: 0} 1153 | m_PrefabInternal: {fileID: 0} 1154 | m_GameObject: {fileID: 1460552708} 1155 | m_Enabled: 1 1156 | m_EditorHideFlags: 0 1157 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 1158 | m_Name: 1159 | m_EditorClassIdentifier: 1160 | m_Material: {fileID: 0} 1161 | m_Color: {r: 1, g: 1, b: 1, a: 1} 1162 | m_RaycastTarget: 1 1163 | m_OnCullStateChanged: 1164 | m_PersistentCalls: 1165 | m_Calls: [] 1166 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1167 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1168 | m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0} 1169 | m_Type: 0 1170 | m_PreserveAspect: 0 1171 | m_FillCenter: 1 1172 | m_FillMethod: 4 1173 | m_FillAmount: 1 1174 | m_FillClockwise: 1 1175 | m_FillOrigin: 0 1176 | --- !u!222 &1460552711 1177 | CanvasRenderer: 1178 | m_ObjectHideFlags: 0 1179 | m_PrefabParentObject: {fileID: 0} 1180 | m_PrefabInternal: {fileID: 0} 1181 | m_GameObject: {fileID: 1460552708} 1182 | --- !u!1 &1490494272 1183 | GameObject: 1184 | m_ObjectHideFlags: 0 1185 | m_PrefabParentObject: {fileID: 0} 1186 | m_PrefabInternal: {fileID: 0} 1187 | serializedVersion: 5 1188 | m_Component: 1189 | - component: {fileID: 1490494273} 1190 | m_Layer: 5 1191 | m_Name: Content 1192 | m_TagString: Untagged 1193 | m_Icon: {fileID: 0} 1194 | m_NavMeshLayer: 0 1195 | m_StaticEditorFlags: 0 1196 | m_IsActive: 1 1197 | --- !u!224 &1490494273 1198 | RectTransform: 1199 | m_ObjectHideFlags: 0 1200 | m_PrefabParentObject: {fileID: 0} 1201 | m_PrefabInternal: {fileID: 0} 1202 | m_GameObject: {fileID: 1490494272} 1203 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1204 | m_LocalPosition: {x: 0, y: 0, z: 0} 1205 | m_LocalScale: {x: 1, y: 1, z: 1} 1206 | m_Children: 1207 | - {fileID: 668522169} 1208 | m_Father: {fileID: 2103210555} 1209 | m_RootOrder: 0 1210 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1211 | m_AnchorMin: {x: 0, y: 1} 1212 | m_AnchorMax: {x: 1, y: 1} 1213 | m_AnchoredPosition: {x: 0, y: 0} 1214 | m_SizeDelta: {x: 0, y: 28} 1215 | m_Pivot: {x: 0.5, y: 1} 1216 | --- !u!1 &1917369193 1217 | GameObject: 1218 | m_ObjectHideFlags: 0 1219 | m_PrefabParentObject: {fileID: 0} 1220 | m_PrefabInternal: {fileID: 0} 1221 | serializedVersion: 5 1222 | m_Component: 1223 | - component: {fileID: 1917369194} 1224 | - component: {fileID: 1917369196} 1225 | - component: {fileID: 1917369195} 1226 | m_Layer: 5 1227 | m_Name: Item Background 1228 | m_TagString: Untagged 1229 | m_Icon: {fileID: 0} 1230 | m_NavMeshLayer: 0 1231 | m_StaticEditorFlags: 0 1232 | m_IsActive: 1 1233 | --- !u!224 &1917369194 1234 | RectTransform: 1235 | m_ObjectHideFlags: 0 1236 | m_PrefabParentObject: {fileID: 0} 1237 | m_PrefabInternal: {fileID: 0} 1238 | m_GameObject: {fileID: 1917369193} 1239 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1240 | m_LocalPosition: {x: 0, y: 0, z: 0} 1241 | m_LocalScale: {x: 1, y: 1, z: 1} 1242 | m_Children: [] 1243 | m_Father: {fileID: 668522169} 1244 | m_RootOrder: 0 1245 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1246 | m_AnchorMin: {x: 0, y: 0} 1247 | m_AnchorMax: {x: 1, y: 1} 1248 | m_AnchoredPosition: {x: 0, y: 0} 1249 | m_SizeDelta: {x: 0, y: 0} 1250 | m_Pivot: {x: 0.5, y: 0.5} 1251 | --- !u!114 &1917369195 1252 | MonoBehaviour: 1253 | m_ObjectHideFlags: 0 1254 | m_PrefabParentObject: {fileID: 0} 1255 | m_PrefabInternal: {fileID: 0} 1256 | m_GameObject: {fileID: 1917369193} 1257 | m_Enabled: 1 1258 | m_EditorHideFlags: 0 1259 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 1260 | m_Name: 1261 | m_EditorClassIdentifier: 1262 | m_Material: {fileID: 0} 1263 | m_Color: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 1264 | m_RaycastTarget: 1 1265 | m_OnCullStateChanged: 1266 | m_PersistentCalls: 1267 | m_Calls: [] 1268 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1269 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1270 | m_Sprite: {fileID: 0} 1271 | m_Type: 0 1272 | m_PreserveAspect: 0 1273 | m_FillCenter: 1 1274 | m_FillMethod: 4 1275 | m_FillAmount: 1 1276 | m_FillClockwise: 1 1277 | m_FillOrigin: 0 1278 | --- !u!222 &1917369196 1279 | CanvasRenderer: 1280 | m_ObjectHideFlags: 0 1281 | m_PrefabParentObject: {fileID: 0} 1282 | m_PrefabInternal: {fileID: 0} 1283 | m_GameObject: {fileID: 1917369193} 1284 | --- !u!1 &2025872266 1285 | GameObject: 1286 | m_ObjectHideFlags: 0 1287 | m_PrefabParentObject: {fileID: 0} 1288 | m_PrefabInternal: {fileID: 0} 1289 | serializedVersion: 5 1290 | m_Component: 1291 | - component: {fileID: 2025872267} 1292 | - component: {fileID: 2025872268} 1293 | m_Layer: 0 1294 | m_Name: JobSystemTest 1295 | m_TagString: Untagged 1296 | m_Icon: {fileID: 0} 1297 | m_NavMeshLayer: 0 1298 | m_StaticEditorFlags: 0 1299 | m_IsActive: 1 1300 | --- !u!4 &2025872267 1301 | Transform: 1302 | m_ObjectHideFlags: 0 1303 | m_PrefabParentObject: {fileID: 0} 1304 | m_PrefabInternal: {fileID: 0} 1305 | m_GameObject: {fileID: 2025872266} 1306 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1307 | m_LocalPosition: {x: 0, y: 0, z: 0} 1308 | m_LocalScale: {x: 1, y: 1, z: 1} 1309 | m_Children: [] 1310 | m_Father: {fileID: 0} 1311 | m_RootOrder: 1 1312 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1313 | --- !u!114 &2025872268 1314 | MonoBehaviour: 1315 | m_ObjectHideFlags: 0 1316 | m_PrefabParentObject: {fileID: 0} 1317 | m_PrefabInternal: {fileID: 0} 1318 | m_GameObject: {fileID: 2025872266} 1319 | m_Enabled: 1 1320 | m_EditorHideFlags: 0 1321 | m_Script: {fileID: 11500000, guid: 10870cb2a80fee249a12910e69be66cd, type: 3} 1322 | m_Name: 1323 | m_EditorClassIdentifier: 1324 | prefab: {fileID: 1165768596078326, guid: c92938092840f9245a2c2fbb034d7f00, type: 2} 1325 | objectNum: 50000 1326 | targetFps: 30 1327 | defaultMode: 2 1328 | logFileName: battery.log 1329 | isLowResolution: 0 1330 | --- !u!1 &2103210554 1331 | GameObject: 1332 | m_ObjectHideFlags: 0 1333 | m_PrefabParentObject: {fileID: 0} 1334 | m_PrefabInternal: {fileID: 0} 1335 | serializedVersion: 5 1336 | m_Component: 1337 | - component: {fileID: 2103210555} 1338 | - component: {fileID: 2103210558} 1339 | - component: {fileID: 2103210557} 1340 | - component: {fileID: 2103210556} 1341 | m_Layer: 5 1342 | m_Name: Viewport 1343 | m_TagString: Untagged 1344 | m_Icon: {fileID: 0} 1345 | m_NavMeshLayer: 0 1346 | m_StaticEditorFlags: 0 1347 | m_IsActive: 1 1348 | --- !u!224 &2103210555 1349 | RectTransform: 1350 | m_ObjectHideFlags: 0 1351 | m_PrefabParentObject: {fileID: 0} 1352 | m_PrefabInternal: {fileID: 0} 1353 | m_GameObject: {fileID: 2103210554} 1354 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1355 | m_LocalPosition: {x: 0, y: 0, z: 0} 1356 | m_LocalScale: {x: 1, y: 1, z: 1} 1357 | m_Children: 1358 | - {fileID: 1490494273} 1359 | m_Father: {fileID: 1257774348} 1360 | m_RootOrder: 0 1361 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1362 | m_AnchorMin: {x: 0, y: 0} 1363 | m_AnchorMax: {x: 1, y: 1} 1364 | m_AnchoredPosition: {x: 0, y: 0} 1365 | m_SizeDelta: {x: -18, y: 0} 1366 | m_Pivot: {x: 0, y: 1} 1367 | --- !u!114 &2103210556 1368 | MonoBehaviour: 1369 | m_ObjectHideFlags: 0 1370 | m_PrefabParentObject: {fileID: 0} 1371 | m_PrefabInternal: {fileID: 0} 1372 | m_GameObject: {fileID: 2103210554} 1373 | m_Enabled: 1 1374 | m_EditorHideFlags: 0 1375 | m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} 1376 | m_Name: 1377 | m_EditorClassIdentifier: 1378 | m_Material: {fileID: 0} 1379 | m_Color: {r: 1, g: 1, b: 1, a: 1} 1380 | m_RaycastTarget: 1 1381 | m_OnCullStateChanged: 1382 | m_PersistentCalls: 1383 | m_Calls: [] 1384 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1385 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1386 | m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0} 1387 | m_Type: 1 1388 | m_PreserveAspect: 0 1389 | m_FillCenter: 1 1390 | m_FillMethod: 4 1391 | m_FillAmount: 1 1392 | m_FillClockwise: 1 1393 | m_FillOrigin: 0 1394 | --- !u!222 &2103210557 1395 | CanvasRenderer: 1396 | m_ObjectHideFlags: 0 1397 | m_PrefabParentObject: {fileID: 0} 1398 | m_PrefabInternal: {fileID: 0} 1399 | m_GameObject: {fileID: 2103210554} 1400 | --- !u!114 &2103210558 1401 | MonoBehaviour: 1402 | m_ObjectHideFlags: 0 1403 | m_PrefabParentObject: {fileID: 0} 1404 | m_PrefabInternal: {fileID: 0} 1405 | m_GameObject: {fileID: 2103210554} 1406 | m_Enabled: 1 1407 | m_EditorHideFlags: 0 1408 | m_Script: {fileID: -1200242548, guid: f70555f144d8491a825f0804e09c671c, type: 3} 1409 | m_Name: 1410 | m_EditorClassIdentifier: 1411 | m_ShowMaskGraphic: 0 1412 | --- !u!1 &2123081894 1413 | GameObject: 1414 | m_ObjectHideFlags: 0 1415 | m_PrefabParentObject: {fileID: 0} 1416 | m_PrefabInternal: {fileID: 0} 1417 | serializedVersion: 5 1418 | m_Component: 1419 | - component: {fileID: 2123081895} 1420 | - component: {fileID: 2123081897} 1421 | - component: {fileID: 2123081896} 1422 | - component: {fileID: 2123081898} 1423 | m_Layer: 5 1424 | m_Name: Dt 1425 | m_TagString: Untagged 1426 | m_Icon: {fileID: 0} 1427 | m_NavMeshLayer: 0 1428 | m_StaticEditorFlags: 0 1429 | m_IsActive: 1 1430 | --- !u!224 &2123081895 1431 | RectTransform: 1432 | m_ObjectHideFlags: 0 1433 | m_PrefabParentObject: {fileID: 0} 1434 | m_PrefabInternal: {fileID: 0} 1435 | m_GameObject: {fileID: 2123081894} 1436 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 1437 | m_LocalPosition: {x: 0, y: 0, z: 0} 1438 | m_LocalScale: {x: 1, y: 1, z: 1} 1439 | m_Children: [] 1440 | m_Father: {fileID: 1035823059} 1441 | m_RootOrder: 0 1442 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 1443 | m_AnchorMin: {x: 0, y: 1} 1444 | m_AnchorMax: {x: 0, y: 1} 1445 | m_AnchoredPosition: {x: 10, y: -10} 1446 | m_SizeDelta: {x: 160, y: 60} 1447 | m_Pivot: {x: 0, y: 1} 1448 | --- !u!114 &2123081896 1449 | MonoBehaviour: 1450 | m_ObjectHideFlags: 0 1451 | m_PrefabParentObject: {fileID: 0} 1452 | m_PrefabInternal: {fileID: 0} 1453 | m_GameObject: {fileID: 2123081894} 1454 | m_Enabled: 1 1455 | m_EditorHideFlags: 0 1456 | m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} 1457 | m_Name: 1458 | m_EditorClassIdentifier: 1459 | m_Material: {fileID: 0} 1460 | m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} 1461 | m_RaycastTarget: 1 1462 | m_OnCullStateChanged: 1463 | m_PersistentCalls: 1464 | m_Calls: [] 1465 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 1466 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 1467 | m_FontData: 1468 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 1469 | m_FontSize: 14 1470 | m_FontStyle: 0 1471 | m_BestFit: 0 1472 | m_MinSize: 10 1473 | m_MaxSize: 40 1474 | m_Alignment: 0 1475 | m_AlignByGeometry: 0 1476 | m_RichText: 1 1477 | m_HorizontalOverflow: 0 1478 | m_VerticalOverflow: 0 1479 | m_LineSpacing: 1 1480 | m_Text: New Text 1481 | --- !u!222 &2123081897 1482 | CanvasRenderer: 1483 | m_ObjectHideFlags: 0 1484 | m_PrefabParentObject: {fileID: 0} 1485 | m_PrefabInternal: {fileID: 0} 1486 | m_GameObject: {fileID: 2123081894} 1487 | --- !u!114 &2123081898 1488 | MonoBehaviour: 1489 | m_ObjectHideFlags: 0 1490 | m_PrefabParentObject: {fileID: 0} 1491 | m_PrefabInternal: {fileID: 0} 1492 | m_GameObject: {fileID: 2123081894} 1493 | m_Enabled: 1 1494 | m_EditorHideFlags: 0 1495 | m_Script: {fileID: 11500000, guid: 26fdbd18b55af254d97758ca44b11aea, type: 3} 1496 | m_Name: 1497 | m_EditorClassIdentifier: 1498 | dtText: {fileID: 2123081896} 1499 | -------------------------------------------------------------------------------- /Assets/test.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b79eca0f9ef08d498d017ca4ce40d65 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/test.unity 10 | guid: 8b79eca0f9ef08d498d017ca4ce40d65 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 40 | - {fileID: 16002, guid: 0000000000000000f000000000000000, type: 0} 41 | m_PreloadedShaders: [] 42 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 43 | type: 0} 44 | m_CustomRenderPipeline: {fileID: 0} 45 | m_TransparencySortMode: 0 46 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 47 | m_DefaultRenderingPath: 1 48 | m_DefaultMobileRenderingPath: 1 49 | m_TierSettings: [] 50 | m_LightmapStripping: 0 51 | m_FogStripping: 0 52 | m_InstancingStripping: 0 53 | m_LightmapKeepPlain: 1 54 | m_LightmapKeepDirCombined: 1 55 | m_LightmapKeepDynamicPlain: 1 56 | m_LightmapKeepDynamicDirCombined: 1 57 | m_LightmapKeepShadowMask: 1 58 | m_LightmapKeepSubtractive: 1 59 | m_FogKeepLinear: 1 60 | m_FogKeepExp: 1 61 | m_FogKeepExp2: 1 62 | m_AlbedoSwatchInfos: [] 63 | m_LightsUseLinearIntensity: 0 64 | m_LightsUseColorTemperature: 0 65 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | m_UseMultithreading: 0 24 | m_UseConsistencySorting: 0 25 | m_InterpolationPosesPerJob: 100 26 | m_NewContactsPerJob: 30 27 | m_CollideContactsPerJob: 100 28 | m_ClearFlagsPerJob: 200 29 | m_ClearBodyForcesPerJob: 200 30 | m_SyncDiscreteFixturesPerJob: 50 31 | m_SyncContinuousFixturesPerJob: 50 32 | m_FindNearestContactsPerJob: 100 33 | m_UpdateTriggerContactsPerJob: 100 34 | m_IslandSolverCostThreshold: 100 35 | m_IslandSolverBodyCostScale: 1 36 | m_IslandSolverContactCostScale: 10 37 | m_IslandSolverJointCostScale: 10 38 | m_IslandSolverBodiesPerJob: 50 39 | m_IslandSolverContactsPerJob: 50 40 | m_AutoSimulation: 1 41 | m_QueriesHitTriggers: 1 42 | m_QueriesStartInColliders: 1 43 | m_CallbacksOnDisable: 1 44 | m_AutoSyncTransforms: 1 45 | m_AlwaysShowColliders: 0 46 | m_ShowColliderSleep: 1 47 | m_ShowColliderContacts: 0 48 | m_ShowColliderAABB: 0 49 | m_ContactArrowScale: 0.2 50 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 51 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 52 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 53 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 54 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 55 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 15 7 | productGUID: 3147711b05da2a046823c259020e541b 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: JobSystemTest 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | tizenShowActivityIndicatorOnLoading: -1 56 | iosAppInBackgroundBehavior: 0 57 | displayResolutionDialog: 1 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidBlitType: 0 68 | defaultIsNativeResolution: 1 69 | macRetinaSupport: 1 70 | runInBackground: 0 71 | captureSingleScreen: 0 72 | muteOtherAudioSources: 0 73 | Prepare IOS For Recording: 0 74 | Force IOS Speakers When Recording: 0 75 | deferSystemGesturesMode: 0 76 | hideHomeButton: 0 77 | submitAnalytics: 1 78 | usePlayerLog: 1 79 | bakeCollisionMeshes: 0 80 | forceSingleInstance: 0 81 | resizableWindow: 0 82 | useMacAppStoreValidation: 0 83 | macAppStoreCategory: public.app-category.games 84 | gpuSkinning: 0 85 | graphicsJobs: 1 86 | xboxPIXTextureCapture: 0 87 | xboxEnableAvatar: 0 88 | xboxEnableKinect: 0 89 | xboxEnableKinectAutoTracking: 0 90 | xboxEnableFitness: 0 91 | visibleInBackground: 1 92 | allowFullscreenSwitch: 1 93 | graphicsJobMode: 0 94 | fullscreenMode: -1 95 | xboxSpeechDB: 0 96 | xboxEnableHeadOrientation: 0 97 | xboxEnableGuest: 0 98 | xboxEnablePIXSampling: 0 99 | metalFramebufferOnly: 0 100 | n3dsDisableStereoscopicView: 0 101 | n3dsEnableSharedListOpt: 1 102 | n3dsEnableVSync: 0 103 | xboxOneResolution: 0 104 | xboxOneSResolution: 0 105 | xboxOneXResolution: 3 106 | xboxOneMonoLoggingLevel: 0 107 | xboxOneLoggingLevel: 1 108 | xboxOneDisableEsram: 0 109 | xboxOnePresentImmediateThreshold: 0 110 | videoMemoryForVertexBuffers: 0 111 | psp2PowerMode: 0 112 | psp2AcquireBGM: 1 113 | m_SupportedAspectRatios: 114 | 4:3: 1 115 | 5:4: 1 116 | 16:10: 1 117 | 16:9: 1 118 | Others: 1 119 | bundleVersion: 1.0 120 | preloadedAssets: [] 121 | metroInputSource: 0 122 | wsaTransparentSwapchain: 0 123 | m_HolographicPauseOnTrackingLoss: 1 124 | xboxOneDisableKinectGpuReservation: 0 125 | xboxOneEnable7thCore: 0 126 | vrSettings: 127 | cardboard: 128 | depthFormat: 0 129 | enableTransitionView: 0 130 | daydream: 131 | depthFormat: 0 132 | useSustainedPerformanceMode: 0 133 | enableVideoLayer: 0 134 | useProtectedVideoMemory: 0 135 | minimumSupportedHeadTracking: 0 136 | maximumSupportedHeadTracking: 1 137 | hololens: 138 | depthFormat: 1 139 | depthBufferSharingEnabled: 0 140 | enable360StereoCapture: 0 141 | oculus: 142 | sharedDepthBuffer: 0 143 | dashSupport: 0 144 | protectGraphicsMemory: 0 145 | useHDRDisplay: 0 146 | m_ColorGamuts: 00000000 147 | targetPixelDensity: 30 148 | resolutionScalingMode: 0 149 | androidSupportedAspectRatio: 1 150 | androidMaxAspectRatio: 2.1 151 | applicationIdentifier: 152 | Android: com.utj.test 153 | Standalone: com.utj.test 154 | buildNumber: {} 155 | AndroidBundleVersionCode: 1 156 | AndroidMinSdkVersion: 16 157 | AndroidTargetSdkVersion: 0 158 | AndroidPreferredInstallLocation: 1 159 | aotOptions: 160 | stripEngineCode: 1 161 | iPhoneStrippingLevel: 0 162 | iPhoneScriptCallOptimization: 0 163 | ForceInternetPermission: 0 164 | ForceSDCardPermission: 0 165 | CreateWallpaper: 0 166 | APKExpansionFiles: 0 167 | keepLoadedShadersAlive: 0 168 | StripUnusedMeshComponents: 0 169 | VertexChannelCompressionMask: 4054 170 | iPhoneSdkVersion: 988 171 | iOSTargetOSVersionString: 8.0 172 | tvOSSdkVersion: 0 173 | tvOSRequireExtendedGameController: 0 174 | tvOSTargetOSVersionString: 9.0 175 | uIPrerenderedIcon: 0 176 | uIRequiresPersistentWiFi: 0 177 | uIRequiresFullScreen: 1 178 | uIStatusBarHidden: 1 179 | uIExitOnSuspend: 0 180 | uIStatusBarStyle: 0 181 | iPhoneSplashScreen: {fileID: 0} 182 | iPhoneHighResSplashScreen: {fileID: 0} 183 | iPhoneTallHighResSplashScreen: {fileID: 0} 184 | iPhone47inSplashScreen: {fileID: 0} 185 | iPhone55inPortraitSplashScreen: {fileID: 0} 186 | iPhone55inLandscapeSplashScreen: {fileID: 0} 187 | iPhone58inPortraitSplashScreen: {fileID: 0} 188 | iPhone58inLandscapeSplashScreen: {fileID: 0} 189 | iPadPortraitSplashScreen: {fileID: 0} 190 | iPadHighResPortraitSplashScreen: {fileID: 0} 191 | iPadLandscapeSplashScreen: {fileID: 0} 192 | iPadHighResLandscapeSplashScreen: {fileID: 0} 193 | appleTVSplashScreen: {fileID: 0} 194 | appleTVSplashScreen2x: {fileID: 0} 195 | tvOSSmallIconLayers: [] 196 | tvOSSmallIconLayers2x: [] 197 | tvOSLargeIconLayers: [] 198 | tvOSLargeIconLayers2x: [] 199 | tvOSTopShelfImageLayers: [] 200 | tvOSTopShelfImageLayers2x: [] 201 | tvOSTopShelfImageWideLayers: [] 202 | tvOSTopShelfImageWideLayers2x: [] 203 | iOSLaunchScreenType: 0 204 | iOSLaunchScreenPortrait: {fileID: 0} 205 | iOSLaunchScreenLandscape: {fileID: 0} 206 | iOSLaunchScreenBackgroundColor: 207 | serializedVersion: 2 208 | rgba: 0 209 | iOSLaunchScreenFillPct: 100 210 | iOSLaunchScreenSize: 100 211 | iOSLaunchScreenCustomXibPath: 212 | iOSLaunchScreeniPadType: 0 213 | iOSLaunchScreeniPadImage: {fileID: 0} 214 | iOSLaunchScreeniPadBackgroundColor: 215 | serializedVersion: 2 216 | rgba: 0 217 | iOSLaunchScreeniPadFillPct: 100 218 | iOSLaunchScreeniPadSize: 100 219 | iOSLaunchScreeniPadCustomXibPath: 220 | iOSUseLaunchScreenStoryboard: 0 221 | iOSLaunchScreenCustomStoryboardPath: 222 | iOSDeviceRequirements: [] 223 | iOSURLSchemes: [] 224 | iOSBackgroundModes: 0 225 | iOSMetalForceHardShadows: 0 226 | metalEditorSupport: 1 227 | metalAPIValidation: 1 228 | iOSRenderExtraFrameOnPause: 0 229 | appleDeveloperTeamID: 230 | iOSManualSigningProvisioningProfileID: 231 | tvOSManualSigningProvisioningProfileID: 232 | appleEnableAutomaticSigning: 0 233 | iOSRequireARKit: 0 234 | appleEnableProMotion: 0 235 | clonedFromGUID: 00000000000000000000000000000000 236 | templatePackageId: 237 | templateDefaultScene: 238 | AndroidTargetArchitectures: 5 239 | AndroidSplashScreenScale: 0 240 | androidSplashScreen: {fileID: 0} 241 | AndroidKeystoreName: 242 | AndroidKeyaliasName: 243 | AndroidTVCompatibility: 1 244 | AndroidIsGame: 1 245 | AndroidEnableTango: 0 246 | androidEnableBanner: 1 247 | androidUseLowAccuracyLocation: 0 248 | m_AndroidBanners: 249 | - width: 320 250 | height: 180 251 | banner: {fileID: 0} 252 | androidGamepadSupportLevel: 0 253 | resolutionDialogBanner: {fileID: 0} 254 | m_BuildTargetIcons: [] 255 | m_BuildTargetPlatformIcons: 256 | - m_BuildTarget: Android 257 | m_Icons: 258 | - m_Textures: [] 259 | m_Width: 432 260 | m_Height: 432 261 | m_Kind: 2 262 | m_SubKind: 263 | - m_Textures: [] 264 | m_Width: 324 265 | m_Height: 324 266 | m_Kind: 2 267 | m_SubKind: 268 | - m_Textures: [] 269 | m_Width: 216 270 | m_Height: 216 271 | m_Kind: 2 272 | m_SubKind: 273 | - m_Textures: [] 274 | m_Width: 162 275 | m_Height: 162 276 | m_Kind: 2 277 | m_SubKind: 278 | - m_Textures: [] 279 | m_Width: 108 280 | m_Height: 108 281 | m_Kind: 2 282 | m_SubKind: 283 | - m_Textures: [] 284 | m_Width: 81 285 | m_Height: 81 286 | m_Kind: 2 287 | m_SubKind: 288 | - m_Textures: [] 289 | m_Width: 192 290 | m_Height: 192 291 | m_Kind: 1 292 | m_SubKind: 293 | - m_Textures: [] 294 | m_Width: 144 295 | m_Height: 144 296 | m_Kind: 1 297 | m_SubKind: 298 | - m_Textures: [] 299 | m_Width: 96 300 | m_Height: 96 301 | m_Kind: 1 302 | m_SubKind: 303 | - m_Textures: [] 304 | m_Width: 72 305 | m_Height: 72 306 | m_Kind: 1 307 | m_SubKind: 308 | - m_Textures: [] 309 | m_Width: 48 310 | m_Height: 48 311 | m_Kind: 1 312 | m_SubKind: 313 | - m_Textures: [] 314 | m_Width: 36 315 | m_Height: 36 316 | m_Kind: 1 317 | m_SubKind: 318 | m_BuildTargetBatching: [] 319 | m_BuildTargetGraphicsAPIs: 320 | - m_BuildTarget: AndroidPlayer 321 | m_APIs: 150000000b00000008000000 322 | m_Automatic: 0 323 | m_BuildTargetVRSettings: [] 324 | m_BuildTargetEnableVuforiaSettings: [] 325 | openGLRequireES31: 0 326 | openGLRequireES31AEP: 0 327 | m_TemplateCustomTags: {} 328 | mobileMTRendering: 329 | Android: 1 330 | iPhone: 1 331 | tvOS: 1 332 | m_BuildTargetGroupLightmapEncodingQuality: [] 333 | playModeTestRunnerEnabled: 0 334 | runPlayModeTestAsEditModeTest: 0 335 | actionOnDotNetUnhandledException: 1 336 | enableInternalProfiler: 0 337 | logObjCUncaughtExceptions: 1 338 | enableCrashReportAPI: 0 339 | cameraUsageDescription: 340 | locationUsageDescription: 341 | microphoneUsageDescription: 342 | switchNetLibKey: 343 | switchSocketMemoryPoolSize: 6144 344 | switchSocketAllocatorPoolSize: 128 345 | switchSocketConcurrencyLimit: 14 346 | switchScreenResolutionBehavior: 2 347 | switchUseCPUProfiler: 0 348 | switchApplicationID: 0x01004b9000490000 349 | switchNSODependencies: 350 | switchTitleNames_0: 351 | switchTitleNames_1: 352 | switchTitleNames_2: 353 | switchTitleNames_3: 354 | switchTitleNames_4: 355 | switchTitleNames_5: 356 | switchTitleNames_6: 357 | switchTitleNames_7: 358 | switchTitleNames_8: 359 | switchTitleNames_9: 360 | switchTitleNames_10: 361 | switchTitleNames_11: 362 | switchTitleNames_12: 363 | switchTitleNames_13: 364 | switchTitleNames_14: 365 | switchPublisherNames_0: 366 | switchPublisherNames_1: 367 | switchPublisherNames_2: 368 | switchPublisherNames_3: 369 | switchPublisherNames_4: 370 | switchPublisherNames_5: 371 | switchPublisherNames_6: 372 | switchPublisherNames_7: 373 | switchPublisherNames_8: 374 | switchPublisherNames_9: 375 | switchPublisherNames_10: 376 | switchPublisherNames_11: 377 | switchPublisherNames_12: 378 | switchPublisherNames_13: 379 | switchPublisherNames_14: 380 | switchIcons_0: {fileID: 0} 381 | switchIcons_1: {fileID: 0} 382 | switchIcons_2: {fileID: 0} 383 | switchIcons_3: {fileID: 0} 384 | switchIcons_4: {fileID: 0} 385 | switchIcons_5: {fileID: 0} 386 | switchIcons_6: {fileID: 0} 387 | switchIcons_7: {fileID: 0} 388 | switchIcons_8: {fileID: 0} 389 | switchIcons_9: {fileID: 0} 390 | switchIcons_10: {fileID: 0} 391 | switchIcons_11: {fileID: 0} 392 | switchIcons_12: {fileID: 0} 393 | switchIcons_13: {fileID: 0} 394 | switchIcons_14: {fileID: 0} 395 | switchSmallIcons_0: {fileID: 0} 396 | switchSmallIcons_1: {fileID: 0} 397 | switchSmallIcons_2: {fileID: 0} 398 | switchSmallIcons_3: {fileID: 0} 399 | switchSmallIcons_4: {fileID: 0} 400 | switchSmallIcons_5: {fileID: 0} 401 | switchSmallIcons_6: {fileID: 0} 402 | switchSmallIcons_7: {fileID: 0} 403 | switchSmallIcons_8: {fileID: 0} 404 | switchSmallIcons_9: {fileID: 0} 405 | switchSmallIcons_10: {fileID: 0} 406 | switchSmallIcons_11: {fileID: 0} 407 | switchSmallIcons_12: {fileID: 0} 408 | switchSmallIcons_13: {fileID: 0} 409 | switchSmallIcons_14: {fileID: 0} 410 | switchManualHTML: 411 | switchAccessibleURLs: 412 | switchLegalInformation: 413 | switchMainThreadStackSize: 1048576 414 | switchPresenceGroupId: 415 | switchLogoHandling: 0 416 | switchReleaseVersion: 0 417 | switchDisplayVersion: 1.0.0 418 | switchStartupUserAccount: 0 419 | switchTouchScreenUsage: 0 420 | switchSupportedLanguagesMask: 0 421 | switchLogoType: 0 422 | switchApplicationErrorCodeCategory: 423 | switchUserAccountSaveDataSize: 0 424 | switchUserAccountSaveDataJournalSize: 0 425 | switchApplicationAttribute: 0 426 | switchCardSpecSize: -1 427 | switchCardSpecClock: -1 428 | switchRatingsMask: 0 429 | switchRatingsInt_0: 0 430 | switchRatingsInt_1: 0 431 | switchRatingsInt_2: 0 432 | switchRatingsInt_3: 0 433 | switchRatingsInt_4: 0 434 | switchRatingsInt_5: 0 435 | switchRatingsInt_6: 0 436 | switchRatingsInt_7: 0 437 | switchRatingsInt_8: 0 438 | switchRatingsInt_9: 0 439 | switchRatingsInt_10: 0 440 | switchRatingsInt_11: 0 441 | switchLocalCommunicationIds_0: 442 | switchLocalCommunicationIds_1: 443 | switchLocalCommunicationIds_2: 444 | switchLocalCommunicationIds_3: 445 | switchLocalCommunicationIds_4: 446 | switchLocalCommunicationIds_5: 447 | switchLocalCommunicationIds_6: 448 | switchLocalCommunicationIds_7: 449 | switchParentalControl: 0 450 | switchAllowsScreenshot: 1 451 | switchAllowsVideoCapturing: 1 452 | switchAllowsRuntimeAddOnContentInstall: 0 453 | switchDataLossConfirmation: 0 454 | switchSupportedNpadStyles: 3 455 | switchSocketConfigEnabled: 0 456 | switchTcpInitialSendBufferSize: 32 457 | switchTcpInitialReceiveBufferSize: 64 458 | switchTcpAutoSendBufferSizeMax: 256 459 | switchTcpAutoReceiveBufferSizeMax: 256 460 | switchUdpSendBufferSize: 9 461 | switchUdpReceiveBufferSize: 42 462 | switchSocketBufferEfficiency: 4 463 | switchSocketInitializeEnabled: 1 464 | switchNetworkInterfaceManagerInitializeEnabled: 1 465 | switchPlayerConnectionEnabled: 1 466 | ps4NPAgeRating: 12 467 | ps4NPTitleSecret: 468 | ps4NPTrophyPackPath: 469 | ps4ParentalLevel: 11 470 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 471 | ps4Category: 0 472 | ps4MasterVersion: 01.00 473 | ps4AppVersion: 01.00 474 | ps4AppType: 0 475 | ps4ParamSfxPath: 476 | ps4VideoOutPixelFormat: 0 477 | ps4VideoOutInitialWidth: 1920 478 | ps4VideoOutBaseModeInitialWidth: 1920 479 | ps4VideoOutReprojectionRate: 60 480 | ps4PronunciationXMLPath: 481 | ps4PronunciationSIGPath: 482 | ps4BackgroundImagePath: 483 | ps4StartupImagePath: 484 | ps4StartupImagesFolder: 485 | ps4IconImagesFolder: 486 | ps4SaveDataImagePath: 487 | ps4SdkOverride: 488 | ps4BGMPath: 489 | ps4ShareFilePath: 490 | ps4ShareOverlayImagePath: 491 | ps4PrivacyGuardImagePath: 492 | ps4NPtitleDatPath: 493 | ps4RemotePlayKeyAssignment: -1 494 | ps4RemotePlayKeyMappingDir: 495 | ps4PlayTogetherPlayerCount: 0 496 | ps4EnterButtonAssignment: 1 497 | ps4ApplicationParam1: 0 498 | ps4ApplicationParam2: 0 499 | ps4ApplicationParam3: 0 500 | ps4ApplicationParam4: 0 501 | ps4DownloadDataSize: 0 502 | ps4GarlicHeapSize: 2048 503 | ps4ProGarlicHeapSize: 2560 504 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 505 | ps4pnSessions: 1 506 | ps4pnPresence: 1 507 | ps4pnFriends: 1 508 | ps4pnGameCustomData: 1 509 | playerPrefsSupport: 0 510 | enableApplicationExit: 0 511 | restrictedAudioUsageRights: 0 512 | ps4UseResolutionFallback: 0 513 | ps4ReprojectionSupport: 0 514 | ps4UseAudio3dBackend: 0 515 | ps4SocialScreenEnabled: 0 516 | ps4ScriptOptimizationLevel: 2 517 | ps4Audio3dVirtualSpeakerCount: 14 518 | ps4attribCpuUsage: 0 519 | ps4PatchPkgPath: 520 | ps4PatchLatestPkgPath: 521 | ps4PatchChangeinfoPath: 522 | ps4PatchDayOne: 0 523 | ps4attribUserManagement: 0 524 | ps4attribMoveSupport: 0 525 | ps4attrib3DSupport: 0 526 | ps4attribShareSupport: 0 527 | ps4attribExclusiveVR: 0 528 | ps4disableAutoHideSplash: 0 529 | ps4videoRecordingFeaturesUsed: 0 530 | ps4contentSearchFeaturesUsed: 0 531 | ps4attribEyeToEyeDistanceSettingVR: 0 532 | ps4IncludedModules: [] 533 | monoEnv: 534 | psp2Splashimage: {fileID: 0} 535 | psp2NPTrophyPackPath: 536 | psp2NPSupportGBMorGJP: 0 537 | psp2NPAgeRating: 12 538 | psp2NPTitleDatPath: 539 | psp2NPCommsID: 540 | psp2NPCommunicationsID: 541 | psp2NPCommsPassphrase: 542 | psp2NPCommsSig: 543 | psp2ParamSfxPath: 544 | psp2ManualPath: 545 | psp2LiveAreaGatePath: 546 | psp2LiveAreaBackroundPath: 547 | psp2LiveAreaPath: 548 | psp2LiveAreaTrialPath: 549 | psp2PatchChangeInfoPath: 550 | psp2PatchOriginalPackage: 551 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 552 | psp2KeystoneFile: 553 | psp2MemoryExpansionMode: 0 554 | psp2DRMType: 0 555 | psp2StorageType: 0 556 | psp2MediaCapacity: 0 557 | psp2DLCConfigPath: 558 | psp2ThumbnailPath: 559 | psp2BackgroundPath: 560 | psp2SoundPath: 561 | psp2TrophyCommId: 562 | psp2TrophyPackagePath: 563 | psp2PackagedResourcesPath: 564 | psp2SaveDataQuota: 10240 565 | psp2ParentalLevel: 1 566 | psp2ShortTitle: Not Set 567 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 568 | psp2Category: 0 569 | psp2MasterVersion: 01.00 570 | psp2AppVersion: 01.00 571 | psp2TVBootMode: 0 572 | psp2EnterButtonAssignment: 2 573 | psp2TVDisableEmu: 0 574 | psp2AllowTwitterDialog: 1 575 | psp2Upgradable: 0 576 | psp2HealthWarning: 0 577 | psp2UseLibLocation: 0 578 | psp2InfoBarOnStartup: 0 579 | psp2InfoBarColor: 0 580 | psp2ScriptOptimizationLevel: 2 581 | splashScreenBackgroundSourceLandscape: {fileID: 0} 582 | splashScreenBackgroundSourcePortrait: {fileID: 0} 583 | spritePackerPolicy: 584 | webGLMemorySize: 256 585 | webGLExceptionSupport: 1 586 | webGLNameFilesAsHashes: 0 587 | webGLDataCaching: 0 588 | webGLDebugSymbols: 0 589 | webGLEmscriptenArgs: 590 | webGLModulesDirectory: 591 | webGLTemplate: APPLICATION:Default 592 | webGLAnalyzeBuildSize: 0 593 | webGLUseEmbeddedResources: 0 594 | webGLCompressionFormat: 1 595 | webGLLinkerTarget: 0 596 | scriptingDefineSymbols: {} 597 | platformArchitecture: {} 598 | scriptingBackend: {} 599 | il2cppCompilerConfiguration: {} 600 | incrementalIl2cppBuild: {} 601 | additionalIl2CppArgs: 602 | scriptingRuntimeVersion: 0 603 | apiCompatibilityLevelPerPlatform: {} 604 | m_RenderingPath: 1 605 | m_MobileRenderingPath: 1 606 | metroPackageName: JobSystemTest 607 | metroPackageVersion: 608 | metroCertificatePath: 609 | metroCertificatePassword: 610 | metroCertificateSubject: 611 | metroCertificateIssuer: 612 | metroCertificateNotAfter: 0000000000000000 613 | metroApplicationDescription: JobSystemTest 614 | wsaImages: {} 615 | metroTileShortName: 616 | metroCommandLineArgsFile: 617 | metroTileShowName: 0 618 | metroMediumTileShowName: 0 619 | metroLargeTileShowName: 0 620 | metroWideTileShowName: 0 621 | metroDefaultTileSize: 1 622 | metroTileForegroundText: 2 623 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 624 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 625 | a: 1} 626 | metroSplashScreenUseBackgroundColor: 0 627 | platformCapabilities: {} 628 | metroFTAName: 629 | metroFTAFileTypes: [] 630 | metroProtocolName: 631 | metroCompilationOverrides: 1 632 | tizenProductDescription: 633 | tizenProductURL: 634 | tizenSigningProfileName: 635 | tizenGPSPermissions: 0 636 | tizenMicrophonePermissions: 0 637 | tizenDeploymentTarget: 638 | tizenDeploymentTargetType: -1 639 | tizenMinOSVersion: 1 640 | n3dsUseExtSaveData: 0 641 | n3dsCompressStaticMem: 1 642 | n3dsExtSaveDataNumber: 0x12345 643 | n3dsStackSize: 131072 644 | n3dsTargetPlatform: 2 645 | n3dsRegion: 7 646 | n3dsMediaSize: 0 647 | n3dsLogoStyle: 3 648 | n3dsTitle: GameName 649 | n3dsProductCode: 650 | n3dsApplicationId: 0xFF3FF 651 | XboxOneProductId: 652 | XboxOneUpdateKey: 653 | XboxOneSandboxId: 654 | XboxOneContentId: 655 | XboxOneTitleId: 656 | XboxOneSCId: 657 | XboxOneGameOsOverridePath: 658 | XboxOnePackagingOverridePath: 659 | XboxOneAppManifestOverridePath: 660 | XboxOnePackageEncryption: 0 661 | XboxOnePackageUpdateGranularity: 2 662 | XboxOneDescription: 663 | XboxOneLanguage: 664 | - enus 665 | XboxOneCapability: [] 666 | XboxOneGameRating: {} 667 | XboxOneIsContentPackage: 0 668 | XboxOneEnableGPUVariability: 0 669 | XboxOneSockets: {} 670 | XboxOneSplashScreen: {fileID: 0} 671 | XboxOneAllowedProductIds: [] 672 | XboxOnePersistentLocalStorageSize: 0 673 | xboxOneScriptCompiler: 0 674 | vrEditorSettings: 675 | daydream: 676 | daydreamIconForeground: {fileID: 0} 677 | daydreamIconBackground: {fileID: 0} 678 | cloudServicesEnabled: 679 | UNet: 1 680 | facebookSdkVersion: 7.9.4 681 | apiCompatibilityLevel: 2 682 | cloudProjectId: 82ca9721-7c12-4123-9db5-31bc519acd4c 683 | projectName: JobSystemTest 684 | organizationId: ykurokawa 685 | cloudEnabled: 0 686 | enableNativePlatformBackendsForNewInputSystem: 0 687 | disableOldInputManagerSupport: 0 688 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.1.0b6 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 0 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 4 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 4 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | m_PerPlatformDefaultQuality: 38 | Android: 0 39 | Nintendo 3DS: 0 40 | Nintendo Switch: 0 41 | PS4: 0 42 | PSP2: 0 43 | Standalone: 0 44 | Tizen: 0 45 | WebGL: 0 46 | Windows Store Apps: 0 47 | XboxOne: 0 48 | iPhone: 0 49 | tvOS: 0 50 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 1 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ReadMe.md: -------------------------------------------------------------------------------- 1 | # プロジェクトについて 2 | このプロジェクトは Unity 2018.1βから導入された JobSystemのテスト用プログラムです。
3 | 2018.1.0b6以降で動作を確認してください。 4 | 5 | # 内容について 6 | 沢山のGameObject ( 5万個のSphere )を毎フレーム動かすテストです。
7 | いくつかのパターンの処理を用意していて、どれが一番早そうかをテスト出来ます。
8 | 実行中に処理のパターンを切り替えられるようにしていますので、どの位効果が出るかを即時確認できるようにしています
9 | 10 | 実機でテストした所、Android/iOSでも処理の高速化が確認できます。 11 | 12 | # 実行画面 13 | ![alt text](doc/img/jobExecute.png) 14 | 15 | 16 | 沢山のピンク色のオブジェクトを動かすだけの単純なプログラムです。
17 | ①処理にかかった時間を表示しています。
18 |  Time.deltaTimeとUpdate関数にかかった時間の二つを表示しています。
19 | ②ここで、処理の方式を切り替えます
20 |  パターンについては下記を参照してください
21 | 22 | 23 | # パターンについて 24 | 25 | ## 1.DirectTransform 26 | 計算した結果を素直に transform.position / transform.rotationに代入していくやり方です。
27 | 全てがMain Thread上で行われます。 28 | 29 | ## 2.TransformAndRotation 30 | 計算した結果を素直に transform.SetPositionAndRotationで代入していくやり方です
31 | 全てがMain Thread上で行われます。 32 | 33 | ## 3.WithJobParallelForTransform 34 | IJobParallelForTransformを利用して並行して、transformを動かします。
35 | Jobを活用した形の方法です。
36 | Update関数内で全てのtransform更新処理が終わる前提でやっています。 37 | 38 | ## 4.WithJobParallelForTransformByNextFrame 39 | IJobParallelForTransformを継承したstructで並行してtransformを動かしています。
40 | 「次のフレームまでにTransform更新処理が終わっていると良い」という処理で、もっとも高速に動く処理です。 41 | 42 | ## 5.WithJobParallelFor 43 | IJobParallelFor側でposition/rotationの計算を行い、最終結果をMainThread側でセットする方法です。
44 | 座標計算計算部分だけをJob化して、最後の処理はMainThread側で動きます. 45 | 46 | 47 | # 設定について 48 | ![alt text](doc/img/Inspector.png) 49 | 50 | 51 | 52 | testシーン中にある「JobSystemTest」オブジェクトの値を弄る事で条件を色々テストすることが出来ます 53 | 54 |
55 | Prefab :動かす対象のPrefabです。
56 | ObjectNum : 生成するオブジェクト数を指定します
57 | DefaultMode : 起動直後のパターンを保存します
58 | 
59 | その他:モバイル環境のバッテリー消費具合を調べる時に利用しました。
60 |     こちらで調査した所、Job化して処理が高速化することで バッテリー消費が若干抑えられました。
61 | 
62 | 
63 | 64 | # 結果 65 | PCのEditor上で確認しました。JobSystem化することでかなりの処理高速化が出来ます 66 | 67 | ![alt text](doc/img/BeforeJobSystem.png) 68 | 69 | ![alt text](doc/img/AfterJobSystem.png) 70 | -------------------------------------------------------------------------------- /UnityPackageManager/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /doc/img/AfterJobSystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wotakuro/UnityJobSystemTest/b89625ab44c256cfb9f4ee1e30d8189ef3939024/doc/img/AfterJobSystem.png -------------------------------------------------------------------------------- /doc/img/BeforeJobSystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wotakuro/UnityJobSystemTest/b89625ab44c256cfb9f4ee1e30d8189ef3939024/doc/img/BeforeJobSystem.png -------------------------------------------------------------------------------- /doc/img/Inspector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wotakuro/UnityJobSystemTest/b89625ab44c256cfb9f4ee1e30d8189ef3939024/doc/img/Inspector.png -------------------------------------------------------------------------------- /doc/img/jobExecute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wotakuro/UnityJobSystemTest/b89625ab44c256cfb9f4ee1e30d8189ef3939024/doc/img/jobExecute.png --------------------------------------------------------------------------------