├── .gitignore ├── Assets ├── CreateMesh.cs ├── CreateMesh.cs.meta ├── Editor.meta ├── Editor │ ├── IdrisPostprocessor.cs │ └── IdrisPostprocessor.cs.meta ├── GameOfLife.cs ├── GameOfLife.cs.meta ├── Idris.meta ├── Idris │ ├── IdrisUnity.dll │ ├── IdrisUnity.dll.meta │ ├── IdrisUnity.ipkg │ ├── IdrisUnity.ipkg.meta │ ├── src.meta │ └── src │ │ ├── CreateMeshBehaviour.idr │ │ ├── CreateMeshBehaviour.idr.meta │ │ ├── GameOfLife.idr │ │ ├── GameOfLife.idr.meta │ │ ├── GameOfLifeBehaviour.idr │ │ ├── GameOfLifeBehaviour.idr.meta │ │ ├── Main.idr │ │ ├── Main.idr.meta │ │ ├── RotateBehaviour.idr │ │ ├── RotateBehaviour.idr.meta │ │ ├── UnityEngine.idr │ │ └── UnityEngine.idr.meta ├── Main.unity ├── Main.unity.meta ├── Procedural.unity ├── Procedural.unity.meta ├── Rotate.cs └── Rotate.cs.meta ├── IdrisUnityIntegrationTake1.png ├── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset └── TimeManager.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | /Library 2 | /Temp 3 | *.ibc 4 | *.ibc.meta 5 | *.il 6 | *.il.meta 7 | 8 | -------------------------------------------------------------------------------- /Assets/CreateMesh.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | [RequireComponent (typeof(MeshFilter))] 4 | [RequireComponent (typeof(MeshRenderer))] 5 | public class CreateMesh : MonoBehaviour { 6 | 7 | public void Start () { 8 | CreateMeshBehaviour.Start (gameObject); 9 | } 10 | 11 | public void Update () { 12 | CreateMeshBehaviour.Update (gameObject); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Assets/CreateMesh.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b35a124821ffa4601aa4470ab71476ef 3 | timeCreated: 1474647815 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2905b1d9faaf407db6729a422d24560 3 | folderAsset: yes 4 | timeCreated: 1440877681 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor/IdrisPostprocessor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | using System.IO; 4 | using System.Linq; 5 | 6 | /// 7 | /// Rebuilds the Idris package upon Idris source file changes. 8 | /// 9 | public class IdrisPostprocessor : AssetPostprocessor { 10 | 11 | static string IdrisPath = HomePath (".local/bin"); 12 | 13 | static string Idris = Path.Combine (IdrisPath, "idris"); 14 | 15 | static string IlasmPath = "/usr/local/bin"; 16 | 17 | static void OnPostprocessAllAssets (string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) { 18 | 19 | if (!importedAssets.Concat(deletedAssets).Concat(movedAssets).Concat(movedFromAssetPaths).Any (IsIdrisFile)) 20 | return; 21 | 22 | Debug.Log ("Starting Idris build"); 23 | 24 | var packagePath = IdrisPackagePath (); 25 | var processStartInfo = new System.Diagnostics.ProcessStartInfo { 26 | FileName = Idris, 27 | Arguments = "--build " + packagePath, 28 | WorkingDirectory = Path.GetDirectoryName (packagePath), 29 | RedirectStandardOutput = true, 30 | RedirectStandardError = true, 31 | UseShellExecute = false, 32 | }; 33 | var envVars = processStartInfo.EnvironmentVariables; 34 | envVars["PATH"] = envVars["PATH"] 35 | + Path.PathSeparator + IdrisPath 36 | + Path.PathSeparator + IlasmPath; 37 | 38 | var idris = System.Diagnostics.Process.Start (processStartInfo); 39 | idris.WaitForExit (); 40 | Debug.Log (idris.StandardOutput.ReadToEnd () + idris.StandardError.ReadToEnd ()); 41 | if (idris.ExitCode == 0) { 42 | Debug.Log ("Idris build successful."); 43 | AssetDatabase.ImportAsset ("Assets/Idris/IdrisUnity.dll"); 44 | } else 45 | Debug.LogError ("Idris build failed!"); 46 | } 47 | 48 | static string HomePath (string path) { 49 | return Path.Combine (System.Environment.GetFolderPath (System.Environment.SpecialFolder.Personal), path); 50 | } 51 | 52 | static string IdrisPackagePath () { 53 | return Path.Combine (Application.dataPath, "Idris/IdrisUnity.ipkg"); 54 | } 55 | 56 | static bool IsIdrisFile (string f) { 57 | var ext = Path.GetExtension (f); 58 | return ext.CompareTo (".idr") == 0 59 | || ext.CompareTo (".ipkg") == 0; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Assets/Editor/IdrisPostprocessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04122def01320482b9404ad480ed3193 3 | timeCreated: 1440877721 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/GameOfLife.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class GameOfLife : MonoBehaviour { 4 | 5 | public GameObject prefab; 6 | 7 | Game state; 8 | 9 | void Start () { 10 | state = GameOfLifeBehaviour.start (); 11 | } 12 | 13 | void Update () { 14 | state = GameOfLifeBehaviour.update (prefab, state); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/GameOfLife.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37d40d79a9d8c47579a4db3d6976b31c 3 | timeCreated: 1442194004 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Idris.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e55114c30a914c9a84a3403e757dc99 3 | folderAsset: yes 4 | timeCreated: 1441554041 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Idris/IdrisUnity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bamboo/IdrisUnityPlayground/bb6d45af9375d03cca340641370d2869a3c20f25/Assets/Idris/IdrisUnity.dll -------------------------------------------------------------------------------- /Assets/Idris/IdrisUnity.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: adb6e3a0311214a7bbce8cb92d3c4b52 3 | timeCreated: 1442797779 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Idris/IdrisUnity.ipkg: -------------------------------------------------------------------------------- 1 | package IdrisUnity 2 | 3 | main = Main 4 | sourcedir = src 5 | executable = IdrisUnity.dll 6 | opts = "-p contrib -p cil --codegen cil" 7 | -------------------------------------------------------------------------------- /Assets/Idris/IdrisUnity.ipkg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36db485aa85da48b0aed98132c7ac4c7 3 | timeCreated: 1441558125 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Idris/src.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f0f64444c60448a5b82bad8fbc62b8d 3 | folderAsset: yes 4 | timeCreated: 1442160434 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Idris/src/CreateMeshBehaviour.idr: -------------------------------------------------------------------------------- 1 | ||| 2 | ||| Demonstrates procedural mesh generation using the primitive array FFI. 3 | ||| 4 | ||| Based on example found at https://blog.nobel-joergensen.com/2010/12/25/procedural-generated-mesh-in-unity/ 5 | ||| 6 | ||| Unfortunately the Unity Editor can't currently handle this beauty 7 | ||| so you need to build a standalone executable to see it run. 8 | ||| Not that there's much to see anyay. 9 | ||| 10 | module CreateMeshBehaviour 11 | 12 | import Data.Vect 13 | import UnityEngine 14 | 15 | doto : o -> List (o -> CIL_IO ()) -> CIL_IO () 16 | doto obj = traverse_ (\op => op obj) 17 | 18 | vertices : CIL_IO Vector3Array 19 | vertices = do 20 | p0 <- vec3 0 0 0 21 | p1 <- vec3 1 0 0 22 | p2 <- vec3 (cast 0.5) 0 !(Sqrt $ cast 0.75) 23 | p3 <- vec3 (cast 0.5) !(Sqrt $ cast 0.75) (!(Sqrt $ cast 0.75) / 3) 24 | arrayOf Vector3Ty [ p0, p1, p2 25 | , p0, p2, p3 26 | , p2, p1, p3 27 | , p0, p3, p1 ] 28 | 29 | triangles : CIL_IO Int32Array 30 | triangles = 31 | arrayOf CILTyInt32 [ 0, 1, 2 32 | , 3, 4, 5 33 | , 6, 7, 8 34 | , 9, 10, 11 ] 35 | 36 | uv : CIL_IO Vector2Array 37 | uv = do 38 | uv1 <- vec2 (cast 0.5) 0 39 | uv0 <- vec2 (cast 0.25) (!(Sqrt $ cast 0.75) / 2) 40 | uv2 <- vec2 (cast 0.75) (!(Sqrt $ cast 0.75) / 2) 41 | uv3a <- vec2 0 0 42 | uv3b <- vec2 (cast 0.5) !(Sqrt $ cast 0.75) 43 | uv3c <- vec2 1 0 44 | arrayOf Vector2Ty [ uv0, uv1, uv2 45 | , uv0, uv2, uv3b 46 | , uv0, uv1, uv3a 47 | , uv1, uv2, uv3c ] 48 | 49 | Start : GameObject -> CIL_IO () 50 | Start go = do 51 | 52 | meshFilter <- go `GetComponent` MeshFilterTy 53 | meshFilter `set_mesh` !(new (CIL_IO Mesh)) 54 | 55 | mesh <- sharedMesh meshFilter 56 | doto mesh 57 | [ flip set_vertices !vertices 58 | , flip set_triangles !triangles 59 | , flip set_uv !uv 60 | , RecalculateNormals 61 | , RecalculateBounds 62 | , Optimize 63 | ] 64 | 65 | Log "Mesh complete." 66 | 67 | Update : GameObject -> CIL_IO () 68 | Update go = do 69 | origin <- vec3 0 0 0 70 | axis <- vec3 (cast 0.5) (cast 0.5) (cast 0.5) 71 | RotateAround !(transform go) origin axis (180 * !deltaTime) 72 | 73 | exports : FFI_Export FFI_CIL "CreateMeshBehaviour" [] 74 | exports = 75 | Fun Start CILDefault $ 76 | Fun Update CILDefault 77 | End 78 | -------------------------------------------------------------------------------- /Assets/Idris/src/CreateMeshBehaviour.idr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f644927b4544417d96260304dd2adb9 3 | timeCreated: 1474645271 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Idris/src/GameOfLife.idr: -------------------------------------------------------------------------------- 1 | module GameOfLife 2 | 3 | %default total 4 | 5 | %access public export 6 | 7 | Cell : Type 8 | Cell = (Int, Int) 9 | 10 | Cells : Type 11 | Cells = List Cell 12 | 13 | isAlive : Cells -> Cell -> Bool 14 | isAlive = flip elem 15 | 16 | -- Any live cell with fewer than two live neighbours dies, as if caused by under-population. 17 | -- Any live cell with two or three live neighbours lives on to the next generation. 18 | -- Any live cell with more than three live neighbours dies, as if by overcrowding. 19 | -- Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. 20 | -- https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life#Rules 21 | neighbours : Cell -> List Cell 22 | neighbours (x, y) = [(x, y - 1), (x, y + 1), 23 | (x - 1, y - 1), (x + 1, y - 1), 24 | (x - 1, y), (x + 1, y), 25 | (x - 1, y + 1), (x + 1, y + 1)] 26 | 27 | liveNeighbours : Cells -> Cell -> List Cell 28 | liveNeighbours cells = filter (isAlive cells) . neighbours 29 | 30 | liveNeighboursLength : Cells -> Cell -> Nat 31 | liveNeighboursLength cells = length . liveNeighbours cells 32 | 33 | surviving : Cells -> Cells 34 | surviving cells = filter survivor cells 35 | where survivor c = let n = liveNeighboursLength cells c 36 | in n == 2 || n == 3 37 | 38 | dead : Cells -> List Cell 39 | dead cells = filter (not . isAlive cells) allNeighbours 40 | where allNeighbours = nub $ concatMap neighbours cells 41 | 42 | newborn : Cells -> Cells 43 | newborn cells = filter ((== 3) . liveNeighboursLength cells) (dead cells) 44 | 45 | tick : Cells -> Cells 46 | tick cells = nub (surviving cells `merge` newborn cells) 47 | 48 | gosperGun : Cells 49 | gosperGun = 50 | [(1,5), (2,5), (1,6), (2,6), 51 | (11,5), (11,6), (11,7), (12,4), (12,8), 52 | (13,3), (14,3), (13,9), (14,9), (15,6), 53 | (16,4), (16,8), (17,5), (17,7), (17,6), (18,6), 54 | (21,3), (21,4), (21,5), (22,3), (22,4), (22,5), 55 | (23,2), (23,6), (25,2), (25,1), (25,6), (25,7), 56 | (35,3), (36,3), (35,4), (36,4)] 57 | -------------------------------------------------------------------------------- /Assets/Idris/src/GameOfLife.idr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08b4155378f0b4081989bc009fecba54 3 | timeCreated: 1442162952 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Idris/src/GameOfLifeBehaviour.idr: -------------------------------------------------------------------------------- 1 | module GameOfLifeBehaviour 2 | 3 | import UnityEngine 4 | import GameOfLife 5 | 6 | ||| Projects a cell into 3D space. 7 | position : Cell -> CIL_IO Vector3 8 | position (x, y) = vec3 (cast x) (cast y) 1 9 | 10 | ||| Instantiate a prefab at the given cell position. 11 | instantiate : UnityObject -> Cell -> CIL_IO UnityObject 12 | instantiate prefab cell = Instantiate prefab !(position cell) !identity 13 | 14 | record Game where 15 | constructor MkGame 16 | model : Cells 17 | view : List UnityObject 18 | 19 | start : CIL_IO Game 20 | start = do 21 | Log "starting..." 22 | return $ MkGame gosperGun [] 23 | 24 | update : UnityObject -> Game -> CIL_IO Game 25 | update prefab (MkGame model view) = do 26 | view' <- for model (instantiate prefab) 27 | for_ view Destroy 28 | -- limit the size of the model 29 | -- otherwise stack overflow ensues 30 | let model' = take 72 $ tick model 31 | return $ MkGame model' view' 32 | 33 | exports : FFI_Export FFI_CIL "GameOfLifeBehaviour" [] 34 | exports = 35 | Data Game "Game" $ 36 | Fun GameOfLifeBehaviour.start CILDefault $ 37 | Fun GameOfLifeBehaviour.update CILDefault 38 | End 39 | -------------------------------------------------------------------------------- /Assets/Idris/src/GameOfLifeBehaviour.idr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19c0bdcaea0784129a66e5605fd1f0fa 3 | timeCreated: 1442193964 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Idris/src/Main.idr: -------------------------------------------------------------------------------- 1 | module Main 2 | 3 | import RotateBehaviour 4 | import GameOfLifeBehaviour 5 | import CreateMeshBehaviour 6 | 7 | main : IO () 8 | main = pure () 9 | -------------------------------------------------------------------------------- /Assets/Idris/src/Main.idr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 811fca2b1a0f948269967ace08f24e3f 3 | timeCreated: 1441558125 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Idris/src/RotateBehaviour.idr: -------------------------------------------------------------------------------- 1 | module RotateBehaviour 2 | 3 | import UnityEngine 4 | 5 | update : GameObject -> CIL_IO () 6 | update go = do 7 | origin <- vec3 0 0 0 8 | axis <- vec3 1 0 0 9 | RotateAround !(transform go) origin axis (90 * !deltaTime) 10 | 11 | exports : FFI_Export FFI_CIL "RotateBehaviour" [] 12 | exports = 13 | Fun update CILDefault 14 | End 15 | -------------------------------------------------------------------------------- /Assets/Idris/src/RotateBehaviour.idr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4fec913fbca0457bb3fe468954c58d6 3 | timeCreated: 1441553787 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Idris/src/UnityEngine.idr: -------------------------------------------------------------------------------- 1 | module UnityEngine 2 | 3 | import public CIL.FFI 4 | import public CIL.FFI.Array 5 | import public CIL.FFI.Single 6 | 7 | %access public export 8 | 9 | unityStruct : String -> CILTy 10 | unityStruct typeName = CILTyVal "UnityEngine" ("UnityEngine." ++ typeName) 11 | 12 | unityClass : String -> CILTy 13 | unityClass typeName = CILTyRef "UnityEngine" ("UnityEngine." ++ typeName) 14 | 15 | Vector2Ty : CILTy 16 | Vector2Ty = unityStruct "Vector2" 17 | 18 | Vector2 : Type 19 | Vector2 = CIL Vector2Ty 20 | 21 | vec2 : Single -> Single -> CIL_IO Vector2 22 | vec2 = new (Single -> Single -> CIL_IO Vector2) 23 | 24 | Vector2Array : Type 25 | Vector2Array = TypedArrayOf Vector2Ty 26 | 27 | Vector3Ty : CILTy 28 | Vector3Ty = unityStruct "Vector3" 29 | 30 | Vector3 : Type 31 | Vector3 = CIL Vector3Ty 32 | 33 | vec3 : Single -> Single -> Single -> CIL_IO Vector3 34 | vec3 = new (Single -> Single -> Single -> CIL_IO Vector3) 35 | 36 | Vector3Array : Type 37 | Vector3Array = TypedArrayOf Vector3Ty 38 | 39 | QuaternionTy : CILTy 40 | QuaternionTy = unityStruct "Quaternion" 41 | 42 | Quaternion : Type 43 | Quaternion = CIL QuaternionTy 44 | 45 | UnityObjectTy : CILTy 46 | UnityObjectTy = unityClass "Object" 47 | 48 | UnityObject : Type 49 | UnityObject = CIL UnityObjectTy 50 | 51 | ComponentTy : CILTy 52 | ComponentTy = unityClass "Component" 53 | 54 | Component : Type 55 | Component = CIL ComponentTy 56 | 57 | GameObjectTy : CILTy 58 | GameObjectTy = unityClass "GameObject" 59 | 60 | GameObject : Type 61 | GameObject = CIL GameObjectTy 62 | 63 | Transform : Type 64 | Transform = CIL $ unityClass "Transform" 65 | 66 | MeshFilterTy : CILTy 67 | MeshFilterTy = unityClass "MeshFilter" 68 | 69 | MeshFilter : Type 70 | MeshFilter = CIL MeshFilterTy 71 | 72 | IsA Component MeshFilter where {} 73 | 74 | MeshTy : CILTy 75 | MeshTy = unityClass "Mesh" 76 | 77 | Mesh : Type 78 | Mesh = CIL MeshTy 79 | 80 | set_mesh : MeshFilter -> Mesh -> CIL_IO () 81 | set_mesh = 82 | invoke (CILInstance "set_mesh") 83 | (MeshFilter -> Mesh -> CIL_IO ()) 84 | 85 | sharedMesh : MeshFilter -> CIL_IO Mesh 86 | sharedMesh = 87 | invoke (CILInstance "get_sharedMesh") 88 | (MeshFilter -> CIL_IO Mesh) 89 | 90 | Clear : Mesh -> Bool -> CIL_IO () 91 | Clear = 92 | invoke (CILInstance "Clear") 93 | (Mesh -> Bool -> CIL_IO ()) 94 | 95 | RecalculateNormals : Mesh -> CIL_IO () 96 | RecalculateNormals = 97 | invoke (CILInstance "RecalculateNormals") 98 | (Mesh -> CIL_IO ()) 99 | 100 | RecalculateBounds : Mesh -> CIL_IO () 101 | RecalculateBounds = 102 | invoke (CILInstance "RecalculateBounds") 103 | (Mesh -> CIL_IO ()) 104 | 105 | Optimize : Mesh -> CIL_IO () 106 | Optimize = 107 | invoke (CILInstance "Optimize") 108 | (Mesh -> CIL_IO ()) 109 | 110 | set_uv : Mesh -> Vector2Array -> CIL_IO () 111 | set_uv = 112 | invoke (CILInstance "set_uv") 113 | (Mesh -> Vector2Array -> CIL_IO ()) 114 | 115 | set_vertices : Mesh -> Vector3Array -> CIL_IO () 116 | set_vertices = 117 | invoke (CILInstance "set_vertices") 118 | (Mesh -> Vector3Array -> CIL_IO ()) 119 | 120 | set_triangles : Mesh -> Int32Array -> CIL_IO () 121 | set_triangles = 122 | invoke (CILInstance "set_triangles") 123 | (Mesh -> Int32Array -> CIL_IO ()) 124 | 125 | %inline 126 | GetComponent : IsA Component (CIL ty) => GameObject -> (ty : CILTy) -> CIL_IO (CIL ty) 127 | GetComponent go ty = 128 | invoke (CILInstanceCustom "GetComponent" [RuntimeTypeTy] ComponentTy) 129 | (GameObject -> RuntimeType -> CIL_IO (CIL ty)) 130 | go !(typeOf ty) 131 | 132 | Instantiate : (prefab : UnityObject) -> 133 | (position : Vector3) -> 134 | (rotation : Quaternion) -> 135 | CIL_IO UnityObject 136 | Instantiate = 137 | invoke (CILStatic UnityObjectTy "Instantiate") 138 | (UnityObject -> Vector3 -> Quaternion -> CIL_IO UnityObject) 139 | 140 | Destroy : UnityObject -> CIL_IO () 141 | Destroy = 142 | invoke (CILStatic UnityObjectTy "Destroy") 143 | (UnityObject -> CIL_IO ()) 144 | 145 | identity : CIL_IO Quaternion 146 | identity = 147 | invoke (CILStatic QuaternionTy "get_identity") 148 | (CIL_IO Quaternion) 149 | 150 | RotateAround : Transform -> (origin : Vector3) -> (axis : Vector3) -> (angle : Single) -> CIL_IO () 151 | RotateAround = 152 | invoke (CILInstance "RotateAround") 153 | (Transform -> Vector3 -> Vector3 -> Single -> CIL_IO ()) 154 | 155 | transform : GameObject -> CIL_IO Transform 156 | transform = 157 | invoke (CILInstance "get_transform") 158 | (GameObject -> CIL_IO Transform) 159 | 160 | Log : o -> CIL_IO () 161 | Log obj = 162 | invoke (CILStatic (unityClass "Debug") "Log") 163 | (Object -> CIL_IO ()) 164 | (believe_me obj) 165 | 166 | deltaTime : CIL_IO Single 167 | deltaTime = 168 | invoke (CILStatic (unityClass "Time") "get_deltaTime") 169 | (CIL_IO Single) 170 | 171 | namespace Mathf 172 | 173 | Sqrt : Single -> CIL_IO Single 174 | Sqrt = invoke (CILStatic (unityStruct "Mathf") "Sqrt") (Single -> CIL_IO Single) 175 | -------------------------------------------------------------------------------- /Assets/Idris/src/UnityEngine.idr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09730e8b43bc34ace92f1d0b0bb1917b 3 | timeCreated: 1441534538 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Main.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | SceneSettings: 5 | m_ObjectHideFlags: 0 6 | m_PVSData: 7 | m_PVSObjectsArray: [] 8 | m_PVSPortalsArray: [] 9 | m_OcclusionBakeSettings: 10 | smallestOccluder: 5 11 | smallestHole: 0.25 12 | backfaceThreshold: 100 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 6 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_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 29 | m_HaloStrength: 0.5 30 | m_FlareStrength: 1 31 | m_FlareFadeSpeed: 3 32 | m_HaloTexture: {fileID: 0} 33 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 34 | m_DefaultReflectionMode: 0 35 | m_DefaultReflectionResolution: 128 36 | m_ReflectionBounces: 1 37 | m_ReflectionIntensity: 1 38 | m_CustomReflection: {fileID: 0} 39 | m_Sun: {fileID: 0} 40 | --- !u!157 &4 41 | LightmapSettings: 42 | m_ObjectHideFlags: 0 43 | serializedVersion: 6 44 | m_GIWorkflowMode: 0 45 | m_LightmapsMode: 1 46 | m_GISettings: 47 | serializedVersion: 2 48 | m_BounceScale: 1 49 | m_IndirectOutputScale: 1 50 | m_AlbedoBoost: 1 51 | m_TemporalCoherenceThreshold: 1 52 | m_EnvironmentLightingMode: 0 53 | m_EnableBakedLightmaps: 1 54 | m_EnableRealtimeLightmaps: 1 55 | m_LightmapEditorSettings: 56 | serializedVersion: 3 57 | m_Resolution: 2 58 | m_BakeResolution: 40 59 | m_TextureWidth: 1024 60 | m_TextureHeight: 1024 61 | m_AOMaxDistance: 1 62 | m_Padding: 2 63 | m_CompAOExponent: 0 64 | m_LightmapParameters: {fileID: 0} 65 | m_TextureCompression: 1 66 | m_FinalGather: 0 67 | m_FinalGatherRayCount: 1024 68 | m_ReflectionCompression: 2 69 | m_LightingDataAsset: {fileID: 0} 70 | m_RuntimeCPUUsage: 25 71 | --- !u!196 &5 72 | NavMeshSettings: 73 | serializedVersion: 2 74 | m_ObjectHideFlags: 0 75 | m_BuildSettings: 76 | serializedVersion: 2 77 | agentRadius: 0.5 78 | agentHeight: 2 79 | agentSlope: 45 80 | agentClimb: 0.4 81 | ledgeDropHeight: 0 82 | maxJumpAcrossDistance: 0 83 | accuratePlacement: 0 84 | minRegionArea: 2 85 | cellSize: 0.16666667 86 | manualCellSize: 0 87 | m_NavMeshData: {fileID: 0} 88 | --- !u!1 &1371794862 89 | GameObject: 90 | m_ObjectHideFlags: 0 91 | m_PrefabParentObject: {fileID: 0} 92 | m_PrefabInternal: {fileID: 0} 93 | serializedVersion: 4 94 | m_Component: 95 | - 4: {fileID: 1371794864} 96 | - 108: {fileID: 1371794863} 97 | m_Layer: 0 98 | m_Name: Directional Light 99 | m_TagString: Untagged 100 | m_Icon: {fileID: 0} 101 | m_NavMeshLayer: 0 102 | m_StaticEditorFlags: 0 103 | m_IsActive: 1 104 | --- !u!108 &1371794863 105 | Light: 106 | m_ObjectHideFlags: 0 107 | m_PrefabParentObject: {fileID: 0} 108 | m_PrefabInternal: {fileID: 0} 109 | m_GameObject: {fileID: 1371794862} 110 | m_Enabled: 1 111 | serializedVersion: 6 112 | m_Type: 1 113 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 114 | m_Intensity: 1 115 | m_Range: 10 116 | m_SpotAngle: 30 117 | m_CookieSize: 10 118 | m_Shadows: 119 | m_Type: 2 120 | m_Resolution: -1 121 | m_Strength: 1 122 | m_Bias: 0.05 123 | m_NormalBias: 0.4 124 | m_NearPlane: 0.2 125 | m_Cookie: {fileID: 0} 126 | m_DrawHalo: 0 127 | m_Flare: {fileID: 0} 128 | m_RenderMode: 0 129 | m_CullingMask: 130 | serializedVersion: 2 131 | m_Bits: 4294967295 132 | m_Lightmapping: 4 133 | m_BounceIntensity: 1 134 | m_ShadowRadius: 0 135 | m_ShadowAngle: 0 136 | m_AreaSize: {x: 1, y: 1} 137 | --- !u!4 &1371794864 138 | Transform: 139 | m_ObjectHideFlags: 0 140 | m_PrefabParentObject: {fileID: 0} 141 | m_PrefabInternal: {fileID: 0} 142 | m_GameObject: {fileID: 1371794862} 143 | m_LocalRotation: {x: 0.40821794, y: -0.23456973, z: 0.109381676, w: 0.87542605} 144 | m_LocalPosition: {x: 0, y: 3, z: 0} 145 | m_LocalScale: {x: 1, y: 1, z: 1} 146 | m_Children: [] 147 | m_Father: {fileID: 0} 148 | m_RootOrder: 1 149 | --- !u!1 &2124674491 150 | GameObject: 151 | m_ObjectHideFlags: 0 152 | m_PrefabParentObject: {fileID: 0} 153 | m_PrefabInternal: {fileID: 0} 154 | serializedVersion: 4 155 | m_Component: 156 | - 4: {fileID: 2124674496} 157 | - 20: {fileID: 2124674495} 158 | - 92: {fileID: 2124674494} 159 | - 124: {fileID: 2124674493} 160 | - 81: {fileID: 2124674492} 161 | - 114: {fileID: 2124674497} 162 | - 114: {fileID: 2124674498} 163 | m_Layer: 0 164 | m_Name: Main Camera 165 | m_TagString: MainCamera 166 | m_Icon: {fileID: 0} 167 | m_NavMeshLayer: 0 168 | m_StaticEditorFlags: 0 169 | m_IsActive: 1 170 | --- !u!81 &2124674492 171 | AudioListener: 172 | m_ObjectHideFlags: 0 173 | m_PrefabParentObject: {fileID: 0} 174 | m_PrefabInternal: {fileID: 0} 175 | m_GameObject: {fileID: 2124674491} 176 | m_Enabled: 1 177 | --- !u!124 &2124674493 178 | Behaviour: 179 | m_ObjectHideFlags: 0 180 | m_PrefabParentObject: {fileID: 0} 181 | m_PrefabInternal: {fileID: 0} 182 | m_GameObject: {fileID: 2124674491} 183 | m_Enabled: 1 184 | --- !u!92 &2124674494 185 | Behaviour: 186 | m_ObjectHideFlags: 0 187 | m_PrefabParentObject: {fileID: 0} 188 | m_PrefabInternal: {fileID: 0} 189 | m_GameObject: {fileID: 2124674491} 190 | m_Enabled: 1 191 | --- !u!20 &2124674495 192 | Camera: 193 | m_ObjectHideFlags: 0 194 | m_PrefabParentObject: {fileID: 0} 195 | m_PrefabInternal: {fileID: 0} 196 | m_GameObject: {fileID: 2124674491} 197 | m_Enabled: 1 198 | serializedVersion: 2 199 | m_ClearFlags: 2 200 | m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844} 201 | m_NormalizedViewPortRect: 202 | serializedVersion: 2 203 | x: 0 204 | y: 0 205 | width: 1 206 | height: 1 207 | near clip plane: 0.3 208 | far clip plane: 1000 209 | field of view: 60 210 | orthographic: 0 211 | orthographic size: 5 212 | m_Depth: -1 213 | m_CullingMask: 214 | serializedVersion: 2 215 | m_Bits: 4294967295 216 | m_RenderingPath: -1 217 | m_TargetTexture: {fileID: 0} 218 | m_TargetDisplay: 0 219 | m_TargetEye: 3 220 | m_HDR: 0 221 | m_OcclusionCulling: 1 222 | m_StereoConvergence: 10 223 | m_StereoSeparation: 0.022 224 | m_StereoMirrorMode: 0 225 | --- !u!4 &2124674496 226 | Transform: 227 | m_ObjectHideFlags: 0 228 | m_PrefabParentObject: {fileID: 0} 229 | m_PrefabInternal: {fileID: 0} 230 | m_GameObject: {fileID: 2124674491} 231 | m_LocalRotation: {x: 0.03918279, y: 0, z: 0, w: 0.99923205} 232 | m_LocalPosition: {x: 18, y: 8, z: -30} 233 | m_LocalScale: {x: 1, y: 1, z: 1} 234 | m_Children: [] 235 | m_Father: {fileID: 0} 236 | m_RootOrder: 0 237 | --- !u!114 &2124674497 238 | MonoBehaviour: 239 | m_ObjectHideFlags: 0 240 | m_PrefabParentObject: {fileID: 0} 241 | m_PrefabInternal: {fileID: 0} 242 | m_GameObject: {fileID: 2124674491} 243 | m_Enabled: 1 244 | m_EditorHideFlags: 0 245 | m_Script: {fileID: 11500000, guid: 37d40d79a9d8c47579a4db3d6976b31c, type: 3} 246 | m_Name: 247 | m_EditorClassIdentifier: 248 | prefab: {fileID: 2144688246} 249 | --- !u!114 &2124674498 250 | MonoBehaviour: 251 | m_ObjectHideFlags: 0 252 | m_PrefabParentObject: {fileID: 0} 253 | m_PrefabInternal: {fileID: 0} 254 | m_GameObject: {fileID: 2124674491} 255 | m_Enabled: 0 256 | m_EditorHideFlags: 0 257 | m_Script: {fileID: 11500000, guid: 49f4a68f5b0f24fb3912615112b515f8, type: 3} 258 | m_Name: 259 | m_EditorClassIdentifier: 260 | --- !u!1 &2144688246 261 | GameObject: 262 | m_ObjectHideFlags: 0 263 | m_PrefabParentObject: {fileID: 0} 264 | m_PrefabInternal: {fileID: 0} 265 | serializedVersion: 4 266 | m_Component: 267 | - 4: {fileID: 2144688250} 268 | - 33: {fileID: 2144688249} 269 | - 65: {fileID: 2144688248} 270 | - 23: {fileID: 2144688247} 271 | m_Layer: 0 272 | m_Name: Cube 273 | m_TagString: Untagged 274 | m_Icon: {fileID: 0} 275 | m_NavMeshLayer: 0 276 | m_StaticEditorFlags: 0 277 | m_IsActive: 1 278 | --- !u!23 &2144688247 279 | MeshRenderer: 280 | m_ObjectHideFlags: 0 281 | m_PrefabParentObject: {fileID: 0} 282 | m_PrefabInternal: {fileID: 0} 283 | m_GameObject: {fileID: 2144688246} 284 | m_Enabled: 1 285 | m_CastShadows: 1 286 | m_ReceiveShadows: 1 287 | m_Materials: 288 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 289 | m_SubsetIndices: 290 | m_StaticBatchRoot: {fileID: 0} 291 | m_UseLightProbes: 1 292 | m_ReflectionProbeUsage: 1 293 | m_ProbeAnchor: {fileID: 0} 294 | m_ScaleInLightmap: 1 295 | m_PreserveUVs: 1 296 | m_IgnoreNormalsForChartDetection: 0 297 | m_ImportantGI: 0 298 | m_MinimumChartSize: 4 299 | m_AutoUVMaxDistance: 0.5 300 | m_AutoUVMaxAngle: 89 301 | m_LightmapParameters: {fileID: 0} 302 | m_SortingLayerID: 0 303 | m_SortingOrder: 0 304 | --- !u!65 &2144688248 305 | BoxCollider: 306 | m_ObjectHideFlags: 0 307 | m_PrefabParentObject: {fileID: 0} 308 | m_PrefabInternal: {fileID: 0} 309 | m_GameObject: {fileID: 2144688246} 310 | m_Material: {fileID: 0} 311 | m_IsTrigger: 0 312 | m_Enabled: 1 313 | serializedVersion: 2 314 | m_Size: {x: 0.1, y: 0.1, z: 0.1} 315 | m_Center: {x: 0, y: 0, z: 0} 316 | --- !u!33 &2144688249 317 | MeshFilter: 318 | m_ObjectHideFlags: 0 319 | m_PrefabParentObject: {fileID: 0} 320 | m_PrefabInternal: {fileID: 0} 321 | m_GameObject: {fileID: 2144688246} 322 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 323 | --- !u!4 &2144688250 324 | Transform: 325 | m_ObjectHideFlags: 0 326 | m_PrefabParentObject: {fileID: 0} 327 | m_PrefabInternal: {fileID: 0} 328 | m_GameObject: {fileID: 2144688246} 329 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 330 | m_LocalPosition: {x: 0, y: 0, z: -10} 331 | m_LocalScale: {x: 1, y: 1, z: 1} 332 | m_Children: [] 333 | m_Father: {fileID: 0} 334 | m_RootOrder: 2 335 | -------------------------------------------------------------------------------- /Assets/Main.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 241de9ae3168546d4873e0939e8922ed 3 | timeCreated: 1441563965 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Procedural.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | SceneSettings: 5 | m_ObjectHideFlags: 0 6 | m_PVSData: 7 | m_PVSObjectsArray: [] 8 | m_PVSPortalsArray: [] 9 | m_OcclusionBakeSettings: 10 | smallestOccluder: 5 11 | smallestHole: 0.25 12 | backfaceThreshold: 100 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 7 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_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 29 | m_HaloStrength: 0.5 30 | m_FlareStrength: 1 31 | m_FlareFadeSpeed: 3 32 | m_HaloTexture: {fileID: 0} 33 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 34 | m_DefaultReflectionMode: 0 35 | m_DefaultReflectionResolution: 128 36 | m_ReflectionBounces: 1 37 | m_ReflectionIntensity: 1 38 | m_CustomReflection: {fileID: 0} 39 | m_Sun: {fileID: 0} 40 | m_IndirectSpecularColor: {r: 0.44692492, g: 0.4967869, b: 0.57508546, a: 1} 41 | --- !u!157 &3 42 | LightmapSettings: 43 | m_ObjectHideFlags: 0 44 | serializedVersion: 7 45 | m_GIWorkflowMode: 0 46 | m_GISettings: 47 | serializedVersion: 2 48 | m_BounceScale: 1 49 | m_IndirectOutputScale: 1 50 | m_AlbedoBoost: 1 51 | m_TemporalCoherenceThreshold: 1 52 | m_EnvironmentLightingMode: 0 53 | m_EnableBakedLightmaps: 1 54 | m_EnableRealtimeLightmaps: 1 55 | m_LightmapEditorSettings: 56 | serializedVersion: 4 57 | m_Resolution: 2 58 | m_BakeResolution: 40 59 | m_TextureWidth: 1024 60 | m_TextureHeight: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 0 64 | m_CompAOExponentDirect: 0 65 | m_Padding: 2 66 | m_LightmapParameters: {fileID: 0} 67 | m_LightmapsBakeMode: 1 68 | m_TextureCompression: 1 69 | m_DirectLightInLightProbes: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 1024 73 | m_ReflectionCompression: 2 74 | m_LightingDataAsset: {fileID: 0} 75 | m_RuntimeCPUUsage: 25 76 | --- !u!196 &4 77 | NavMeshSettings: 78 | serializedVersion: 2 79 | m_ObjectHideFlags: 0 80 | m_BuildSettings: 81 | serializedVersion: 2 82 | agentRadius: 0.5 83 | agentHeight: 2 84 | agentSlope: 45 85 | agentClimb: 0.4 86 | ledgeDropHeight: 0 87 | maxJumpAcrossDistance: 0 88 | accuratePlacement: 0 89 | minRegionArea: 2 90 | cellSize: 0.16666667 91 | manualCellSize: 0 92 | m_NavMeshData: {fileID: 0} 93 | --- !u!1 &356956368 94 | GameObject: 95 | m_ObjectHideFlags: 0 96 | m_PrefabParentObject: {fileID: 0} 97 | m_PrefabInternal: {fileID: 0} 98 | serializedVersion: 4 99 | m_Component: 100 | - 4: {fileID: 356956371} 101 | - 33: {fileID: 356956370} 102 | - 23: {fileID: 356956369} 103 | - 114: {fileID: 356956372} 104 | m_Layer: 0 105 | m_Name: GameObject 106 | m_TagString: Untagged 107 | m_Icon: {fileID: 0} 108 | m_NavMeshLayer: 0 109 | m_StaticEditorFlags: 0 110 | m_IsActive: 1 111 | --- !u!23 &356956369 112 | MeshRenderer: 113 | m_ObjectHideFlags: 0 114 | m_PrefabParentObject: {fileID: 0} 115 | m_PrefabInternal: {fileID: 0} 116 | m_GameObject: {fileID: 356956368} 117 | m_Enabled: 1 118 | m_CastShadows: 1 119 | m_ReceiveShadows: 1 120 | m_MotionVectors: 1 121 | m_LightProbeUsage: 1 122 | m_ReflectionProbeUsage: 1 123 | m_Materials: 124 | - {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0} 125 | m_SubsetIndices: 126 | m_StaticBatchRoot: {fileID: 0} 127 | m_ProbeAnchor: {fileID: 0} 128 | m_LightProbeVolumeOverride: {fileID: 0} 129 | m_ScaleInLightmap: 1 130 | m_PreserveUVs: 0 131 | m_IgnoreNormalsForChartDetection: 0 132 | m_ImportantGI: 0 133 | m_SelectedWireframeHidden: 0 134 | m_MinimumChartSize: 4 135 | m_AutoUVMaxDistance: 0.5 136 | m_AutoUVMaxAngle: 89 137 | m_LightmapParameters: {fileID: 0} 138 | m_SortingLayerID: 0 139 | m_SortingOrder: 0 140 | --- !u!33 &356956370 141 | MeshFilter: 142 | m_ObjectHideFlags: 0 143 | m_PrefabParentObject: {fileID: 0} 144 | m_PrefabInternal: {fileID: 0} 145 | m_GameObject: {fileID: 356956368} 146 | m_Mesh: {fileID: 0} 147 | --- !u!4 &356956371 148 | Transform: 149 | m_ObjectHideFlags: 0 150 | m_PrefabParentObject: {fileID: 0} 151 | m_PrefabInternal: {fileID: 0} 152 | m_GameObject: {fileID: 356956368} 153 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 154 | m_LocalPosition: {x: 0, y: 0, z: 0} 155 | m_LocalScale: {x: 1, y: 1, z: 1} 156 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 157 | m_Children: [] 158 | m_Father: {fileID: 0} 159 | m_RootOrder: 2 160 | --- !u!114 &356956372 161 | MonoBehaviour: 162 | m_ObjectHideFlags: 0 163 | m_PrefabParentObject: {fileID: 0} 164 | m_PrefabInternal: {fileID: 0} 165 | m_GameObject: {fileID: 356956368} 166 | m_Enabled: 1 167 | m_EditorHideFlags: 0 168 | m_Script: {fileID: 11500000, guid: b35a124821ffa4601aa4470ab71476ef, type: 3} 169 | m_Name: 170 | m_EditorClassIdentifier: 171 | --- !u!1 &1249118952 172 | GameObject: 173 | m_ObjectHideFlags: 0 174 | m_PrefabParentObject: {fileID: 0} 175 | m_PrefabInternal: {fileID: 0} 176 | serializedVersion: 4 177 | m_Component: 178 | - 4: {fileID: 1249118957} 179 | - 20: {fileID: 1249118956} 180 | - 92: {fileID: 1249118955} 181 | - 124: {fileID: 1249118954} 182 | - 81: {fileID: 1249118953} 183 | m_Layer: 0 184 | m_Name: Main Camera 185 | m_TagString: MainCamera 186 | m_Icon: {fileID: 0} 187 | m_NavMeshLayer: 0 188 | m_StaticEditorFlags: 0 189 | m_IsActive: 1 190 | --- !u!81 &1249118953 191 | AudioListener: 192 | m_ObjectHideFlags: 0 193 | m_PrefabParentObject: {fileID: 0} 194 | m_PrefabInternal: {fileID: 0} 195 | m_GameObject: {fileID: 1249118952} 196 | m_Enabled: 1 197 | --- !u!124 &1249118954 198 | Behaviour: 199 | m_ObjectHideFlags: 0 200 | m_PrefabParentObject: {fileID: 0} 201 | m_PrefabInternal: {fileID: 0} 202 | m_GameObject: {fileID: 1249118952} 203 | m_Enabled: 1 204 | --- !u!92 &1249118955 205 | Behaviour: 206 | m_ObjectHideFlags: 0 207 | m_PrefabParentObject: {fileID: 0} 208 | m_PrefabInternal: {fileID: 0} 209 | m_GameObject: {fileID: 1249118952} 210 | m_Enabled: 1 211 | --- !u!20 &1249118956 212 | Camera: 213 | m_ObjectHideFlags: 0 214 | m_PrefabParentObject: {fileID: 0} 215 | m_PrefabInternal: {fileID: 0} 216 | m_GameObject: {fileID: 1249118952} 217 | m_Enabled: 1 218 | serializedVersion: 2 219 | m_ClearFlags: 2 220 | m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844} 221 | m_NormalizedViewPortRect: 222 | serializedVersion: 2 223 | x: 0 224 | y: 0 225 | width: 1 226 | height: 1 227 | near clip plane: 0.3 228 | far clip plane: 1000 229 | field of view: 60 230 | orthographic: 0 231 | orthographic size: 5 232 | m_Depth: -1 233 | m_CullingMask: 234 | serializedVersion: 2 235 | m_Bits: 4294967295 236 | m_RenderingPath: -1 237 | m_TargetTexture: {fileID: 0} 238 | m_TargetDisplay: 0 239 | m_TargetEye: 3 240 | m_HDR: 0 241 | m_OcclusionCulling: 1 242 | m_StereoConvergence: 10 243 | m_StereoSeparation: 0.022 244 | m_StereoMirrorMode: 0 245 | --- !u!4 &1249118957 246 | Transform: 247 | m_ObjectHideFlags: 0 248 | m_PrefabParentObject: {fileID: 0} 249 | m_PrefabInternal: {fileID: 0} 250 | m_GameObject: {fileID: 1249118952} 251 | m_LocalRotation: {x: 0.036094736, y: -0, z: -0, w: 0.99934846} 252 | m_LocalPosition: {x: 0, y: 0.95, z: -9.2} 253 | m_LocalScale: {x: 1, y: 1, z: 1} 254 | m_LocalEulerAnglesHint: {x: 4.1000004, y: 0, z: 0} 255 | m_Children: [] 256 | m_Father: {fileID: 0} 257 | m_RootOrder: 0 258 | --- !u!1 &1440963082 259 | GameObject: 260 | m_ObjectHideFlags: 0 261 | m_PrefabParentObject: {fileID: 0} 262 | m_PrefabInternal: {fileID: 0} 263 | serializedVersion: 4 264 | m_Component: 265 | - 4: {fileID: 1440963084} 266 | - 108: {fileID: 1440963083} 267 | m_Layer: 0 268 | m_Name: Directional Light 269 | m_TagString: Untagged 270 | m_Icon: {fileID: 0} 271 | m_NavMeshLayer: 0 272 | m_StaticEditorFlags: 0 273 | m_IsActive: 1 274 | --- !u!108 &1440963083 275 | Light: 276 | m_ObjectHideFlags: 0 277 | m_PrefabParentObject: {fileID: 0} 278 | m_PrefabInternal: {fileID: 0} 279 | m_GameObject: {fileID: 1440963082} 280 | m_Enabled: 1 281 | serializedVersion: 7 282 | m_Type: 1 283 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 284 | m_Intensity: 1 285 | m_Range: 10 286 | m_SpotAngle: 30 287 | m_CookieSize: 10 288 | m_Shadows: 289 | m_Type: 2 290 | m_Resolution: -1 291 | m_CustomResolution: -1 292 | m_Strength: 1 293 | m_Bias: 0.05 294 | m_NormalBias: 0.4 295 | m_NearPlane: 0.2 296 | m_Cookie: {fileID: 0} 297 | m_DrawHalo: 0 298 | m_Flare: {fileID: 0} 299 | m_RenderMode: 0 300 | m_CullingMask: 301 | serializedVersion: 2 302 | m_Bits: 4294967295 303 | m_Lightmapping: 4 304 | m_AreaSize: {x: 1, y: 1} 305 | m_BounceIntensity: 1 306 | m_ShadowRadius: 0 307 | m_ShadowAngle: 0 308 | --- !u!4 &1440963084 309 | Transform: 310 | m_ObjectHideFlags: 0 311 | m_PrefabParentObject: {fileID: 0} 312 | m_PrefabInternal: {fileID: 0} 313 | m_GameObject: {fileID: 1440963082} 314 | m_LocalRotation: {x: 0.40821794, y: -0.23456973, z: 0.109381676, w: 0.87542605} 315 | m_LocalPosition: {x: 2.703, y: 3, z: 1.561} 316 | m_LocalScale: {x: 1, y: 1, z: 1} 317 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 318 | m_Children: [] 319 | m_Father: {fileID: 0} 320 | m_RootOrder: 1 321 | -------------------------------------------------------------------------------- /Assets/Procedural.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13cd263bbfb8b499eba1ead69a76ddb2 3 | timeCreated: 1474659631 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Rotate.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class Rotate : MonoBehaviour { 4 | 5 | void Update () { 6 | RotateBehaviour.update (gameObject); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Rotate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49f4a68f5b0f24fb3912615112b515f8 3 | timeCreated: 1441558163 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /IdrisUnityIntegrationTake1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bamboo/IdrisUnityPlayground/bb6d45af9375d03cca340641370d2869a3c20f25/IdrisUnityIntegrationTake1.png -------------------------------------------------------------------------------- /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: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_DisableAudio: 0 15 | -------------------------------------------------------------------------------- /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 | m_Gravity: {x: 0, y: -9.81000042, z: 0} 7 | m_DefaultMaterial: {fileID: 0} 8 | m_BounceThreshold: 2 9 | m_SleepThreshold: .00499999989 10 | m_DefaultContactOffset: .00999999978 11 | m_SolverIterationCount: 6 12 | m_RaycastsHitTriggers: 1 13 | m_EnableAdaptiveForce: 0 14 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 15 | -------------------------------------------------------------------------------- /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/Procedural.unity 10 | -------------------------------------------------------------------------------- /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: 3 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | m_DefaultBehaviorMode: 0 12 | m_SpritePackerMode: 2 13 | m_SpritePackerPaddingPower: 1 14 | -------------------------------------------------------------------------------- /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: 7 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: 10770, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_ShaderSettings_Tier1: 42 | useCascadedShadowMaps: 1 43 | standardShaderQuality: 2 44 | useReflectionProbeBoxProjection: 1 45 | useReflectionProbeBlending: 1 46 | m_ShaderSettings_Tier2: 47 | useCascadedShadowMaps: 1 48 | standardShaderQuality: 2 49 | useReflectionProbeBoxProjection: 1 50 | useReflectionProbeBlending: 1 51 | m_ShaderSettings_Tier3: 52 | useCascadedShadowMaps: 1 53 | standardShaderQuality: 2 54 | useReflectionProbeBoxProjection: 1 55 | useReflectionProbeBlending: 1 56 | m_BuildTargetShaderSettings: [] 57 | m_LightmapStripping: 0 58 | m_FogStripping: 0 59 | m_LightmapKeepPlain: 1 60 | m_LightmapKeepDirCombined: 1 61 | m_LightmapKeepDirSeparate: 1 62 | m_LightmapKeepDynamicPlain: 1 63 | m_LightmapKeepDynamicDirCombined: 1 64 | m_LightmapKeepDynamicDirSeparate: 1 65 | m_FogKeepLinear: 1 66 | m_FogKeepExp: 1 67 | m_FogKeepExp2: 1 68 | -------------------------------------------------------------------------------- /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: .00100000005 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: .00100000005 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: .00100000005 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: .00100000005 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: .00100000005 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: .00100000005 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: .100000001 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: .100000001 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: .100000001 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: .189999998 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: .189999998 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: .00100000005 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: .00100000005 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: .00100000005 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: .00100000005 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: .00100000005 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: .00100000005 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: .00100000005 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 | NavMeshAreas: 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 | -------------------------------------------------------------------------------- /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 | m_Gravity: {x: 0, y: -9.81000042} 7 | m_DefaultMaterial: {fileID: 0} 8 | m_VelocityIterations: 8 9 | m_PositionIterations: 3 10 | m_VelocityThreshold: 1 11 | m_MaxLinearCorrection: .200000003 12 | m_MaxAngularCorrection: 8 13 | m_MaxTranslationSpeed: 100 14 | m_MaxRotationSpeed: 360 15 | m_MinPenetrationForPenalty: .00999999978 16 | m_BaumgarteScale: .200000003 17 | m_BaumgarteTimeOfImpactScale: .75 18 | m_TimeToSleep: .5 19 | m_LinearSleepTolerance: .00999999978 20 | m_AngularSleepTolerance: 2 21 | m_RaycastsHitTriggers: 1 22 | m_RaycastsStartInColliders: 1 23 | m_ChangeStopsCallbacks: 0 24 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 25 | -------------------------------------------------------------------------------- /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: 8 7 | productGUID: 9819f5256c7a348c185f23c79ac9c292 8 | AndroidProfiler: 0 9 | defaultScreenOrientation: 4 10 | targetDevice: 2 11 | useOnDemandResources: 0 12 | accelerometerFrequency: 60 13 | companyName: DefaultCompany 14 | productName: IdrisUnity 15 | defaultCursor: {fileID: 0} 16 | cursorHotspot: {x: 0, y: 0} 17 | m_SplashScreenStyle: 0 18 | m_ShowUnitySplashScreen: 1 19 | m_VirtualRealitySplashScreen: {fileID: 0} 20 | defaultScreenWidth: 1024 21 | defaultScreenHeight: 768 22 | defaultScreenWidthWeb: 960 23 | defaultScreenHeightWeb: 600 24 | m_RenderingPath: 1 25 | m_MobileRenderingPath: 1 26 | m_ActiveColorSpace: 0 27 | m_MTRendering: 1 28 | m_MobileMTRendering: 0 29 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 30 | iosShowActivityIndicatorOnLoading: -1 31 | androidShowActivityIndicatorOnLoading: -1 32 | iosAppInBackgroundBehavior: 0 33 | displayResolutionDialog: 1 34 | iosAllowHTTPDownload: 1 35 | allowedAutorotateToPortrait: 1 36 | allowedAutorotateToPortraitUpsideDown: 1 37 | allowedAutorotateToLandscapeRight: 1 38 | allowedAutorotateToLandscapeLeft: 1 39 | useOSAutorotation: 1 40 | use32BitDisplayBuffer: 1 41 | disableDepthAndStencilBuffers: 0 42 | defaultIsFullScreen: 1 43 | defaultIsNativeResolution: 1 44 | runInBackground: 0 45 | captureSingleScreen: 0 46 | Override IPod Music: 0 47 | Prepare IOS For Recording: 0 48 | submitAnalytics: 1 49 | usePlayerLog: 1 50 | bakeCollisionMeshes: 0 51 | forceSingleInstance: 0 52 | resizableWindow: 0 53 | useMacAppStoreValidation: 0 54 | gpuSkinning: 0 55 | graphicsJobs: 0 56 | xboxPIXTextureCapture: 0 57 | xboxEnableAvatar: 0 58 | xboxEnableKinect: 0 59 | xboxEnableKinectAutoTracking: 0 60 | xboxEnableFitness: 0 61 | visibleInBackground: 0 62 | allowFullscreenSwitch: 1 63 | macFullscreenMode: 2 64 | d3d9FullscreenMode: 1 65 | d3d11FullscreenMode: 1 66 | xboxSpeechDB: 0 67 | xboxEnableHeadOrientation: 0 68 | xboxEnableGuest: 0 69 | xboxEnablePIXSampling: 0 70 | n3dsDisableStereoscopicView: 0 71 | n3dsEnableSharedListOpt: 1 72 | n3dsEnableVSync: 0 73 | uiUse16BitDepthBuffer: 0 74 | ignoreAlphaClear: 0 75 | xboxOneResolution: 0 76 | xboxOneMonoLoggingLevel: 0 77 | xboxOneLoggingLevel: 1 78 | ps3SplashScreen: {fileID: 0} 79 | videoMemoryForVertexBuffers: 0 80 | psp2PowerMode: 0 81 | psp2AcquireBGM: 1 82 | wiiUTVResolution: 0 83 | wiiUGamePadMSAA: 1 84 | wiiUSupportsNunchuk: 0 85 | wiiUSupportsClassicController: 0 86 | wiiUSupportsBalanceBoard: 0 87 | wiiUSupportsMotionPlus: 0 88 | wiiUSupportsProController: 0 89 | wiiUAllowScreenCapture: 1 90 | wiiUControllerCount: 0 91 | m_SupportedAspectRatios: 92 | 4:3: 1 93 | 5:4: 1 94 | 16:10: 1 95 | 16:9: 1 96 | Others: 1 97 | bundleIdentifier: com.Company.ProductName 98 | bundleVersion: 1.0 99 | preloadedAssets: [] 100 | metroEnableIndependentInputSource: 0 101 | xboxOneDisableKinectGpuReservation: 0 102 | singlePassStereoRendering: 0 103 | protectGraphicsMemory: 0 104 | AndroidBundleVersionCode: 1 105 | AndroidMinSdkVersion: 9 106 | AndroidPreferredInstallLocation: 1 107 | aotOptions: 108 | apiCompatibilityLevel: 2 109 | stripEngineCode: 1 110 | iPhoneStrippingLevel: 0 111 | iPhoneScriptCallOptimization: 0 112 | iPhoneBuildNumber: 0 113 | ForceInternetPermission: 0 114 | ForceSDCardPermission: 0 115 | CreateWallpaper: 0 116 | APKExpansionFiles: 0 117 | preloadShaders: 0 118 | StripUnusedMeshComponents: 0 119 | VertexChannelCompressionMask: 120 | serializedVersion: 2 121 | m_Bits: 238 122 | iPhoneSdkVersion: 988 123 | iPhoneTargetOSVersion: 22 124 | tvOSSdkVersion: 0 125 | tvOSTargetOSVersion: 900 126 | uIPrerenderedIcon: 0 127 | uIRequiresPersistentWiFi: 0 128 | uIRequiresFullScreen: 1 129 | uIStatusBarHidden: 1 130 | uIExitOnSuspend: 0 131 | uIStatusBarStyle: 0 132 | iPhoneSplashScreen: {fileID: 0} 133 | iPhoneHighResSplashScreen: {fileID: 0} 134 | iPhoneTallHighResSplashScreen: {fileID: 0} 135 | iPhone47inSplashScreen: {fileID: 0} 136 | iPhone55inPortraitSplashScreen: {fileID: 0} 137 | iPhone55inLandscapeSplashScreen: {fileID: 0} 138 | iPadPortraitSplashScreen: {fileID: 0} 139 | iPadHighResPortraitSplashScreen: {fileID: 0} 140 | iPadLandscapeSplashScreen: {fileID: 0} 141 | iPadHighResLandscapeSplashScreen: {fileID: 0} 142 | appleTVSplashScreen: {fileID: 0} 143 | tvOSSmallIconLayers: [] 144 | tvOSLargeIconLayers: [] 145 | tvOSTopShelfImageLayers: [] 146 | iOSLaunchScreenType: 0 147 | iOSLaunchScreenPortrait: {fileID: 0} 148 | iOSLaunchScreenLandscape: {fileID: 0} 149 | iOSLaunchScreenBackgroundColor: 150 | serializedVersion: 2 151 | rgba: 0 152 | iOSLaunchScreenFillPct: 100 153 | iOSLaunchScreenSize: 100 154 | iOSLaunchScreenCustomXibPath: 155 | iOSLaunchScreeniPadType: 0 156 | iOSLaunchScreeniPadImage: {fileID: 0} 157 | iOSLaunchScreeniPadBackgroundColor: 158 | serializedVersion: 2 159 | rgba: 0 160 | iOSLaunchScreeniPadFillPct: 100 161 | iOSLaunchScreeniPadSize: 100 162 | iOSLaunchScreeniPadCustomXibPath: 163 | iOSDeviceRequirements: [] 164 | iOSURLSchemes: [] 165 | AndroidTargetDevice: 0 166 | AndroidSplashScreenScale: 0 167 | androidSplashScreen: {fileID: 0} 168 | AndroidKeystoreName: 169 | AndroidKeyaliasName: 170 | AndroidTVCompatibility: 1 171 | AndroidIsGame: 1 172 | androidEnableBanner: 1 173 | m_AndroidBanners: 174 | - width: 320 175 | height: 180 176 | banner: {fileID: 0} 177 | androidGamepadSupportLevel: 0 178 | resolutionDialogBanner: {fileID: 0} 179 | m_BuildTargetIcons: [] 180 | m_BuildTargetBatching: [] 181 | m_BuildTargetGraphicsAPIs: [] 182 | webPlayerTemplate: APPLICATION:Default 183 | m_TemplateCustomTags: {} 184 | wiiUTitleID: 0005000011000000 185 | wiiUGroupID: 00010000 186 | wiiUCommonSaveSize: 4096 187 | wiiUAccountSaveSize: 2048 188 | wiiUOlvAccessKey: 0 189 | wiiUTinCode: 0 190 | wiiUJoinGameId: 0 191 | wiiUJoinGameModeMask: 0000000000000000 192 | wiiUCommonBossSize: 0 193 | wiiUAccountBossSize: 0 194 | wiiUAddOnUniqueIDs: [] 195 | wiiUMainThreadStackSize: 3072 196 | wiiULoaderThreadStackSize: 1024 197 | wiiUSystemHeapSize: 128 198 | wiiUTVStartupScreen: {fileID: 0} 199 | wiiUGamePadStartupScreen: {fileID: 0} 200 | wiiUProfilerLibPath: 201 | actionOnDotNetUnhandledException: 1 202 | enableInternalProfiler: 0 203 | logObjCUncaughtExceptions: 1 204 | enableCrashReportAPI: 0 205 | locationUsageDescription: 206 | XboxTitleId: 207 | XboxImageXexPath: 208 | XboxSpaPath: 209 | XboxGenerateSpa: 0 210 | XboxDeployKinectResources: 0 211 | XboxSplashScreen: {fileID: 0} 212 | xboxEnableSpeech: 0 213 | xboxAdditionalTitleMemorySize: 0 214 | xboxDeployKinectHeadOrientation: 0 215 | xboxDeployKinectHeadPosition: 0 216 | ps3TitleConfigPath: 217 | ps3DLCConfigPath: 218 | ps3ThumbnailPath: 219 | ps3BackgroundPath: 220 | ps3SoundPath: 221 | ps3NPAgeRating: 12 222 | ps3TrophyCommId: 223 | ps3NpCommunicationPassphrase: 224 | ps3TrophyPackagePath: 225 | ps3BootCheckMaxSaveGameSizeKB: 128 226 | ps3TrophyCommSig: 227 | ps3SaveGameSlots: 1 228 | ps3TrialMode: 0 229 | ps3VideoMemoryForAudio: 0 230 | ps3EnableVerboseMemoryStats: 0 231 | ps3UseSPUForUmbra: 0 232 | ps3EnableMoveSupport: 1 233 | ps3DisableDolbyEncoding: 0 234 | ps4NPAgeRating: 12 235 | ps4NPTitleSecret: 236 | ps4NPTrophyPackPath: 237 | ps4ParentalLevel: 1 238 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 239 | ps4Category: 0 240 | ps4MasterVersion: 01.00 241 | ps4AppVersion: 01.00 242 | ps4AppType: 0 243 | ps4ParamSfxPath: 244 | ps4VideoOutPixelFormat: 0 245 | ps4VideoOutResolution: 4 246 | ps4PronunciationXMLPath: 247 | ps4PronunciationSIGPath: 248 | ps4BackgroundImagePath: 249 | ps4StartupImagePath: 250 | ps4SaveDataImagePath: 251 | ps4SdkOverride: 252 | ps4BGMPath: 253 | ps4ShareFilePath: 254 | ps4ShareOverlayImagePath: 255 | ps4PrivacyGuardImagePath: 256 | ps4NPtitleDatPath: 257 | ps4RemotePlayKeyAssignment: -1 258 | ps4RemotePlayKeyMappingDir: 259 | ps4PlayTogetherPlayerCount: 0 260 | ps4EnterButtonAssignment: 1 261 | ps4ApplicationParam1: 0 262 | ps4ApplicationParam2: 0 263 | ps4ApplicationParam3: 0 264 | ps4ApplicationParam4: 0 265 | ps4DownloadDataSize: 0 266 | ps4GarlicHeapSize: 2048 267 | ps4Passcode: Q9wQj99nsQzldVI5ZuGXbEWRK5RhRXdC 268 | ps4UseDebugIl2cppLibs: 0 269 | ps4pnSessions: 1 270 | ps4pnPresence: 1 271 | ps4pnFriends: 1 272 | ps4pnGameCustomData: 1 273 | playerPrefsSupport: 0 274 | ps4ReprojectionSupport: 0 275 | ps4UseAudio3dBackend: 0 276 | ps4SocialScreenEnabled: 0 277 | ps4Audio3dVirtualSpeakerCount: 14 278 | ps4attribCpuUsage: 0 279 | ps4PatchPkgPath: 280 | ps4PatchLatestPkgPath: 281 | ps4PatchChangeinfoPath: 282 | ps4PatchDayOne: 0 283 | ps4attribUserManagement: 0 284 | ps4attribMoveSupport: 0 285 | ps4attrib3DSupport: 0 286 | ps4attribShareSupport: 0 287 | ps4attribExclusiveVR: 0 288 | ps4disableAutoHideSplash: 0 289 | ps4IncludedModules: [] 290 | monoEnv: 291 | psp2Splashimage: {fileID: 0} 292 | psp2NPTrophyPackPath: 293 | psp2NPSupportGBMorGJP: 0 294 | psp2NPAgeRating: 12 295 | psp2NPTitleDatPath: 296 | psp2NPCommsID: 297 | psp2NPCommunicationsID: 298 | psp2NPCommsPassphrase: 299 | psp2NPCommsSig: 300 | psp2ParamSfxPath: 301 | psp2ManualPath: 302 | psp2LiveAreaGatePath: 303 | psp2LiveAreaBackroundPath: 304 | psp2LiveAreaPath: 305 | psp2LiveAreaTrialPath: 306 | psp2PatchChangeInfoPath: 307 | psp2PatchOriginalPackage: 308 | psp2PackagePassword: dG5nG5azdNMK66MuCV6GXi5xr84P2R39 309 | psp2KeystoneFile: 310 | psp2MemoryExpansionMode: 0 311 | psp2DRMType: 0 312 | psp2StorageType: 0 313 | psp2MediaCapacity: 0 314 | psp2DLCConfigPath: 315 | psp2ThumbnailPath: 316 | psp2BackgroundPath: 317 | psp2SoundPath: 318 | psp2TrophyCommId: 319 | psp2TrophyPackagePath: 320 | psp2PackagedResourcesPath: 321 | psp2SaveDataQuota: 10240 322 | psp2ParentalLevel: 1 323 | psp2ShortTitle: Not Set 324 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 325 | psp2Category: 0 326 | psp2MasterVersion: 01.00 327 | psp2AppVersion: 01.00 328 | psp2TVBootMode: 0 329 | psp2EnterButtonAssignment: 2 330 | psp2TVDisableEmu: 0 331 | psp2AllowTwitterDialog: 1 332 | psp2Upgradable: 0 333 | psp2HealthWarning: 0 334 | psp2UseLibLocation: 0 335 | psp2InfoBarOnStartup: 0 336 | psp2InfoBarColor: 0 337 | psp2UseDebugIl2cppLibs: 0 338 | psmSplashimage: {fileID: 0} 339 | spritePackerPolicy: 340 | scriptingDefineSymbols: {} 341 | metroPackageName: IdrisUnity 342 | metroPackageVersion: 343 | metroCertificatePath: 344 | metroCertificatePassword: 345 | metroCertificateSubject: 346 | metroCertificateIssuer: 347 | metroCertificateNotAfter: 0000000000000000 348 | metroApplicationDescription: IdrisUnity 349 | wsaImages: {} 350 | metroTileShortName: 351 | metroCommandLineArgsFile: 352 | metroTileShowName: 0 353 | metroMediumTileShowName: 0 354 | metroLargeTileShowName: 0 355 | metroWideTileShowName: 0 356 | metroDefaultTileSize: 1 357 | metroTileForegroundText: 1 358 | metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 359 | metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 360 | metroSplashScreenUseBackgroundColor: 0 361 | platformCapabilities: {} 362 | metroFTAName: 363 | metroFTAFileTypes: [] 364 | metroProtocolName: 365 | metroCompilationOverrides: 1 366 | tizenProductDescription: 367 | tizenProductURL: 368 | tizenSigningProfileName: 369 | tizenGPSPermissions: 0 370 | tizenMicrophonePermissions: 0 371 | tizenMinOSVersion: 0 372 | n3dsUseExtSaveData: 0 373 | n3dsCompressStaticMem: 1 374 | n3dsExtSaveDataNumber: 0x12345 375 | n3dsStackSize: 131072 376 | n3dsTargetPlatform: 2 377 | n3dsRegion: 7 378 | n3dsMediaSize: 0 379 | n3dsLogoStyle: 3 380 | n3dsTitle: GameName 381 | n3dsProductCode: 382 | n3dsApplicationId: 0xFF3FF 383 | stvDeviceAddress: 384 | stvProductDescription: 385 | stvProductAuthor: 386 | stvProductAuthorEmail: 387 | stvProductLink: 388 | stvProductCategory: 0 389 | XboxOneProductId: 390 | XboxOneUpdateKey: 391 | XboxOneSandboxId: 392 | XboxOneContentId: 393 | XboxOneTitleId: 394 | XboxOneSCId: 395 | XboxOneGameOsOverridePath: 396 | XboxOnePackagingOverridePath: 397 | XboxOneAppManifestOverridePath: 398 | XboxOnePackageEncryption: 0 399 | XboxOnePackageUpdateGranularity: 2 400 | XboxOneDescription: 401 | XboxOneIsContentPackage: 0 402 | XboxOneEnableGPUVariability: 0 403 | XboxOneSockets: {} 404 | XboxOneSplashScreen: {fileID: 0} 405 | XboxOneAllowedProductIds: [] 406 | XboxOnePersistentLocalStorageSize: 0 407 | intPropertyNames: 408 | - Standalone::ScriptingBackend 409 | - WebGL::ScriptingBackend 410 | - WebGL::audioCompressionFormat 411 | - WebGL::exceptionSupport 412 | - WebGL::memorySize 413 | - WebPlayer::ScriptingBackend 414 | - iOS::Architecture 415 | - iOS::ScriptingBackend 416 | Standalone::ScriptingBackend: 0 417 | WebGL::ScriptingBackend: 1 418 | WebGL::audioCompressionFormat: 4 419 | WebGL::exceptionSupport: 1 420 | WebGL::memorySize: 256 421 | WebPlayer::ScriptingBackend: 0 422 | iOS::Architecture: 2 423 | iOS::ScriptingBackend: 1 424 | boolPropertyNames: 425 | - Android::VR::enable 426 | - Metro::VR::enable 427 | - N3DS::VR::enable 428 | - PS3::VR::enable 429 | - PS4::VR::enable 430 | - PSM::VR::enable 431 | - PSP2::VR::enable 432 | - SamsungTV::VR::enable 433 | - Standalone::VR::enable 434 | - Tizen::VR::enable 435 | - WebGL::VR::enable 436 | - WebGL::analyzeBuildSize 437 | - WebGL::dataCaching 438 | - WebGL::useEmbeddedResources 439 | - WebPlayer::VR::enable 440 | - WiiU::VR::enable 441 | - Xbox360::VR::enable 442 | - XboxOne::VR::enable 443 | - XboxOne::enus 444 | - iOS::VR::enable 445 | - tvOS::VR::enable 446 | Android::VR::enable: 0 447 | Metro::VR::enable: 0 448 | N3DS::VR::enable: 0 449 | PS3::VR::enable: 0 450 | PS4::VR::enable: 0 451 | PSM::VR::enable: 0 452 | PSP2::VR::enable: 0 453 | SamsungTV::VR::enable: 0 454 | Standalone::VR::enable: 0 455 | Tizen::VR::enable: 0 456 | WebGL::VR::enable: 0 457 | WebGL::analyzeBuildSize: 0 458 | WebGL::dataCaching: 0 459 | WebGL::useEmbeddedResources: 0 460 | WebPlayer::VR::enable: 0 461 | WiiU::VR::enable: 0 462 | Xbox360::VR::enable: 0 463 | XboxOne::VR::enable: 0 464 | XboxOne::enus: 1 465 | iOS::VR::enable: 0 466 | tvOS::VR::enable: 0 467 | stringPropertyNames: 468 | - Analytics_ServiceEnabled::Analytics_ServiceEnabled 469 | - Build_ServiceEnabled::Build_ServiceEnabled 470 | - Collab_ServiceEnabled::Collab_ServiceEnabled 471 | - ErrorHub_ServiceEnabled::ErrorHub_ServiceEnabled 472 | - Game_Performance_ServiceEnabled::Game_Performance_ServiceEnabled 473 | - Hub_ServiceEnabled::Hub_ServiceEnabled 474 | - Purchasing_ServiceEnabled::Purchasing_ServiceEnabled 475 | - UNet_ServiceEnabled::UNet_ServiceEnabled 476 | - Unity_Ads_ServiceEnabled::Unity_Ads_ServiceEnabled 477 | - WebGL::emscriptenArgs 478 | - WebGL::template 479 | - additionalIl2CppArgs::additionalIl2CppArgs 480 | Analytics_ServiceEnabled::Analytics_ServiceEnabled: False 481 | Build_ServiceEnabled::Build_ServiceEnabled: False 482 | Collab_ServiceEnabled::Collab_ServiceEnabled: False 483 | ErrorHub_ServiceEnabled::ErrorHub_ServiceEnabled: False 484 | Game_Performance_ServiceEnabled::Game_Performance_ServiceEnabled: False 485 | Hub_ServiceEnabled::Hub_ServiceEnabled: False 486 | Purchasing_ServiceEnabled::Purchasing_ServiceEnabled: False 487 | UNet_ServiceEnabled::UNet_ServiceEnabled: False 488 | Unity_Ads_ServiceEnabled::Unity_Ads_ServiceEnabled: False 489 | WebGL::emscriptenArgs: 490 | WebGL::template: APPLICATION:Default 491 | additionalIl2CppArgs::additionalIl2CppArgs: 492 | vectorPropertyNames: 493 | - Android::VR::enabledDevices 494 | - Metro::VR::enabledDevices 495 | - N3DS::VR::enabledDevices 496 | - PS3::VR::enabledDevices 497 | - PS4::VR::enabledDevices 498 | - PSM::VR::enabledDevices 499 | - PSP2::VR::enabledDevices 500 | - SamsungTV::VR::enabledDevices 501 | - Standalone::VR::enabledDevices 502 | - Tizen::VR::enabledDevices 503 | - WebGL::VR::enabledDevices 504 | - WebPlayer::VR::enabledDevices 505 | - WiiU::VR::enabledDevices 506 | - Xbox360::VR::enabledDevices 507 | - XboxOne::VR::enabledDevices 508 | - iOS::VR::enabledDevices 509 | - tvOS::VR::enabledDevices 510 | Android::VR::enabledDevices: 511 | - Oculus 512 | Metro::VR::enabledDevices: [] 513 | N3DS::VR::enabledDevices: [] 514 | PS3::VR::enabledDevices: [] 515 | PS4::VR::enabledDevices: 516 | - PlayStationVR 517 | PSM::VR::enabledDevices: [] 518 | PSP2::VR::enabledDevices: [] 519 | SamsungTV::VR::enabledDevices: [] 520 | Standalone::VR::enabledDevices: 521 | - Oculus 522 | Tizen::VR::enabledDevices: [] 523 | WebGL::VR::enabledDevices: [] 524 | WebPlayer::VR::enabledDevices: [] 525 | WiiU::VR::enabledDevices: [] 526 | Xbox360::VR::enabledDevices: [] 527 | XboxOne::VR::enabledDevices: [] 528 | iOS::VR::enabledDevices: [] 529 | tvOS::VR::enabledDevices: [] 530 | cloudProjectId: 531 | projectName: 532 | organizationId: 533 | cloudEnabled: 0 534 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.4.1f1 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /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: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Fastest 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowCascade2Split: .333333343 18 | shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} 19 | blendWeights: 1 20 | textureQuality: 1 21 | anisotropicTextures: 0 22 | antiAliasing: 0 23 | softParticles: 0 24 | softVegetation: 0 25 | realtimeReflectionProbes: 0 26 | billboardsFaceCameraPosition: 0 27 | vSyncCount: 0 28 | lodBias: .300000012 29 | maximumLODLevel: 0 30 | particleRaycastBudget: 4 31 | excludedTargetPlatforms: [] 32 | - serializedVersion: 2 33 | name: Fast 34 | pixelLightCount: 0 35 | shadows: 0 36 | shadowResolution: 0 37 | shadowProjection: 1 38 | shadowCascades: 1 39 | shadowDistance: 20 40 | shadowCascade2Split: .333333343 41 | shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} 42 | blendWeights: 2 43 | textureQuality: 0 44 | anisotropicTextures: 0 45 | antiAliasing: 0 46 | softParticles: 0 47 | softVegetation: 0 48 | realtimeReflectionProbes: 0 49 | billboardsFaceCameraPosition: 0 50 | vSyncCount: 0 51 | lodBias: .400000006 52 | maximumLODLevel: 0 53 | particleRaycastBudget: 16 54 | excludedTargetPlatforms: [] 55 | - serializedVersion: 2 56 | name: Simple 57 | pixelLightCount: 1 58 | shadows: 1 59 | shadowResolution: 0 60 | shadowProjection: 1 61 | shadowCascades: 1 62 | shadowDistance: 20 63 | shadowCascade2Split: .333333343 64 | shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} 65 | blendWeights: 2 66 | textureQuality: 0 67 | anisotropicTextures: 1 68 | antiAliasing: 0 69 | softParticles: 0 70 | softVegetation: 0 71 | realtimeReflectionProbes: 0 72 | billboardsFaceCameraPosition: 0 73 | vSyncCount: 0 74 | lodBias: .699999988 75 | maximumLODLevel: 0 76 | particleRaycastBudget: 64 77 | excludedTargetPlatforms: [] 78 | - serializedVersion: 2 79 | name: Good 80 | pixelLightCount: 2 81 | shadows: 2 82 | shadowResolution: 1 83 | shadowProjection: 1 84 | shadowCascades: 2 85 | shadowDistance: 40 86 | shadowCascade2Split: .333333343 87 | shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} 88 | blendWeights: 2 89 | textureQuality: 0 90 | anisotropicTextures: 1 91 | antiAliasing: 0 92 | softParticles: 0 93 | softVegetation: 1 94 | realtimeReflectionProbes: 1 95 | billboardsFaceCameraPosition: 1 96 | vSyncCount: 1 97 | lodBias: 1 98 | maximumLODLevel: 0 99 | particleRaycastBudget: 256 100 | excludedTargetPlatforms: [] 101 | - serializedVersion: 2 102 | name: Beautiful 103 | pixelLightCount: 3 104 | shadows: 2 105 | shadowResolution: 2 106 | shadowProjection: 1 107 | shadowCascades: 2 108 | shadowDistance: 70 109 | shadowCascade2Split: .333333343 110 | shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} 111 | blendWeights: 4 112 | textureQuality: 0 113 | anisotropicTextures: 2 114 | antiAliasing: 2 115 | softParticles: 1 116 | softVegetation: 1 117 | realtimeReflectionProbes: 1 118 | billboardsFaceCameraPosition: 1 119 | vSyncCount: 1 120 | lodBias: 1.5 121 | maximumLODLevel: 0 122 | particleRaycastBudget: 1024 123 | excludedTargetPlatforms: [] 124 | - serializedVersion: 2 125 | name: Fantastic 126 | pixelLightCount: 4 127 | shadows: 2 128 | shadowResolution: 2 129 | shadowProjection: 1 130 | shadowCascades: 4 131 | shadowDistance: 150 132 | shadowCascade2Split: .333333343 133 | shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669} 134 | blendWeights: 4 135 | textureQuality: 0 136 | anisotropicTextures: 2 137 | antiAliasing: 2 138 | softParticles: 1 139 | softVegetation: 1 140 | realtimeReflectionProbes: 1 141 | billboardsFaceCameraPosition: 1 142 | vSyncCount: 1 143 | lodBias: 2 144 | maximumLODLevel: 0 145 | particleRaycastBudget: 4096 146 | excludedTargetPlatforms: [] 147 | m_PerPlatformDefaultQuality: 148 | Android: 2 149 | BlackBerry: 2 150 | GLES Emulation: 5 151 | PS3: 5 152 | PS4: 5 153 | PSM: 5 154 | PSP2: 5 155 | Samsung TV: 2 156 | Standalone: 5 157 | Tizen: 2 158 | WP8: 5 159 | Web: 5 160 | WebGL: 3 161 | Windows Store Apps: 5 162 | XBOX360: 5 163 | XboxOne: 5 164 | iPhone: 2 165 | -------------------------------------------------------------------------------- /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: .0199999996 7 | Maximum Allowed Timestep: .333333343 8 | m_TimeScale: 1 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Take 1](./IdrisUnityIntegrationTake1.png)](https://vimeo.com/139207756 "Idris / Unity Integration Take 1 - Click to Watch!") 2 | --------------------------------------------------------------------------------