├── .gitignore ├── Assets ├── Main.mixer ├── Main.mixer.meta ├── Plugins.meta ├── Plugins │ ├── RetroUnity.meta │ └── RetroUnity │ │ ├── Examples.meta │ │ ├── Examples │ │ ├── External.meta │ │ ├── External │ │ │ ├── Flatscreen TV.meta │ │ │ ├── Flatscreen TV │ │ │ │ ├── FlatScreenTV.fbx │ │ │ │ ├── FlatScreenTV.fbx.meta │ │ │ │ ├── FlatScreen_NRM.psd │ │ │ │ ├── FlatScreen_NRM.psd.meta │ │ │ │ ├── FlatScreen_TEX.psd │ │ │ │ ├── FlatScreen_TEX.psd.meta │ │ │ │ ├── Materials.meta │ │ │ │ └── Materials │ │ │ │ │ ├── FlatScreen_TEX.mat │ │ │ │ │ ├── FlatScreen_TEX.mat.meta │ │ │ │ │ ├── TV_TEX.mat │ │ │ │ │ └── TV_TEX.mat.meta │ │ │ ├── FreeFurnitureSet.meta │ │ │ └── FreeFurnitureSet │ │ │ │ ├── Materials.meta │ │ │ │ ├── Materials │ │ │ │ ├── metal.mat │ │ │ │ ├── metal.mat.meta │ │ │ │ ├── wood.mat │ │ │ │ └── wood.mat.meta │ │ │ │ ├── Models.meta │ │ │ │ ├── Models │ │ │ │ ├── cabinet.FBX │ │ │ │ ├── cabinet.FBX.meta │ │ │ │ ├── chair.FBX │ │ │ │ ├── chair.FBX.meta │ │ │ │ ├── desk.FBX │ │ │ │ ├── desk.FBX.meta │ │ │ │ ├── table.FBX │ │ │ │ └── table.FBX.meta │ │ │ │ ├── Prefabs.meta │ │ │ │ ├── Prefabs │ │ │ │ ├── cabinet.prefab │ │ │ │ ├── cabinet.prefab.meta │ │ │ │ ├── chair.prefab │ │ │ │ ├── chair.prefab.meta │ │ │ │ ├── desk.prefab │ │ │ │ ├── desk.prefab.meta │ │ │ │ ├── table.prefab │ │ │ │ └── table.prefab.meta │ │ │ │ ├── Textures.meta │ │ │ │ ├── Textures │ │ │ │ ├── wood.png │ │ │ │ └── wood.png.meta │ │ │ │ ├── scenes.meta │ │ │ │ └── scenes │ │ │ │ ├── demo.meta │ │ │ │ ├── demo.unity │ │ │ │ ├── demo.unity.meta │ │ │ │ └── demo │ │ │ │ ├── LightmapFar-0.exr │ │ │ │ └── LightmapFar-0.exr.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── Display.mat │ │ │ └── Display.mat.meta │ │ ├── Scenes.meta │ │ ├── Scenes │ │ │ ├── Main.unity │ │ │ └── Main.unity.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── SmoothMouseLook.cs │ │ │ └── SmoothMouseLook.cs.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ ├── CoreDownloader.cs │ │ ├── GameManager.cs │ │ ├── GameManager.cs.meta │ │ ├── LibretroWrapper.cs │ │ ├── LibretroWrapper.cs.meta │ │ ├── Speaker.cs │ │ ├── Speaker.cs.meta │ │ ├── Utility.meta │ │ └── Utility │ │ ├── AndroidDLLHandler.cs │ │ ├── AndroidDLLHandler.cs.meta │ │ ├── IDLLHandler.cs │ │ ├── IDLLHandler.cs.meta │ │ ├── LinuxDLLHandler.cs │ │ ├── OSXDLLHandler.cs │ │ ├── WindowsDLLHandler.cs │ │ └── WindowsDLLHandler.cs.meta ├── StreamingAssets.meta ├── StreamingAssets │ ├── libwinpthread-1.dll │ └── libwinpthread-1.dll.org ├── mcs.rsp ├── mcs.rsp.meta ├── smcs.rsp └── smcs.rsp.meta ├── LICENSE ├── Packages └── manifest.json ├── 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 └── VFXManager.asset ├── README.md ├── RetroUnity.CSharp.Plugins.csproj.DotSettings ├── RetroUnity.CSharp.csproj.DotSettings └── RetroUnity.Plugins.csproj.DotSettings /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Autogenerated VS/MD/Consulo solution and project files 9 | ExportedObj/ 10 | .consulo/ 11 | *.csproj 12 | *.unityproj 13 | RetroUnity.sln 14 | *.suo 15 | *.tmp 16 | *.user 17 | *.userprefs 18 | *.pidb 19 | *.booproj 20 | *.svd 21 | 22 | 23 | # Unity3D generated meta files 24 | *.pidb.meta 25 | 26 | # Unity3D Generated File On Crash Reports 27 | sysinfo.txt 28 | 29 | # Builds 30 | *.apk 31 | *.unitypackage 32 | 33 | ## Ignore Visual Studio temporary files, build results, and 34 | ## files generated by popular Visual Studio add-ons. 35 | ## 36 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 37 | 38 | # User-specific files 39 | *.suo 40 | *.user 41 | *.userosscache 42 | *.sln.docstates 43 | *.vcxproj.filters 44 | 45 | # User-specific files (MonoDevelop/Xamarin Studio) 46 | *.userprefs 47 | 48 | # Build results 49 | [Dd]ebug/ 50 | [Dd]ebugPublic/ 51 | [Rr]elease/ 52 | [Rr]eleases/ 53 | x64/ 54 | x86/ 55 | bld/ 56 | [Bb]in/ 57 | [Oo]bj/ 58 | [Ll]og/ 59 | 60 | # Visual Studio 2015 cache/options directory 61 | .vs/ 62 | # Uncomment if you have tasks that create the project's static files in wwwroot 63 | #wwwroot/ 64 | 65 | # MSTest test Results 66 | [Tt]est[Rr]esult*/ 67 | [Bb]uild[Ll]og.* 68 | 69 | # NUNIT 70 | *.VisualState.xml 71 | TestResult.xml 72 | 73 | # Build Results of an ATL Project 74 | [Dd]ebugPS/ 75 | [Rr]eleasePS/ 76 | dlldata.c 77 | 78 | # .NET Core 79 | project.lock.json 80 | project.fragment.lock.json 81 | artifacts/ 82 | **/Properties/launchSettings.json 83 | 84 | *_i.c 85 | *_p.c 86 | *_i.h 87 | *.ilk 88 | *.meta 89 | *.obj 90 | *.pch 91 | *.pdb 92 | *.pgc 93 | *.pgd 94 | *.rsp 95 | *.sbr 96 | *.tlb 97 | *.tli 98 | *.tlh 99 | *.tmp 100 | *.tmp_proj 101 | *.log 102 | *.vspscc 103 | *.vssscc 104 | .builds 105 | *.pidb 106 | *.svclog 107 | *.scc 108 | 109 | # Chutzpah Test files 110 | _Chutzpah* 111 | 112 | # Visual C++ cache files 113 | ipch/ 114 | *.aps 115 | *.ncb 116 | *.opendb 117 | *.opensdf 118 | *.sdf 119 | *.cachefile 120 | *.VC.db 121 | *.VC.VC.opendb 122 | 123 | # Visual Studio profiler 124 | *.psess 125 | *.vsp 126 | *.vspx 127 | *.sap 128 | 129 | # TFS 2012 Local Workspace 130 | $tf/ 131 | 132 | # Guidance Automation Toolkit 133 | *.gpState 134 | 135 | # ReSharper is a .NET coding add-in 136 | _ReSharper*/ 137 | *.[Rr]e[Ss]harper 138 | *.DotSettings.user 139 | 140 | # JustCode is a .NET coding add-in 141 | .JustCode 142 | 143 | # TeamCity is a build add-in 144 | _TeamCity* 145 | 146 | # DotCover is a Code Coverage Tool 147 | *.dotCover 148 | 149 | # Visual Studio code coverage results 150 | *.coverage 151 | *.coveragexml 152 | 153 | # NCrunch 154 | _NCrunch_* 155 | .*crunch*.local.xml 156 | nCrunchTemp_* 157 | 158 | # MightyMoose 159 | *.mm.* 160 | AutoTest.Net/ 161 | 162 | # Web workbench (sass) 163 | .sass-cache/ 164 | 165 | # Installshield output folder 166 | [Ee]xpress/ 167 | 168 | # DocProject is a documentation generator add-in 169 | DocProject/buildhelp/ 170 | DocProject/Help/*.HxT 171 | DocProject/Help/*.HxC 172 | DocProject/Help/*.hhc 173 | DocProject/Help/*.hhk 174 | DocProject/Help/*.hhp 175 | DocProject/Help/Html2 176 | DocProject/Help/html 177 | 178 | # Click-Once directory 179 | publish/ 180 | 181 | # Publish Web Output 182 | *.[Pp]ublish.xml 183 | *.azurePubxml 184 | # TODO: Comment the next line if you want to checkin your web deploy settings 185 | # but database connection strings (with potential passwords) will be unencrypted 186 | *.pubxml 187 | *.publishproj 188 | 189 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 190 | # checkin your Azure Web App publish settings, but sensitive information contained 191 | # in these scripts will be unencrypted 192 | PublishScripts/ 193 | 194 | # NuGet Packages 195 | *.nupkg 196 | # The packages folder can be ignored because of Package Restore 197 | **/packages/* 198 | # except build/, which is used as an MSBuild target. 199 | !**/packages/build/ 200 | # Uncomment if necessary however generally it will be regenerated when needed 201 | #!**/packages/repositories.config 202 | # NuGet v3's project.json files produces more ignoreable files 203 | *.nuget.props 204 | *.nuget.targets 205 | 206 | # Microsoft Azure Build Output 207 | csx/ 208 | *.build.csdef 209 | 210 | # Microsoft Azure Emulator 211 | ecf/ 212 | rcf/ 213 | 214 | # Windows Store app package directories and files 215 | AppPackages/ 216 | BundleArtifacts/ 217 | Package.StoreAssociation.xml 218 | _pkginfo.txt 219 | 220 | # Visual Studio cache files 221 | # files ending in .cache can be ignored 222 | *.[Cc]ache 223 | # but keep track of directories ending in .cache 224 | !*.[Cc]ache/ 225 | 226 | # Others 227 | ClientBin/ 228 | ~$* 229 | *~ 230 | *.dbmdl 231 | *.dbproj.schemaview 232 | *.jfm 233 | *.pfx 234 | *.publishsettings 235 | node_modules/ 236 | orleans.codegen.cs 237 | 238 | # Since there are multiple workflows, uncomment next line to ignore bower_components 239 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 240 | #bower_components/ 241 | 242 | # RIA/Silverlight projects 243 | Generated_Code/ 244 | 245 | # Backup & report files from converting an old project file 246 | # to a newer Visual Studio version. Backup files are not needed, 247 | # because we have git ;-) 248 | _UpgradeReport_Files/ 249 | Backup*/ 250 | UpgradeLog*.XML 251 | UpgradeLog*.htm 252 | 253 | # SQL Server files 254 | *.mdf 255 | *.ldf 256 | 257 | # Business Intelligence projects 258 | *.rdl.data 259 | *.bim.layout 260 | *.bim_*.settings 261 | 262 | # Microsoft Fakes 263 | FakesAssemblies/ 264 | 265 | # GhostDoc plugin setting file 266 | *.GhostDoc.xml 267 | 268 | # Node.js Tools for Visual Studio 269 | .ntvs_analysis.dat 270 | 271 | # Visual Studio 6 build log 272 | *.plg 273 | 274 | # Visual Studio 6 workspace options file 275 | *.opt 276 | 277 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 278 | *.vbw 279 | 280 | # Visual Studio LightSwitch build output 281 | **/*.HTMLClient/GeneratedArtifacts 282 | **/*.DesktopClient/GeneratedArtifacts 283 | **/*.DesktopClient/ModelManifest.xml 284 | **/*.Server/GeneratedArtifacts 285 | **/*.Server/ModelManifest.xml 286 | _Pvt_Extensions 287 | 288 | # Paket dependency manager 289 | .paket/paket.exe 290 | paket-files/ 291 | 292 | # FAKE - F# Make 293 | .fake/ 294 | 295 | # JetBrains Rider 296 | .idea/ 297 | *.sln.iml 298 | 299 | # CodeRush 300 | .cr/ 301 | 302 | # Python Tools for Visual Studio (PTVS) 303 | __pycache__/ 304 | *.pyc 305 | 306 | # Cake - Uncomment if you are using it 307 | # tools/ 308 | 309 | #RetroUnity 310 | *.gba 311 | *.gba.meta 312 | *.srm 313 | *.srm.meta 314 | *.sfc 315 | *.sfc.meta 316 | # Android 317 | Assets/Plugins/*_android.so 318 | # iOS 319 | Assets/Plugins/*_ios.dylib 320 | # Windows 321 | Assets/StreamingAssets/*.dll 322 | # Mac 323 | Assets/StreamingAssets/*.dylib 324 | # Linux 325 | Assets/StreamingAssets/*.so 326 | -------------------------------------------------------------------------------- /Assets/Main.mixer: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!241 &24100000 4 | AudioMixerController: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Main 9 | m_OutputGroup: {fileID: 0} 10 | m_MasterGroup: {fileID: 24300001} 11 | m_Snapshots: 12 | - {fileID: 24500003} 13 | m_StartSnapshot: {fileID: 24500003} 14 | m_SuspendThreshold: -80 15 | m_EnableSuspend: 1 16 | m_UpdateMode: 1 17 | m_ExposedParameters: [] 18 | m_AudioMixerGroupViews: 19 | - guids: 20 | - d1470eaf2b1f68041a1a6128cf0ee23d 21 | name: View 22 | m_CurrentViewIndex: 0 23 | m_TargetSnapshot: {fileID: 24500003} 24 | --- !u!243 &24300001 25 | AudioMixerGroupController: 26 | m_ObjectHideFlags: 0 27 | m_PrefabParentObject: {fileID: 0} 28 | m_PrefabInternal: {fileID: 0} 29 | m_Name: Master 30 | m_AudioMixer: {fileID: 24100000} 31 | m_GroupID: d1470eaf2b1f68041a1a6128cf0ee23d 32 | m_Children: [] 33 | m_Volume: 018efea540a4daa4197ce436ab76a095 34 | m_Pitch: 52bf14f9d3d537145a65ec6c6f9169b2 35 | m_Effects: 36 | - {fileID: 24400002} 37 | m_UserColorIndex: 0 38 | m_Mute: 0 39 | m_Solo: 0 40 | m_BypassEffects: 0 41 | --- !u!244 &24400002 42 | AudioMixerEffectController: 43 | m_ObjectHideFlags: 3 44 | m_PrefabParentObject: {fileID: 0} 45 | m_PrefabInternal: {fileID: 0} 46 | m_Name: 47 | m_EffectID: 1e9f466c367c40e4dab627c14801a2c1 48 | m_EffectName: Attenuation 49 | m_MixLevel: 8d708b0dfe08b234eba45f60fe951486 50 | m_Parameters: [] 51 | m_SendTarget: {fileID: 0} 52 | m_EnableWetMix: 0 53 | m_Bypass: 0 54 | --- !u!245 &24500003 55 | AudioMixerSnapshotController: 56 | m_ObjectHideFlags: 0 57 | m_PrefabParentObject: {fileID: 0} 58 | m_PrefabInternal: {fileID: 0} 59 | m_Name: Snapshot 60 | m_AudioMixer: {fileID: 24100000} 61 | m_SnapshotID: 917e1e109cdcab04d9483c377b20e842 62 | m_FloatValues: 63 | 018efea540a4daa4197ce436ab76a095: 0 64 | f42244c8949561943abdc366316d7bb8: 100 65 | 52bf14f9d3d537145a65ec6c6f9169b2: 1 66 | ecfa616bc6818e24baa05a65fc469eea: 10000 67 | bd5de03ff00086545bd43379010494d0: 1 68 | m_TransitionOverrides: {} 69 | -------------------------------------------------------------------------------- /Assets/Main.mixer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45a3f48bc5351ba41a9f653bcb33f562 3 | timeCreated: 1455229386 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69cda7e184d20504fa669e94522d9590 3 | folderAsset: yes 4 | timeCreated: 1481646208 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b20ecd4b69fb5f479ff3b22b0dfcb62 3 | folderAsset: yes 4 | timeCreated: 1481645931 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d02d33fe29f9ab4380d1ba08374d204 3 | folderAsset: yes 4 | timeCreated: 1481645963 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbd503b4d1713f64b8cceee876d651c9 3 | folderAsset: yes 4 | timeCreated: 1455228272 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0af5e4e029c23934fa5dfa5884d4f700 3 | folderAsset: yes 4 | timeCreated: 1455228257 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreenTV.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreenTV.fbx -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreenTV.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad6611d95a9ac7d45bc4da137220780c 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: Television 11 | 9500000: //RootNode 12 | materials: 13 | importMaterials: 1 14 | materialName: 0 15 | materialSearch: 1 16 | animations: 17 | legacyGenerateAnimations: 4 18 | bakeSimulation: 0 19 | resampleRotations: 1 20 | optimizeGameObjects: 0 21 | motionNodeName: 22 | animationImportErrors: 23 | animationImportWarnings: 24 | animationRetargetingWarnings: 25 | animationDoRetargetingWarnings: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | clipAnimations: [] 33 | isReadable: 1 34 | meshes: 35 | lODScreenPercentages: [] 36 | globalScale: 1 37 | meshCompression: 0 38 | addColliders: 0 39 | importBlendShapes: 1 40 | swapUVChannels: 0 41 | generateSecondaryUV: 0 42 | useFileUnits: 1 43 | optimizeMeshForGPU: 1 44 | keepQuads: 0 45 | weldVertices: 1 46 | secondaryUVAngleDistortion: 8 47 | secondaryUVAreaDistortion: 15.000001 48 | secondaryUVHardAngle: 88 49 | secondaryUVPackMargin: 4 50 | useFileScale: 0 51 | tangentSpace: 52 | normalSmoothAngle: 60 53 | normalImportMode: 0 54 | tangentImportMode: 4 55 | importAnimation: 1 56 | copyAvatar: 0 57 | humanDescription: 58 | human: [] 59 | skeleton: [] 60 | armTwist: 0.5 61 | foreArmTwist: 0.5 62 | upperLegTwist: 0.5 63 | legTwist: 0.5 64 | armStretch: 0.05 65 | legStretch: 0.05 66 | feetSpacing: 0 67 | rootMotionBoneName: 68 | hasTranslationDoF: 0 69 | lastHumanDescriptionAvatarSource: {instanceID: 0} 70 | animationType: 2 71 | humanoidOversampling: 1 72 | additionalBone: 1 73 | userData: 74 | assetBundleName: 75 | assetBundleVariant: 76 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreen_NRM.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreen_NRM.psd -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreen_NRM.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d0d9ff565118c1419cf9aa98e683580 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 1 17 | externalNormalMap: 1 18 | heightScale: 0.0991 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 7 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: 1 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | outline: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreen_TEX.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreen_TEX.psd -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/FlatScreen_TEX.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 015257211c9e19746a89164b24d80072 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 7 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: -1 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | outline: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: feb0ee5cec1ef1541b431c4707234372 3 | folderAsset: yes 4 | timeCreated: 1455228257 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/Materials/FlatScreen_TEX.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: FlatScreen_TEX 10 | m_Shader: {fileID: 4, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: -1 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 2800000, guid: 015257211c9e19746a89164b24d80072, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | data: 26 | first: 27 | name: _BumpMap 28 | second: 29 | m_Texture: {fileID: 2800000, guid: 4d0d9ff565118c1419cf9aa98e683580, type: 3} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | data: 33 | first: 34 | name: _ParallaxMap 35 | second: 36 | m_Texture: {fileID: 0} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | m_Floats: 40 | data: 41 | first: 42 | name: _Shininess 43 | second: 0.08891806 44 | data: 45 | first: 46 | name: _Smoothness 47 | second: 0.3880597 48 | data: 49 | first: 50 | name: _Parallax 51 | second: 0.5 52 | data: 53 | first: 54 | name: _EdgeLength 55 | second: 17.02985 56 | m_Colors: 57 | data: 58 | first: 59 | name: _Color 60 | second: {r: 1, g: 1, b: 1, a: 1} 61 | data: 62 | first: 63 | name: _SpecColor 64 | second: {r: 0.5, g: 0.5, b: 0.5, a: 1} 65 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/Materials/FlatScreen_TEX.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40a3394db3145594c822bef60c53fbf4 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/Materials/TV_TEX.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: TV_TEX 10 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: -1 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: {} 26 | m_Colors: 27 | data: 28 | first: 29 | name: _Color 30 | second: {r: 1, g: 1, b: 1, a: 1} 31 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/Flatscreen TV/Materials/TV_TEX.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0cc69ea3f7774e45a5a93983c35eca6 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d835715bdda0a6949bedac970390f5f8 3 | folderAsset: yes 4 | timeCreated: 1455228755 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 89dbfef7c332d294b848ce2f071d5a96 3 | folderAsset: yes 4 | timeCreated: 1455228755 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Materials/metal.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: metal 10 | m_Shader: {fileID: 3, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: -1 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: 26 | data: 27 | first: 28 | name: _Shininess 29 | second: 0.47339645 30 | m_Colors: 31 | data: 32 | first: 33 | name: _Color 34 | second: {r: 0.7960785, g: 0.7960785, b: 0.7960785, a: 1} 35 | data: 36 | first: 37 | name: _SpecColor 38 | second: {r: 0.6985294, g: 0.6985294, b: 0.6985294, a: 1} 39 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Materials/metal.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03db3db6f68dc514e8f1ee0c95468740 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Materials/wood.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: wood 10 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: -1 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 2800000, guid: 892b11b7140154f4285bdbf75c36521a, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: {} 26 | m_Colors: 27 | data: 28 | first: 29 | name: _Color 30 | second: {r: 1, g: 1, b: 1, a: 1} 31 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Materials/wood.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 057d5430214e8414cafeee34639cae34 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3fcbf6fa2724034e88eb6210c370b26 3 | folderAsset: yes 4 | timeCreated: 1455228755 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/cabinet.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/cabinet.FBX -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/cabinet.FBX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fc4f1ae771c82248a8194f137ffd698 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 100002: door1 8 | 100004: door2 9 | 400000: //RootNode 10 | 400002: door1 11 | 400004: door2 12 | 2300000: //RootNode 13 | 2300002: door1 14 | 2300004: door2 15 | 3300000: //RootNode 16 | 3300002: door1 17 | 3300004: door2 18 | 4300000: cabinet 19 | 4300002: door2 20 | 4300004: door1 21 | 9500000: //RootNode 22 | materials: 23 | importMaterials: 1 24 | materialName: 0 25 | materialSearch: 1 26 | animations: 27 | legacyGenerateAnimations: 4 28 | bakeSimulation: 0 29 | resampleRotations: 1 30 | optimizeGameObjects: 0 31 | motionNodeName: 32 | animationImportErrors: 33 | animationImportWarnings: 34 | animationRetargetingWarnings: 35 | animationDoRetargetingWarnings: 0 36 | animationCompression: 1 37 | animationRotationError: 0.5 38 | animationPositionError: 0.5 39 | animationScaleError: 0.5 40 | animationWrapMode: 0 41 | extraExposedTransformPaths: [] 42 | clipAnimations: [] 43 | isReadable: 1 44 | meshes: 45 | lODScreenPercentages: [] 46 | globalScale: 0.01 47 | meshCompression: 0 48 | addColliders: 0 49 | importBlendShapes: 1 50 | swapUVChannels: 0 51 | generateSecondaryUV: 1 52 | useFileUnits: 1 53 | optimizeMeshForGPU: 1 54 | keepQuads: 0 55 | weldVertices: 1 56 | secondaryUVAngleDistortion: 8 57 | secondaryUVAreaDistortion: 15.000001 58 | secondaryUVHardAngle: 88 59 | secondaryUVPackMargin: 4 60 | useFileScale: 0 61 | tangentSpace: 62 | normalSmoothAngle: 60 63 | normalImportMode: 0 64 | tangentImportMode: 4 65 | importAnimation: 1 66 | copyAvatar: 0 67 | humanDescription: 68 | human: [] 69 | skeleton: [] 70 | armTwist: 0.5 71 | foreArmTwist: 0.5 72 | upperLegTwist: 0.5 73 | legTwist: 0.5 74 | armStretch: 0.05 75 | legStretch: 0.05 76 | feetSpacing: 0 77 | rootMotionBoneName: 78 | hasTranslationDoF: 0 79 | lastHumanDescriptionAvatarSource: {instanceID: 0} 80 | animationType: 0 81 | humanoidOversampling: 1 82 | additionalBone: 1 83 | userData: 84 | assetBundleName: 85 | assetBundleVariant: 86 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/chair.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/chair.FBX -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/chair.FBX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83a8ea92913740449a4ad6c6c19c7d92 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: chair 11 | 9500000: //RootNode 12 | materials: 13 | importMaterials: 1 14 | materialName: 0 15 | materialSearch: 1 16 | animations: 17 | legacyGenerateAnimations: 4 18 | bakeSimulation: 0 19 | resampleRotations: 1 20 | optimizeGameObjects: 0 21 | motionNodeName: 22 | animationImportErrors: 23 | animationImportWarnings: 24 | animationRetargetingWarnings: 25 | animationDoRetargetingWarnings: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | clipAnimations: [] 33 | isReadable: 1 34 | meshes: 35 | lODScreenPercentages: [] 36 | globalScale: 0.01 37 | meshCompression: 0 38 | addColliders: 0 39 | importBlendShapes: 1 40 | swapUVChannels: 0 41 | generateSecondaryUV: 1 42 | useFileUnits: 1 43 | optimizeMeshForGPU: 1 44 | keepQuads: 0 45 | weldVertices: 1 46 | secondaryUVAngleDistortion: 8 47 | secondaryUVAreaDistortion: 15.000001 48 | secondaryUVHardAngle: 88 49 | secondaryUVPackMargin: 4 50 | useFileScale: 0 51 | tangentSpace: 52 | normalSmoothAngle: 60 53 | normalImportMode: 0 54 | tangentImportMode: 4 55 | importAnimation: 1 56 | copyAvatar: 0 57 | humanDescription: 58 | human: [] 59 | skeleton: [] 60 | armTwist: 0.5 61 | foreArmTwist: 0.5 62 | upperLegTwist: 0.5 63 | legTwist: 0.5 64 | armStretch: 0.05 65 | legStretch: 0.05 66 | feetSpacing: 0 67 | rootMotionBoneName: 68 | hasTranslationDoF: 0 69 | lastHumanDescriptionAvatarSource: {instanceID: 0} 70 | animationType: 0 71 | humanoidOversampling: 1 72 | additionalBone: 1 73 | userData: 74 | assetBundleName: 75 | assetBundleVariant: 76 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/desk.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/desk.FBX -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/desk.FBX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecdfe9f0b8508af4d92737c656e36132 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 100002: Door1 8 | 100004: door1 9 | 100006: Door2 10 | 100008: door2 11 | 100010: handle1 12 | 100012: handle2 13 | 400000: //RootNode 14 | 400002: Door1 15 | 400004: door1 16 | 400006: Door2 17 | 400008: door2 18 | 400010: handle1 19 | 400012: handle2 20 | 2300000: //RootNode 21 | 2300002: door1 22 | 2300004: door2 23 | 2300006: handle1 24 | 2300008: handle2 25 | 3300000: //RootNode 26 | 3300002: door1 27 | 3300004: door2 28 | 3300006: handle1 29 | 3300008: handle2 30 | 4300000: desk 31 | 4300002: door1 32 | 4300004: handle1 33 | 4300006: door2 34 | 4300008: handle2 35 | 9500000: //RootNode 36 | materials: 37 | importMaterials: 1 38 | materialName: 0 39 | materialSearch: 1 40 | animations: 41 | legacyGenerateAnimations: 4 42 | bakeSimulation: 0 43 | resampleRotations: 1 44 | optimizeGameObjects: 0 45 | motionNodeName: 46 | animationImportErrors: 47 | animationImportWarnings: 48 | animationRetargetingWarnings: 49 | animationDoRetargetingWarnings: 0 50 | animationCompression: 1 51 | animationRotationError: 0.5 52 | animationPositionError: 0.5 53 | animationScaleError: 0.5 54 | animationWrapMode: 0 55 | extraExposedTransformPaths: [] 56 | clipAnimations: [] 57 | isReadable: 1 58 | meshes: 59 | lODScreenPercentages: [] 60 | globalScale: 0.01 61 | meshCompression: 0 62 | addColliders: 0 63 | importBlendShapes: 1 64 | swapUVChannels: 0 65 | generateSecondaryUV: 1 66 | useFileUnits: 1 67 | optimizeMeshForGPU: 1 68 | keepQuads: 0 69 | weldVertices: 1 70 | secondaryUVAngleDistortion: 8 71 | secondaryUVAreaDistortion: 15 72 | secondaryUVHardAngle: 45 73 | secondaryUVPackMargin: 6 74 | useFileScale: 0 75 | tangentSpace: 76 | normalSmoothAngle: 60 77 | normalImportMode: 0 78 | tangentImportMode: 4 79 | importAnimation: 1 80 | copyAvatar: 0 81 | humanDescription: 82 | human: [] 83 | skeleton: [] 84 | armTwist: 0.5 85 | foreArmTwist: 0.5 86 | upperLegTwist: 0.5 87 | legTwist: 0.5 88 | armStretch: 0.05 89 | legStretch: 0.05 90 | feetSpacing: 0 91 | rootMotionBoneName: 92 | hasTranslationDoF: 0 93 | lastHumanDescriptionAvatarSource: {instanceID: 0} 94 | animationType: 0 95 | humanoidOversampling: 1 96 | additionalBone: 1 97 | userData: 98 | assetBundleName: 99 | assetBundleVariant: 100 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/table.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/table.FBX -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Models/table.FBX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42b6afc3447f5c649ab3ac558c2e6520 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: table 11 | 9500000: //RootNode 12 | materials: 13 | importMaterials: 1 14 | materialName: 0 15 | materialSearch: 1 16 | animations: 17 | legacyGenerateAnimations: 4 18 | bakeSimulation: 0 19 | resampleRotations: 1 20 | optimizeGameObjects: 0 21 | motionNodeName: 22 | animationImportErrors: 23 | animationImportWarnings: 24 | animationRetargetingWarnings: 25 | animationDoRetargetingWarnings: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | clipAnimations: [] 33 | isReadable: 1 34 | meshes: 35 | lODScreenPercentages: [] 36 | globalScale: 0.01 37 | meshCompression: 0 38 | addColliders: 0 39 | importBlendShapes: 1 40 | swapUVChannels: 0 41 | generateSecondaryUV: 1 42 | useFileUnits: 1 43 | optimizeMeshForGPU: 1 44 | keepQuads: 0 45 | weldVertices: 1 46 | secondaryUVAngleDistortion: 8 47 | secondaryUVAreaDistortion: 15.000001 48 | secondaryUVHardAngle: 88 49 | secondaryUVPackMargin: 4 50 | useFileScale: 0 51 | tangentSpace: 52 | normalSmoothAngle: 60 53 | normalImportMode: 0 54 | tangentImportMode: 4 55 | importAnimation: 1 56 | copyAvatar: 0 57 | humanDescription: 58 | human: [] 59 | skeleton: [] 60 | armTwist: 0.5 61 | foreArmTwist: 0.5 62 | upperLegTwist: 0.5 63 | legTwist: 0.5 64 | armStretch: 0.05 65 | legStretch: 0.05 66 | feetSpacing: 0 67 | rootMotionBoneName: 68 | hasTranslationDoF: 0 69 | lastHumanDescriptionAvatarSource: {instanceID: 0} 70 | animationType: 0 71 | humanoidOversampling: 1 72 | additionalBone: 1 73 | userData: 74 | assetBundleName: 75 | assetBundleVariant: 76 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b75de33f776daa14ba498bbce63e9340 3 | folderAsset: yes 4 | timeCreated: 1455228755 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs/cabinet.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 33: {fileID: 3300000} 12 | - 23: {fileID: 2300000} 13 | m_Layer: 0 14 | m_Name: door2 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 1 20 | --- !u!1 &100002 21 | GameObject: 22 | m_ObjectHideFlags: 0 23 | m_PrefabParentObject: {fileID: 0} 24 | m_PrefabInternal: {fileID: 100100000} 25 | serializedVersion: 4 26 | m_Component: 27 | - 4: {fileID: 400002} 28 | - 33: {fileID: 3300002} 29 | - 23: {fileID: 2300002} 30 | m_Layer: 0 31 | m_Name: door1 32 | m_TagString: Untagged 33 | m_Icon: {fileID: 0} 34 | m_NavMeshLayer: 0 35 | m_StaticEditorFlags: 0 36 | m_IsActive: 1 37 | --- !u!1 &100004 38 | GameObject: 39 | m_ObjectHideFlags: 0 40 | m_PrefabParentObject: {fileID: 0} 41 | m_PrefabInternal: {fileID: 100100000} 42 | serializedVersion: 4 43 | m_Component: 44 | - 4: {fileID: 400004} 45 | - 33: {fileID: 3300004} 46 | - 23: {fileID: 2300004} 47 | m_Layer: 0 48 | m_Name: cabinet 49 | m_TagString: Untagged 50 | m_Icon: {fileID: 0} 51 | m_NavMeshLayer: 0 52 | m_StaticEditorFlags: 0 53 | m_IsActive: 1 54 | --- !u!4 &400000 55 | Transform: 56 | m_ObjectHideFlags: 1 57 | m_PrefabParentObject: {fileID: 0} 58 | m_PrefabInternal: {fileID: 100100000} 59 | m_GameObject: {fileID: 100000} 60 | m_LocalRotation: {x: 1, y: 0, z: -0, w: 0.00000040133926} 61 | m_LocalPosition: {x: -0.56450003, y: -0.18122865, z: 0.17631294} 62 | m_LocalScale: {x: -1, y: -1, z: -1} 63 | m_Children: [] 64 | m_Father: {fileID: 400004} 65 | m_RootOrder: 1 66 | --- !u!4 &400002 67 | Transform: 68 | m_ObjectHideFlags: 1 69 | m_PrefabParentObject: {fileID: 0} 70 | m_PrefabInternal: {fileID: 100100000} 71 | m_GameObject: {fileID: 100002} 72 | m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} 73 | m_LocalPosition: {x: 0.5645, y: -0.18122865, z: 0.17631294} 74 | m_LocalScale: {x: 1, y: 1, z: 1} 75 | m_Children: [] 76 | m_Father: {fileID: 400004} 77 | m_RootOrder: 0 78 | --- !u!4 &400004 79 | Transform: 80 | m_ObjectHideFlags: 1 81 | m_PrefabParentObject: {fileID: 0} 82 | m_PrefabInternal: {fileID: 100100000} 83 | m_GameObject: {fileID: 100004} 84 | m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071068} 85 | m_LocalPosition: {x: -0, y: 0, z: 0} 86 | m_LocalScale: {x: 1, y: 1, z: 1} 87 | m_Children: 88 | - {fileID: 400002} 89 | - {fileID: 400000} 90 | m_Father: {fileID: 0} 91 | m_RootOrder: 0 92 | --- !u!23 &2300000 93 | MeshRenderer: 94 | m_ObjectHideFlags: 1 95 | m_PrefabParentObject: {fileID: 0} 96 | m_PrefabInternal: {fileID: 100100000} 97 | m_GameObject: {fileID: 100000} 98 | m_Enabled: 1 99 | m_CastShadows: 1 100 | m_ReceiveShadows: 1 101 | m_Materials: 102 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 103 | m_SubsetIndices: 104 | m_StaticBatchRoot: {fileID: 0} 105 | m_UseLightProbes: 0 106 | m_ReflectionProbeUsage: 1 107 | m_ProbeAnchor: {fileID: 0} 108 | m_ScaleInLightmap: 1 109 | m_PreserveUVs: 0 110 | m_IgnoreNormalsForChartDetection: 0 111 | m_ImportantGI: 0 112 | m_MinimumChartSize: 4 113 | m_AutoUVMaxDistance: 0.5 114 | m_AutoUVMaxAngle: 89 115 | m_LightmapParameters: {fileID: 0} 116 | m_SortingLayerID: 0 117 | m_SortingOrder: 0 118 | --- !u!23 &2300002 119 | MeshRenderer: 120 | m_ObjectHideFlags: 1 121 | m_PrefabParentObject: {fileID: 0} 122 | m_PrefabInternal: {fileID: 100100000} 123 | m_GameObject: {fileID: 100002} 124 | m_Enabled: 1 125 | m_CastShadows: 1 126 | m_ReceiveShadows: 1 127 | m_Materials: 128 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 129 | m_SubsetIndices: 130 | m_StaticBatchRoot: {fileID: 0} 131 | m_UseLightProbes: 0 132 | m_ReflectionProbeUsage: 1 133 | m_ProbeAnchor: {fileID: 0} 134 | m_ScaleInLightmap: 1 135 | m_PreserveUVs: 0 136 | m_IgnoreNormalsForChartDetection: 0 137 | m_ImportantGI: 0 138 | m_MinimumChartSize: 4 139 | m_AutoUVMaxDistance: 0.5 140 | m_AutoUVMaxAngle: 89 141 | m_LightmapParameters: {fileID: 0} 142 | m_SortingLayerID: 0 143 | m_SortingOrder: 0 144 | --- !u!23 &2300004 145 | MeshRenderer: 146 | m_ObjectHideFlags: 1 147 | m_PrefabParentObject: {fileID: 0} 148 | m_PrefabInternal: {fileID: 100100000} 149 | m_GameObject: {fileID: 100004} 150 | m_Enabled: 1 151 | m_CastShadows: 1 152 | m_ReceiveShadows: 1 153 | m_Materials: 154 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 155 | m_SubsetIndices: 156 | m_StaticBatchRoot: {fileID: 0} 157 | m_UseLightProbes: 0 158 | m_ReflectionProbeUsage: 1 159 | m_ProbeAnchor: {fileID: 0} 160 | m_ScaleInLightmap: 1 161 | m_PreserveUVs: 0 162 | m_IgnoreNormalsForChartDetection: 0 163 | m_ImportantGI: 0 164 | m_MinimumChartSize: 4 165 | m_AutoUVMaxDistance: 0.5 166 | m_AutoUVMaxAngle: 89 167 | m_LightmapParameters: {fileID: 0} 168 | m_SortingLayerID: 0 169 | m_SortingOrder: 0 170 | --- !u!33 &3300000 171 | MeshFilter: 172 | m_ObjectHideFlags: 1 173 | m_PrefabParentObject: {fileID: 0} 174 | m_PrefabInternal: {fileID: 100100000} 175 | m_GameObject: {fileID: 100000} 176 | m_Mesh: {fileID: 4300002, guid: 7fc4f1ae771c82248a8194f137ffd698, type: 3} 177 | --- !u!33 &3300002 178 | MeshFilter: 179 | m_ObjectHideFlags: 1 180 | m_PrefabParentObject: {fileID: 0} 181 | m_PrefabInternal: {fileID: 100100000} 182 | m_GameObject: {fileID: 100002} 183 | m_Mesh: {fileID: 4300004, guid: 7fc4f1ae771c82248a8194f137ffd698, type: 3} 184 | --- !u!33 &3300004 185 | MeshFilter: 186 | m_ObjectHideFlags: 1 187 | m_PrefabParentObject: {fileID: 0} 188 | m_PrefabInternal: {fileID: 100100000} 189 | m_GameObject: {fileID: 100004} 190 | m_Mesh: {fileID: 4300000, guid: 7fc4f1ae771c82248a8194f137ffd698, type: 3} 191 | --- !u!1001 &100100000 192 | Prefab: 193 | m_ObjectHideFlags: 1 194 | serializedVersion: 2 195 | m_Modification: 196 | m_TransformParent: {fileID: 0} 197 | m_Modifications: [] 198 | m_RemovedComponents: [] 199 | m_ParentPrefab: {fileID: 0} 200 | m_RootGameObject: {fileID: 100004} 201 | m_IsPrefabParent: 1 202 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs/cabinet.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f63df71161fd98c4191fdbc25700aa62 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs/chair.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 33: {fileID: 3300000} 12 | - 23: {fileID: 2300000} 13 | m_Layer: 0 14 | m_Name: chair 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 4294967295 19 | m_IsActive: 1 20 | --- !u!4 &400000 21 | Transform: 22 | m_ObjectHideFlags: 1 23 | m_PrefabParentObject: {fileID: 0} 24 | m_PrefabInternal: {fileID: 100100000} 25 | m_GameObject: {fileID: 100000} 26 | m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068} 27 | m_LocalPosition: {x: 0, y: 0, z: 0} 28 | m_LocalScale: {x: 1, y: 1, z: 1} 29 | m_Children: [] 30 | m_Father: {fileID: 0} 31 | m_RootOrder: 0 32 | --- !u!23 &2300000 33 | MeshRenderer: 34 | m_ObjectHideFlags: 1 35 | m_PrefabParentObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | m_GameObject: {fileID: 100000} 38 | m_Enabled: 1 39 | m_CastShadows: 1 40 | m_ReceiveShadows: 1 41 | m_Materials: 42 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 43 | m_SubsetIndices: 44 | m_StaticBatchRoot: {fileID: 0} 45 | m_UseLightProbes: 0 46 | m_ReflectionProbeUsage: 1 47 | m_ProbeAnchor: {fileID: 0} 48 | m_ScaleInLightmap: 1 49 | m_PreserveUVs: 0 50 | m_IgnoreNormalsForChartDetection: 0 51 | m_ImportantGI: 0 52 | m_MinimumChartSize: 4 53 | m_AutoUVMaxDistance: 0.5 54 | m_AutoUVMaxAngle: 89 55 | m_LightmapParameters: {fileID: 0} 56 | m_SortingLayerID: 0 57 | m_SortingOrder: 0 58 | --- !u!33 &3300000 59 | MeshFilter: 60 | m_ObjectHideFlags: 1 61 | m_PrefabParentObject: {fileID: 0} 62 | m_PrefabInternal: {fileID: 100100000} 63 | m_GameObject: {fileID: 100000} 64 | m_Mesh: {fileID: 4300000, guid: 83a8ea92913740449a4ad6c6c19c7d92, type: 3} 65 | --- !u!1001 &100100000 66 | Prefab: 67 | m_ObjectHideFlags: 1 68 | serializedVersion: 2 69 | m_Modification: 70 | m_TransformParent: {fileID: 0} 71 | m_Modifications: [] 72 | m_RemovedComponents: [] 73 | m_ParentPrefab: {fileID: 0} 74 | m_RootGameObject: {fileID: 100000} 75 | m_IsPrefabParent: 1 76 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs/chair.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec505f73967a98c48a090df01f10c44b 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs/desk.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | m_Layer: 0 12 | m_Name: Door2 13 | m_TagString: Untagged 14 | m_Icon: {fileID: 0} 15 | m_NavMeshLayer: 0 16 | m_StaticEditorFlags: 4294967295 17 | m_IsActive: 1 18 | --- !u!1 &100002 19 | GameObject: 20 | m_ObjectHideFlags: 0 21 | m_PrefabParentObject: {fileID: 0} 22 | m_PrefabInternal: {fileID: 100100000} 23 | serializedVersion: 4 24 | m_Component: 25 | - 4: {fileID: 400002} 26 | - 33: {fileID: 3300000} 27 | - 23: {fileID: 2300000} 28 | m_Layer: 0 29 | m_Name: desk 30 | m_TagString: Untagged 31 | m_Icon: {fileID: 0} 32 | m_NavMeshLayer: 0 33 | m_StaticEditorFlags: 4294967295 34 | m_IsActive: 1 35 | --- !u!1 &100004 36 | GameObject: 37 | m_ObjectHideFlags: 1 38 | m_PrefabParentObject: {fileID: 0} 39 | m_PrefabInternal: {fileID: 100100000} 40 | serializedVersion: 4 41 | m_Component: 42 | - 4: {fileID: 400004} 43 | - 33: {fileID: 3300002} 44 | - 23: {fileID: 2300002} 45 | m_Layer: 0 46 | m_Name: door2 47 | m_TagString: Untagged 48 | m_Icon: {fileID: 0} 49 | m_NavMeshLayer: 0 50 | m_StaticEditorFlags: 4294967295 51 | m_IsActive: 1 52 | --- !u!1 &100006 53 | GameObject: 54 | m_ObjectHideFlags: 1 55 | m_PrefabParentObject: {fileID: 0} 56 | m_PrefabInternal: {fileID: 100100000} 57 | serializedVersion: 4 58 | m_Component: 59 | - 4: {fileID: 400006} 60 | - 33: {fileID: 3300004} 61 | - 23: {fileID: 2300004} 62 | m_Layer: 0 63 | m_Name: handle2 64 | m_TagString: Untagged 65 | m_Icon: {fileID: 0} 66 | m_NavMeshLayer: 0 67 | m_StaticEditorFlags: 4294967295 68 | m_IsActive: 1 69 | --- !u!1 &100008 70 | GameObject: 71 | m_ObjectHideFlags: 0 72 | m_PrefabParentObject: {fileID: 0} 73 | m_PrefabInternal: {fileID: 100100000} 74 | serializedVersion: 4 75 | m_Component: 76 | - 4: {fileID: 400008} 77 | m_Layer: 0 78 | m_Name: Door1 79 | m_TagString: Untagged 80 | m_Icon: {fileID: 0} 81 | m_NavMeshLayer: 0 82 | m_StaticEditorFlags: 4294967295 83 | m_IsActive: 1 84 | --- !u!1 &100010 85 | GameObject: 86 | m_ObjectHideFlags: 1 87 | m_PrefabParentObject: {fileID: 0} 88 | m_PrefabInternal: {fileID: 100100000} 89 | serializedVersion: 4 90 | m_Component: 91 | - 4: {fileID: 400010} 92 | - 33: {fileID: 3300006} 93 | - 23: {fileID: 2300006} 94 | m_Layer: 0 95 | m_Name: door1 96 | m_TagString: Untagged 97 | m_Icon: {fileID: 0} 98 | m_NavMeshLayer: 0 99 | m_StaticEditorFlags: 4294967295 100 | m_IsActive: 1 101 | --- !u!1 &100012 102 | GameObject: 103 | m_ObjectHideFlags: 1 104 | m_PrefabParentObject: {fileID: 0} 105 | m_PrefabInternal: {fileID: 100100000} 106 | serializedVersion: 4 107 | m_Component: 108 | - 4: {fileID: 400012} 109 | - 33: {fileID: 3300008} 110 | - 23: {fileID: 2300008} 111 | m_Layer: 0 112 | m_Name: handle1 113 | m_TagString: Untagged 114 | m_Icon: {fileID: 0} 115 | m_NavMeshLayer: 0 116 | m_StaticEditorFlags: 4294967295 117 | m_IsActive: 1 118 | --- !u!4 &400000 119 | Transform: 120 | m_ObjectHideFlags: 1 121 | m_PrefabParentObject: {fileID: 0} 122 | m_PrefabInternal: {fileID: 100100000} 123 | m_GameObject: {fileID: 100000} 124 | m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} 125 | m_LocalPosition: {x: -0.709381, y: -0.31227282, z: 0.16314128} 126 | m_LocalScale: {x: 1, y: 1, z: 1} 127 | m_Children: 128 | - {fileID: 400004} 129 | - {fileID: 400006} 130 | m_Father: {fileID: 400002} 131 | m_RootOrder: 1 132 | --- !u!4 &400002 133 | Transform: 134 | m_ObjectHideFlags: 1 135 | m_PrefabParentObject: {fileID: 0} 136 | m_PrefabInternal: {fileID: 100100000} 137 | m_GameObject: {fileID: 100002} 138 | m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071068} 139 | m_LocalPosition: {x: 0, y: 0, z: 0} 140 | m_LocalScale: {x: 1, y: 1, z: 1} 141 | m_Children: 142 | - {fileID: 400008} 143 | - {fileID: 400000} 144 | m_Father: {fileID: 0} 145 | m_RootOrder: 0 146 | --- !u!4 &400004 147 | Transform: 148 | m_ObjectHideFlags: 1 149 | m_PrefabParentObject: {fileID: 0} 150 | m_PrefabInternal: {fileID: 100100000} 151 | m_GameObject: {fileID: 100004} 152 | m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} 153 | m_LocalPosition: {x: 0.32118446, y: -0.0024849318, z: -0.006853142} 154 | m_LocalScale: {x: 1, y: 1, z: 1} 155 | m_Children: [] 156 | m_Father: {fileID: 400000} 157 | m_RootOrder: 0 158 | --- !u!4 &400006 159 | Transform: 160 | m_ObjectHideFlags: 1 161 | m_PrefabParentObject: {fileID: 0} 162 | m_PrefabInternal: {fileID: 100100000} 163 | m_GameObject: {fileID: 100006} 164 | m_LocalRotation: {x: 0.000000053385087, y: -0.70710677, z: 0.7071069, w: 0.000000053385076} 165 | m_LocalPosition: {x: 0.31248564, y: -0.01248497, z: 0.2291164} 166 | m_LocalScale: {x: 1, y: 1, z: 1} 167 | m_Children: [] 168 | m_Father: {fileID: 400000} 169 | m_RootOrder: 1 170 | --- !u!4 &400008 171 | Transform: 172 | m_ObjectHideFlags: 1 173 | m_PrefabParentObject: {fileID: 0} 174 | m_PrefabInternal: {fileID: 100100000} 175 | m_GameObject: {fileID: 100008} 176 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 177 | m_LocalPosition: {x: 0.7105739, y: -0.31424624, z: 0.15636732} 178 | m_LocalScale: {x: 1, y: 1, z: 1} 179 | m_Children: 180 | - {fileID: 400010} 181 | - {fileID: 400012} 182 | m_Father: {fileID: 400002} 183 | m_RootOrder: 0 184 | --- !u!4 &400010 185 | Transform: 186 | m_ObjectHideFlags: 1 187 | m_PrefabParentObject: {fileID: 0} 188 | m_PrefabInternal: {fileID: 100100000} 189 | m_GameObject: {fileID: 100010} 190 | m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} 191 | m_LocalPosition: {x: -0.0018360137, y: -0.0029904938, z: -0.0018854904} 192 | m_LocalScale: {x: 1, y: 1, z: 1} 193 | m_Children: [] 194 | m_Father: {fileID: 400008} 195 | m_RootOrder: 0 196 | --- !u!4 &400012 197 | Transform: 198 | m_ObjectHideFlags: 1 199 | m_PrefabParentObject: {fileID: 0} 200 | m_PrefabInternal: {fileID: 100100000} 201 | m_GameObject: {fileID: 100012} 202 | m_LocalRotation: {x: 0.000000053385087, y: -0.70710677, z: 0.7071069, w: 0.000000053385076} 203 | m_LocalPosition: {x: -0.31303635, y: -0.0129905315, z: 0.23408405} 204 | m_LocalScale: {x: 1, y: 1, z: 1} 205 | m_Children: [] 206 | m_Father: {fileID: 400008} 207 | m_RootOrder: 1 208 | --- !u!23 &2300000 209 | MeshRenderer: 210 | m_ObjectHideFlags: 1 211 | m_PrefabParentObject: {fileID: 0} 212 | m_PrefabInternal: {fileID: 100100000} 213 | m_GameObject: {fileID: 100002} 214 | m_Enabled: 1 215 | m_CastShadows: 1 216 | m_ReceiveShadows: 1 217 | m_Materials: 218 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 219 | m_SubsetIndices: 220 | m_StaticBatchRoot: {fileID: 0} 221 | m_UseLightProbes: 0 222 | m_ReflectionProbeUsage: 1 223 | m_ProbeAnchor: {fileID: 0} 224 | m_ScaleInLightmap: 1 225 | m_PreserveUVs: 0 226 | m_IgnoreNormalsForChartDetection: 0 227 | m_ImportantGI: 0 228 | m_MinimumChartSize: 4 229 | m_AutoUVMaxDistance: 0.5 230 | m_AutoUVMaxAngle: 89 231 | m_LightmapParameters: {fileID: 0} 232 | m_SortingLayerID: 0 233 | m_SortingOrder: 0 234 | --- !u!23 &2300002 235 | MeshRenderer: 236 | m_ObjectHideFlags: 1 237 | m_PrefabParentObject: {fileID: 0} 238 | m_PrefabInternal: {fileID: 100100000} 239 | m_GameObject: {fileID: 100004} 240 | m_Enabled: 1 241 | m_CastShadows: 1 242 | m_ReceiveShadows: 1 243 | m_Materials: 244 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 245 | m_SubsetIndices: 246 | m_StaticBatchRoot: {fileID: 0} 247 | m_UseLightProbes: 0 248 | m_ReflectionProbeUsage: 1 249 | m_ProbeAnchor: {fileID: 0} 250 | m_ScaleInLightmap: 1 251 | m_PreserveUVs: 0 252 | m_IgnoreNormalsForChartDetection: 0 253 | m_ImportantGI: 0 254 | m_MinimumChartSize: 4 255 | m_AutoUVMaxDistance: 0.5 256 | m_AutoUVMaxAngle: 89 257 | m_LightmapParameters: {fileID: 0} 258 | m_SortingLayerID: 0 259 | m_SortingOrder: 0 260 | --- !u!23 &2300004 261 | MeshRenderer: 262 | m_ObjectHideFlags: 1 263 | m_PrefabParentObject: {fileID: 0} 264 | m_PrefabInternal: {fileID: 100100000} 265 | m_GameObject: {fileID: 100006} 266 | m_Enabled: 1 267 | m_CastShadows: 1 268 | m_ReceiveShadows: 1 269 | m_Materials: 270 | - {fileID: 2100000, guid: 03db3db6f68dc514e8f1ee0c95468740, type: 2} 271 | m_SubsetIndices: 272 | m_StaticBatchRoot: {fileID: 0} 273 | m_UseLightProbes: 0 274 | m_ReflectionProbeUsage: 1 275 | m_ProbeAnchor: {fileID: 0} 276 | m_ScaleInLightmap: 1 277 | m_PreserveUVs: 0 278 | m_IgnoreNormalsForChartDetection: 0 279 | m_ImportantGI: 0 280 | m_MinimumChartSize: 4 281 | m_AutoUVMaxDistance: 0.5 282 | m_AutoUVMaxAngle: 89 283 | m_LightmapParameters: {fileID: 0} 284 | m_SortingLayerID: 0 285 | m_SortingOrder: 0 286 | --- !u!23 &2300006 287 | MeshRenderer: 288 | m_ObjectHideFlags: 1 289 | m_PrefabParentObject: {fileID: 0} 290 | m_PrefabInternal: {fileID: 100100000} 291 | m_GameObject: {fileID: 100010} 292 | m_Enabled: 1 293 | m_CastShadows: 1 294 | m_ReceiveShadows: 1 295 | m_Materials: 296 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 297 | m_SubsetIndices: 298 | m_StaticBatchRoot: {fileID: 0} 299 | m_UseLightProbes: 0 300 | m_ReflectionProbeUsage: 1 301 | m_ProbeAnchor: {fileID: 0} 302 | m_ScaleInLightmap: 1 303 | m_PreserveUVs: 0 304 | m_IgnoreNormalsForChartDetection: 0 305 | m_ImportantGI: 0 306 | m_MinimumChartSize: 4 307 | m_AutoUVMaxDistance: 0.5 308 | m_AutoUVMaxAngle: 89 309 | m_LightmapParameters: {fileID: 0} 310 | m_SortingLayerID: 0 311 | m_SortingOrder: 0 312 | --- !u!23 &2300008 313 | MeshRenderer: 314 | m_ObjectHideFlags: 1 315 | m_PrefabParentObject: {fileID: 0} 316 | m_PrefabInternal: {fileID: 100100000} 317 | m_GameObject: {fileID: 100012} 318 | m_Enabled: 1 319 | m_CastShadows: 1 320 | m_ReceiveShadows: 1 321 | m_Materials: 322 | - {fileID: 2100000, guid: 03db3db6f68dc514e8f1ee0c95468740, type: 2} 323 | m_SubsetIndices: 324 | m_StaticBatchRoot: {fileID: 0} 325 | m_UseLightProbes: 0 326 | m_ReflectionProbeUsage: 1 327 | m_ProbeAnchor: {fileID: 0} 328 | m_ScaleInLightmap: 1 329 | m_PreserveUVs: 0 330 | m_IgnoreNormalsForChartDetection: 0 331 | m_ImportantGI: 0 332 | m_MinimumChartSize: 4 333 | m_AutoUVMaxDistance: 0.5 334 | m_AutoUVMaxAngle: 89 335 | m_LightmapParameters: {fileID: 0} 336 | m_SortingLayerID: 0 337 | m_SortingOrder: 0 338 | --- !u!33 &3300000 339 | MeshFilter: 340 | m_ObjectHideFlags: 1 341 | m_PrefabParentObject: {fileID: 0} 342 | m_PrefabInternal: {fileID: 100100000} 343 | m_GameObject: {fileID: 100002} 344 | m_Mesh: {fileID: 4300000, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 345 | --- !u!33 &3300002 346 | MeshFilter: 347 | m_ObjectHideFlags: 1 348 | m_PrefabParentObject: {fileID: 0} 349 | m_PrefabInternal: {fileID: 100100000} 350 | m_GameObject: {fileID: 100004} 351 | m_Mesh: {fileID: 4300006, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 352 | --- !u!33 &3300004 353 | MeshFilter: 354 | m_ObjectHideFlags: 1 355 | m_PrefabParentObject: {fileID: 0} 356 | m_PrefabInternal: {fileID: 100100000} 357 | m_GameObject: {fileID: 100006} 358 | m_Mesh: {fileID: 4300008, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 359 | --- !u!33 &3300006 360 | MeshFilter: 361 | m_ObjectHideFlags: 1 362 | m_PrefabParentObject: {fileID: 0} 363 | m_PrefabInternal: {fileID: 100100000} 364 | m_GameObject: {fileID: 100010} 365 | m_Mesh: {fileID: 4300002, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 366 | --- !u!33 &3300008 367 | MeshFilter: 368 | m_ObjectHideFlags: 1 369 | m_PrefabParentObject: {fileID: 0} 370 | m_PrefabInternal: {fileID: 100100000} 371 | m_GameObject: {fileID: 100012} 372 | m_Mesh: {fileID: 4300004, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 373 | --- !u!1001 &100100000 374 | Prefab: 375 | m_ObjectHideFlags: 1 376 | serializedVersion: 2 377 | m_Modification: 378 | m_TransformParent: {fileID: 0} 379 | m_Modifications: [] 380 | m_RemovedComponents: [] 381 | m_ParentPrefab: {fileID: 0} 382 | m_RootGameObject: {fileID: 100002} 383 | m_IsPrefabParent: 1 384 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs/desk.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29e497487ae706f4a90f81cac1f10ccf 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs/table.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &100000 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 400000} 11 | - 33: {fileID: 3300000} 12 | - 23: {fileID: 2300000} 13 | m_Layer: 0 14 | m_Name: table 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 1 20 | --- !u!4 &400000 21 | Transform: 22 | m_ObjectHideFlags: 1 23 | m_PrefabParentObject: {fileID: 0} 24 | m_PrefabInternal: {fileID: 100100000} 25 | m_GameObject: {fileID: 100000} 26 | m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071068} 27 | m_LocalPosition: {x: 0, y: 0, z: 0} 28 | m_LocalScale: {x: 1, y: 1, z: 1} 29 | m_Children: [] 30 | m_Father: {fileID: 0} 31 | m_RootOrder: 0 32 | --- !u!23 &2300000 33 | MeshRenderer: 34 | m_ObjectHideFlags: 1 35 | m_PrefabParentObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | m_GameObject: {fileID: 100000} 38 | m_Enabled: 1 39 | m_CastShadows: 1 40 | m_ReceiveShadows: 1 41 | m_Materials: 42 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 43 | m_SubsetIndices: 44 | m_StaticBatchRoot: {fileID: 0} 45 | m_UseLightProbes: 0 46 | m_ReflectionProbeUsage: 1 47 | m_ProbeAnchor: {fileID: 0} 48 | m_ScaleInLightmap: 1 49 | m_PreserveUVs: 0 50 | m_IgnoreNormalsForChartDetection: 0 51 | m_ImportantGI: 0 52 | m_MinimumChartSize: 4 53 | m_AutoUVMaxDistance: 0.5 54 | m_AutoUVMaxAngle: 89 55 | m_LightmapParameters: {fileID: 0} 56 | m_SortingLayerID: 0 57 | m_SortingOrder: 0 58 | --- !u!33 &3300000 59 | MeshFilter: 60 | m_ObjectHideFlags: 1 61 | m_PrefabParentObject: {fileID: 0} 62 | m_PrefabInternal: {fileID: 100100000} 63 | m_GameObject: {fileID: 100000} 64 | m_Mesh: {fileID: 4300000, guid: 42b6afc3447f5c649ab3ac558c2e6520, type: 3} 65 | --- !u!1001 &100100000 66 | Prefab: 67 | m_ObjectHideFlags: 1 68 | serializedVersion: 2 69 | m_Modification: 70 | m_TransformParent: {fileID: 0} 71 | m_Modifications: [] 72 | m_RemovedComponents: [] 73 | m_ParentPrefab: {fileID: 0} 74 | m_RootGameObject: {fileID: 100000} 75 | m_IsPrefabParent: 1 76 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Prefabs/table.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc09823b4a881ae48a3b1f5243401f03 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e3a33929f6b0c0448dbbb7c10ec312a 3 | folderAsset: yes 4 | timeCreated: 1455228755 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Textures/wood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Textures/wood.png -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/Textures/wood.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 892b11b7140154f4285bdbf75c36521a 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 7 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: -1 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | outline: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 244bda47f724eae4a916ec62796a1454 3 | folderAsset: yes 4 | timeCreated: 1455228755 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/scenes/demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f791f574eca36e40ab99dcb01e4700a 3 | folderAsset: yes 4 | timeCreated: 1455228755 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/scenes/demo.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.2, g: 0.2, b: 0.2, a: 1} 24 | m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} 25 | m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 3 28 | m_SkyboxMaterial: {fileID: 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: 1 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: 0 55 | m_LightmapEditorSettings: 56 | serializedVersion: 3 57 | m_Resolution: 1 58 | m_BakeResolution: 60 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: 0 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.16666666 86 | manualCellSize: 0 87 | m_NavMeshData: {fileID: 0} 88 | --- !u!1 &69015359 89 | GameObject: 90 | m_ObjectHideFlags: 0 91 | m_PrefabParentObject: {fileID: 100000, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 92 | m_PrefabInternal: {fileID: 1613623056} 93 | serializedVersion: 4 94 | m_Component: 95 | - 4: {fileID: 69015360} 96 | m_Layer: 0 97 | m_Name: Door2 98 | m_TagString: Untagged 99 | m_Icon: {fileID: 0} 100 | m_NavMeshLayer: 0 101 | m_StaticEditorFlags: 4294967295 102 | m_IsActive: 1 103 | --- !u!4 &69015360 104 | Transform: 105 | m_ObjectHideFlags: 0 106 | m_PrefabParentObject: {fileID: 400000, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 107 | m_PrefabInternal: {fileID: 1613623056} 108 | m_GameObject: {fileID: 69015359} 109 | m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} 110 | m_LocalPosition: {x: -0.709381, y: -0.31227282, z: 0.16314128} 111 | m_LocalScale: {x: 1, y: 1, z: 1} 112 | m_Children: 113 | - {fileID: 664518442} 114 | - {fileID: 1294616588} 115 | m_Father: {fileID: 568461288} 116 | m_RootOrder: 1 117 | --- !u!1 &268016308 118 | GameObject: 119 | m_ObjectHideFlags: 0 120 | m_PrefabParentObject: {fileID: 0} 121 | m_PrefabInternal: {fileID: 0} 122 | serializedVersion: 4 123 | m_Component: 124 | - 4: {fileID: 268016310} 125 | - 108: {fileID: 268016309} 126 | m_Layer: 0 127 | m_Name: Spotlight 128 | m_TagString: Untagged 129 | m_Icon: {fileID: 0} 130 | m_NavMeshLayer: 0 131 | m_StaticEditorFlags: 0 132 | m_IsActive: 1 133 | --- !u!108 &268016309 134 | Light: 135 | m_ObjectHideFlags: 0 136 | m_PrefabParentObject: {fileID: 0} 137 | m_PrefabInternal: {fileID: 0} 138 | m_GameObject: {fileID: 268016308} 139 | m_Enabled: 1 140 | serializedVersion: 6 141 | m_Type: 0 142 | m_Color: {r: 1, g: 1, b: 1, a: 1} 143 | m_Intensity: 2 144 | m_Range: 10 145 | m_SpotAngle: 50 146 | m_CookieSize: 10 147 | m_Shadows: 148 | m_Type: 2 149 | m_Resolution: -1 150 | m_Strength: 1 151 | m_Bias: 0.05 152 | m_NormalBias: 0.4 153 | m_NearPlane: 0.2 154 | m_Cookie: {fileID: 0} 155 | m_DrawHalo: 0 156 | m_Flare: {fileID: 0} 157 | m_RenderMode: 0 158 | m_CullingMask: 159 | serializedVersion: 2 160 | m_Bits: 4294967295 161 | m_Lightmapping: 2 162 | m_BounceIntensity: 1 163 | m_ShadowRadius: 0 164 | m_ShadowAngle: 0 165 | m_AreaSize: {x: 1, y: 1} 166 | --- !u!4 &268016310 167 | Transform: 168 | m_ObjectHideFlags: 0 169 | m_PrefabParentObject: {fileID: 0} 170 | m_PrefabInternal: {fileID: 0} 171 | m_GameObject: {fileID: 268016308} 172 | m_LocalRotation: {x: 0.8192073, y: -0.08386014, z: -0.107464395, w: 0.5570622} 173 | m_LocalPosition: {x: 1.3905997, y: 3.9637523, z: 1.304589} 174 | m_LocalScale: {x: 1, y: 1, z: 1} 175 | m_Children: [] 176 | m_Father: {fileID: 0} 177 | m_RootOrder: 2 178 | --- !u!1 &568461287 179 | GameObject: 180 | m_ObjectHideFlags: 0 181 | m_PrefabParentObject: {fileID: 100002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 182 | m_PrefabInternal: {fileID: 1613623056} 183 | serializedVersion: 4 184 | m_Component: 185 | - 4: {fileID: 568461288} 186 | - 33: {fileID: 568461290} 187 | - 23: {fileID: 568461289} 188 | m_Layer: 0 189 | m_Name: desk 190 | m_TagString: Untagged 191 | m_Icon: {fileID: 0} 192 | m_NavMeshLayer: 0 193 | m_StaticEditorFlags: 4294967295 194 | m_IsActive: 1 195 | --- !u!4 &568461288 196 | Transform: 197 | m_ObjectHideFlags: 0 198 | m_PrefabParentObject: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 199 | m_PrefabInternal: {fileID: 1613623056} 200 | m_GameObject: {fileID: 568461287} 201 | m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071068} 202 | m_LocalPosition: {x: 0.079992, y: 0.0000002598701, z: -0.32463884} 203 | m_LocalScale: {x: 1, y: 1, z: 1} 204 | m_Children: 205 | - {fileID: 1747155576} 206 | - {fileID: 69015360} 207 | m_Father: {fileID: 0} 208 | m_RootOrder: 3 209 | --- !u!23 &568461289 210 | MeshRenderer: 211 | m_ObjectHideFlags: 0 212 | m_PrefabParentObject: {fileID: 2300000, guid: 29e497487ae706f4a90f81cac1f10ccf, 213 | type: 2} 214 | m_PrefabInternal: {fileID: 1613623056} 215 | m_GameObject: {fileID: 568461287} 216 | m_Enabled: 1 217 | m_CastShadows: 1 218 | m_ReceiveShadows: 1 219 | m_Materials: 220 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 221 | m_SubsetIndices: 222 | m_StaticBatchRoot: {fileID: 0} 223 | m_UseLightProbes: 0 224 | m_ReflectionProbeUsage: 1 225 | m_ProbeAnchor: {fileID: 0} 226 | m_ScaleInLightmap: 1 227 | m_PreserveUVs: 0 228 | m_IgnoreNormalsForChartDetection: 0 229 | m_ImportantGI: 0 230 | m_MinimumChartSize: 4 231 | m_AutoUVMaxDistance: 0.5 232 | m_AutoUVMaxAngle: 89 233 | m_LightmapParameters: {fileID: 0} 234 | m_SortingLayerID: 0 235 | m_SortingOrder: 0 236 | --- !u!33 &568461290 237 | MeshFilter: 238 | m_ObjectHideFlags: 0 239 | m_PrefabParentObject: {fileID: 3300000, guid: 29e497487ae706f4a90f81cac1f10ccf, 240 | type: 2} 241 | m_PrefabInternal: {fileID: 1613623056} 242 | m_GameObject: {fileID: 568461287} 243 | m_Mesh: {fileID: 4300000, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 244 | --- !u!1 &656487689 245 | GameObject: 246 | m_ObjectHideFlags: 0 247 | m_PrefabParentObject: {fileID: 0} 248 | m_PrefabInternal: {fileID: 0} 249 | serializedVersion: 4 250 | m_Component: 251 | - 4: {fileID: 656487693} 252 | - 33: {fileID: 656487692} 253 | - 64: {fileID: 656487691} 254 | - 23: {fileID: 656487690} 255 | m_Layer: 0 256 | m_Name: Plane 257 | m_TagString: Untagged 258 | m_Icon: {fileID: 0} 259 | m_NavMeshLayer: 0 260 | m_StaticEditorFlags: 4294967295 261 | m_IsActive: 1 262 | --- !u!23 &656487690 263 | MeshRenderer: 264 | m_ObjectHideFlags: 0 265 | m_PrefabParentObject: {fileID: 0} 266 | m_PrefabInternal: {fileID: 0} 267 | m_GameObject: {fileID: 656487689} 268 | m_Enabled: 1 269 | m_CastShadows: 1 270 | m_ReceiveShadows: 1 271 | m_Materials: 272 | - {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0} 273 | m_SubsetIndices: 274 | m_StaticBatchRoot: {fileID: 0} 275 | m_UseLightProbes: 0 276 | m_ReflectionProbeUsage: 1 277 | m_ProbeAnchor: {fileID: 0} 278 | m_ScaleInLightmap: 1 279 | m_PreserveUVs: 0 280 | m_IgnoreNormalsForChartDetection: 0 281 | m_ImportantGI: 0 282 | m_MinimumChartSize: 4 283 | m_AutoUVMaxDistance: 0.5 284 | m_AutoUVMaxAngle: 89 285 | m_LightmapParameters: {fileID: 0} 286 | m_SortingLayerID: 0 287 | m_SortingOrder: 0 288 | --- !u!64 &656487691 289 | MeshCollider: 290 | m_ObjectHideFlags: 0 291 | m_PrefabParentObject: {fileID: 0} 292 | m_PrefabInternal: {fileID: 0} 293 | m_GameObject: {fileID: 656487689} 294 | m_Material: {fileID: 0} 295 | m_IsTrigger: 0 296 | m_Enabled: 1 297 | serializedVersion: 2 298 | m_Convex: 0 299 | m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} 300 | --- !u!33 &656487692 301 | MeshFilter: 302 | m_ObjectHideFlags: 0 303 | m_PrefabParentObject: {fileID: 0} 304 | m_PrefabInternal: {fileID: 0} 305 | m_GameObject: {fileID: 656487689} 306 | m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} 307 | --- !u!4 &656487693 308 | Transform: 309 | m_ObjectHideFlags: 0 310 | m_PrefabParentObject: {fileID: 0} 311 | m_PrefabInternal: {fileID: 0} 312 | m_GameObject: {fileID: 656487689} 313 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 314 | m_LocalPosition: {x: 0, y: 0, z: 0} 315 | m_LocalScale: {x: 1, y: 1, z: 1} 316 | m_Children: [] 317 | m_Father: {fileID: 0} 318 | m_RootOrder: 1 319 | --- !u!1 &664518441 320 | GameObject: 321 | m_ObjectHideFlags: 0 322 | m_PrefabParentObject: {fileID: 100004, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 323 | m_PrefabInternal: {fileID: 1613623056} 324 | serializedVersion: 4 325 | m_Component: 326 | - 4: {fileID: 664518442} 327 | - 33: {fileID: 664518444} 328 | - 23: {fileID: 664518443} 329 | m_Layer: 0 330 | m_Name: door2 331 | m_TagString: Untagged 332 | m_Icon: {fileID: 0} 333 | m_NavMeshLayer: 0 334 | m_StaticEditorFlags: 4294967295 335 | m_IsActive: 1 336 | --- !u!4 &664518442 337 | Transform: 338 | m_ObjectHideFlags: 0 339 | m_PrefabParentObject: {fileID: 400004, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 340 | m_PrefabInternal: {fileID: 1613623056} 341 | m_GameObject: {fileID: 664518441} 342 | m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} 343 | m_LocalPosition: {x: 0.32118446, y: -0.0024849318, z: -0.006853142} 344 | m_LocalScale: {x: 1, y: 1, z: 1} 345 | m_Children: [] 346 | m_Father: {fileID: 69015360} 347 | m_RootOrder: 0 348 | --- !u!23 &664518443 349 | MeshRenderer: 350 | m_ObjectHideFlags: 0 351 | m_PrefabParentObject: {fileID: 2300002, guid: 29e497487ae706f4a90f81cac1f10ccf, 352 | type: 2} 353 | m_PrefabInternal: {fileID: 1613623056} 354 | m_GameObject: {fileID: 664518441} 355 | m_Enabled: 1 356 | m_CastShadows: 1 357 | m_ReceiveShadows: 1 358 | m_Materials: 359 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 360 | m_SubsetIndices: 361 | m_StaticBatchRoot: {fileID: 0} 362 | m_UseLightProbes: 0 363 | m_ReflectionProbeUsage: 1 364 | m_ProbeAnchor: {fileID: 0} 365 | m_ScaleInLightmap: 1 366 | m_PreserveUVs: 0 367 | m_IgnoreNormalsForChartDetection: 0 368 | m_ImportantGI: 0 369 | m_MinimumChartSize: 4 370 | m_AutoUVMaxDistance: 0.5 371 | m_AutoUVMaxAngle: 89 372 | m_LightmapParameters: {fileID: 0} 373 | m_SortingLayerID: 0 374 | m_SortingOrder: 0 375 | --- !u!33 &664518444 376 | MeshFilter: 377 | m_ObjectHideFlags: 0 378 | m_PrefabParentObject: {fileID: 3300002, guid: 29e497487ae706f4a90f81cac1f10ccf, 379 | type: 2} 380 | m_PrefabInternal: {fileID: 1613623056} 381 | m_GameObject: {fileID: 664518441} 382 | m_Mesh: {fileID: 4300006, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 383 | --- !u!1 &826913495 384 | GameObject: 385 | m_ObjectHideFlags: 0 386 | m_PrefabParentObject: {fileID: 0} 387 | m_PrefabInternal: {fileID: 0} 388 | serializedVersion: 4 389 | m_Component: 390 | - 4: {fileID: 826913500} 391 | - 20: {fileID: 826913499} 392 | - 92: {fileID: 826913498} 393 | - 124: {fileID: 826913497} 394 | - 81: {fileID: 826913496} 395 | m_Layer: 0 396 | m_Name: Main Camera 397 | m_TagString: MainCamera 398 | m_Icon: {fileID: 0} 399 | m_NavMeshLayer: 0 400 | m_StaticEditorFlags: 0 401 | m_IsActive: 1 402 | --- !u!81 &826913496 403 | AudioListener: 404 | m_ObjectHideFlags: 0 405 | m_PrefabParentObject: {fileID: 0} 406 | m_PrefabInternal: {fileID: 0} 407 | m_GameObject: {fileID: 826913495} 408 | m_Enabled: 1 409 | --- !u!124 &826913497 410 | Behaviour: 411 | m_ObjectHideFlags: 0 412 | m_PrefabParentObject: {fileID: 0} 413 | m_PrefabInternal: {fileID: 0} 414 | m_GameObject: {fileID: 826913495} 415 | m_Enabled: 1 416 | --- !u!92 &826913498 417 | Behaviour: 418 | m_ObjectHideFlags: 0 419 | m_PrefabParentObject: {fileID: 0} 420 | m_PrefabInternal: {fileID: 0} 421 | m_GameObject: {fileID: 826913495} 422 | m_Enabled: 1 423 | --- !u!20 &826913499 424 | Camera: 425 | m_ObjectHideFlags: 0 426 | m_PrefabParentObject: {fileID: 0} 427 | m_PrefabInternal: {fileID: 0} 428 | m_GameObject: {fileID: 826913495} 429 | m_Enabled: 1 430 | serializedVersion: 2 431 | m_ClearFlags: 1 432 | m_BackGroundColor: {r: 0.19852942, g: 0.19852942, b: 0.19852942, a: 0.019607844} 433 | m_NormalizedViewPortRect: 434 | serializedVersion: 2 435 | x: 0 436 | y: 0 437 | width: 1 438 | height: 1 439 | near clip plane: 0.3 440 | far clip plane: 1000 441 | field of view: 60 442 | orthographic: 0 443 | orthographic size: 100 444 | m_Depth: -1 445 | m_CullingMask: 446 | serializedVersion: 2 447 | m_Bits: 4294967295 448 | m_RenderingPath: -1 449 | m_TargetTexture: {fileID: 0} 450 | m_TargetDisplay: 0 451 | m_TargetEye: 3 452 | m_HDR: 0 453 | m_OcclusionCulling: 1 454 | m_StereoConvergence: 10 455 | m_StereoSeparation: 0.022 456 | m_StereoMirrorMode: 0 457 | --- !u!4 &826913500 458 | Transform: 459 | m_ObjectHideFlags: 0 460 | m_PrefabParentObject: {fileID: 0} 461 | m_PrefabInternal: {fileID: 0} 462 | m_GameObject: {fileID: 826913495} 463 | m_LocalRotation: {x: 0.10152062, y: -0.89764875, z: 0.33028826, w: 0.27355072} 464 | m_LocalPosition: {x: 1.4702525, y: 2.0288262, z: 1.7831944} 465 | m_LocalScale: {x: 1, y: 1, z: 1} 466 | m_Children: [] 467 | m_Father: {fileID: 0} 468 | m_RootOrder: 0 469 | --- !u!1001 &1041816708 470 | Prefab: 471 | m_ObjectHideFlags: 0 472 | serializedVersion: 2 473 | m_Modification: 474 | m_TransformParent: {fileID: 0} 475 | m_Modifications: 476 | - target: {fileID: 400000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 477 | propertyPath: m_LocalPosition.x 478 | value: -.0371030793 479 | objectReference: {fileID: 0} 480 | - target: {fileID: 400000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 481 | propertyPath: m_LocalPosition.y 482 | value: -4.9301633e-08 483 | objectReference: {fileID: 0} 484 | - target: {fileID: 400000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 485 | propertyPath: m_LocalPosition.z 486 | value: .420485914 487 | objectReference: {fileID: 0} 488 | - target: {fileID: 400000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 489 | propertyPath: m_LocalRotation.x 490 | value: -.184955627 491 | objectReference: {fileID: 0} 492 | - target: {fileID: 400000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 493 | propertyPath: m_LocalRotation.y 494 | value: .682489157 495 | objectReference: {fileID: 0} 496 | - target: {fileID: 400000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 497 | propertyPath: m_LocalRotation.z 498 | value: .682489157 499 | objectReference: {fileID: 0} 500 | - target: {fileID: 400000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 501 | propertyPath: m_LocalRotation.w 502 | value: .184955582 503 | objectReference: {fileID: 0} 504 | m_RemovedComponents: [] 505 | m_ParentPrefab: {fileID: 100100000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 506 | m_RootGameObject: {fileID: 1998465897} 507 | m_IsPrefabParent: 0 508 | --- !u!1 &1294616587 509 | GameObject: 510 | m_ObjectHideFlags: 0 511 | m_PrefabParentObject: {fileID: 100006, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 512 | m_PrefabInternal: {fileID: 1613623056} 513 | serializedVersion: 4 514 | m_Component: 515 | - 4: {fileID: 1294616588} 516 | - 33: {fileID: 1294616590} 517 | - 23: {fileID: 1294616589} 518 | m_Layer: 0 519 | m_Name: handle2 520 | m_TagString: Untagged 521 | m_Icon: {fileID: 0} 522 | m_NavMeshLayer: 0 523 | m_StaticEditorFlags: 4294967295 524 | m_IsActive: 1 525 | --- !u!4 &1294616588 526 | Transform: 527 | m_ObjectHideFlags: 0 528 | m_PrefabParentObject: {fileID: 400006, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 529 | m_PrefabInternal: {fileID: 1613623056} 530 | m_GameObject: {fileID: 1294616587} 531 | m_LocalRotation: {x: 0.000000053385087, y: -0.70710677, z: 0.7071069, w: 0.000000053385076} 532 | m_LocalPosition: {x: 0.31248564, y: -0.01248497, z: 0.2291164} 533 | m_LocalScale: {x: 1, y: 1, z: 1} 534 | m_Children: [] 535 | m_Father: {fileID: 69015360} 536 | m_RootOrder: 1 537 | --- !u!23 &1294616589 538 | MeshRenderer: 539 | m_ObjectHideFlags: 0 540 | m_PrefabParentObject: {fileID: 2300004, guid: 29e497487ae706f4a90f81cac1f10ccf, 541 | type: 2} 542 | m_PrefabInternal: {fileID: 1613623056} 543 | m_GameObject: {fileID: 1294616587} 544 | m_Enabled: 1 545 | m_CastShadows: 1 546 | m_ReceiveShadows: 1 547 | m_Materials: 548 | - {fileID: 2100000, guid: 03db3db6f68dc514e8f1ee0c95468740, type: 2} 549 | m_SubsetIndices: 550 | m_StaticBatchRoot: {fileID: 0} 551 | m_UseLightProbes: 0 552 | m_ReflectionProbeUsage: 1 553 | m_ProbeAnchor: {fileID: 0} 554 | m_ScaleInLightmap: 1 555 | m_PreserveUVs: 0 556 | m_IgnoreNormalsForChartDetection: 0 557 | m_ImportantGI: 0 558 | m_MinimumChartSize: 4 559 | m_AutoUVMaxDistance: 0.5 560 | m_AutoUVMaxAngle: 89 561 | m_LightmapParameters: {fileID: 0} 562 | m_SortingLayerID: 0 563 | m_SortingOrder: 0 564 | --- !u!33 &1294616590 565 | MeshFilter: 566 | m_ObjectHideFlags: 0 567 | m_PrefabParentObject: {fileID: 3300004, guid: 29e497487ae706f4a90f81cac1f10ccf, 568 | type: 2} 569 | m_PrefabInternal: {fileID: 1613623056} 570 | m_GameObject: {fileID: 1294616587} 571 | m_Mesh: {fileID: 4300008, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 572 | --- !u!1001 &1613623056 573 | Prefab: 574 | m_ObjectHideFlags: 0 575 | serializedVersion: 2 576 | m_Modification: 577 | m_TransformParent: {fileID: 0} 578 | m_Modifications: 579 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 580 | propertyPath: m_LocalPosition.x 581 | value: .0799919963 582 | objectReference: {fileID: 0} 583 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 584 | propertyPath: m_LocalPosition.y 585 | value: 2.59870092e-07 586 | objectReference: {fileID: 0} 587 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 588 | propertyPath: m_LocalPosition.z 589 | value: -.324638844 590 | objectReference: {fileID: 0} 591 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 592 | propertyPath: m_LocalRotation.x 593 | value: -.707106829 594 | objectReference: {fileID: 0} 595 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 596 | propertyPath: m_LocalRotation.y 597 | value: 0 598 | objectReference: {fileID: 0} 599 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 600 | propertyPath: m_LocalRotation.z 601 | value: -0 602 | objectReference: {fileID: 0} 603 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 604 | propertyPath: m_LocalRotation.w 605 | value: .707106829 606 | objectReference: {fileID: 0} 607 | - target: {fileID: 400008, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 608 | propertyPath: m_LocalRotation.z 609 | value: .35836798 610 | objectReference: {fileID: 0} 611 | - target: {fileID: 400008, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 612 | propertyPath: m_LocalRotation.w 613 | value: .933580458 614 | objectReference: {fileID: 0} 615 | m_RemovedComponents: [] 616 | m_ParentPrefab: {fileID: 100100000, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 617 | m_RootGameObject: {fileID: 568461287} 618 | m_IsPrefabParent: 0 619 | --- !u!1 &1747155575 620 | GameObject: 621 | m_ObjectHideFlags: 0 622 | m_PrefabParentObject: {fileID: 100008, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 623 | m_PrefabInternal: {fileID: 1613623056} 624 | serializedVersion: 4 625 | m_Component: 626 | - 4: {fileID: 1747155576} 627 | m_Layer: 0 628 | m_Name: Door1 629 | m_TagString: Untagged 630 | m_Icon: {fileID: 0} 631 | m_NavMeshLayer: 0 632 | m_StaticEditorFlags: 4294967295 633 | m_IsActive: 1 634 | --- !u!4 &1747155576 635 | Transform: 636 | m_ObjectHideFlags: 0 637 | m_PrefabParentObject: {fileID: 400008, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 638 | m_PrefabInternal: {fileID: 1613623056} 639 | m_GameObject: {fileID: 1747155575} 640 | m_LocalRotation: {x: 0, y: 0, z: 0.35836798, w: 0.93358046} 641 | m_LocalPosition: {x: 0.7105739, y: -0.31424624, z: 0.15636732} 642 | m_LocalScale: {x: 1, y: 1, z: 1} 643 | m_Children: 644 | - {fileID: 1826010479} 645 | - {fileID: 2114294371} 646 | m_Father: {fileID: 568461288} 647 | m_RootOrder: 0 648 | --- !u!1 &1826010478 649 | GameObject: 650 | m_ObjectHideFlags: 0 651 | m_PrefabParentObject: {fileID: 100010, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 652 | m_PrefabInternal: {fileID: 1613623056} 653 | serializedVersion: 4 654 | m_Component: 655 | - 4: {fileID: 1826010479} 656 | - 33: {fileID: 1826010481} 657 | - 23: {fileID: 1826010480} 658 | m_Layer: 0 659 | m_Name: door1 660 | m_TagString: Untagged 661 | m_Icon: {fileID: 0} 662 | m_NavMeshLayer: 0 663 | m_StaticEditorFlags: 4294967295 664 | m_IsActive: 1 665 | --- !u!4 &1826010479 666 | Transform: 667 | m_ObjectHideFlags: 0 668 | m_PrefabParentObject: {fileID: 400010, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 669 | m_PrefabInternal: {fileID: 1613623056} 670 | m_GameObject: {fileID: 1826010478} 671 | m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} 672 | m_LocalPosition: {x: -0.0018360137, y: -0.0029904938, z: -0.0018854904} 673 | m_LocalScale: {x: 1, y: 1, z: 1} 674 | m_Children: [] 675 | m_Father: {fileID: 1747155576} 676 | m_RootOrder: 0 677 | --- !u!23 &1826010480 678 | MeshRenderer: 679 | m_ObjectHideFlags: 0 680 | m_PrefabParentObject: {fileID: 2300006, guid: 29e497487ae706f4a90f81cac1f10ccf, 681 | type: 2} 682 | m_PrefabInternal: {fileID: 1613623056} 683 | m_GameObject: {fileID: 1826010478} 684 | m_Enabled: 1 685 | m_CastShadows: 1 686 | m_ReceiveShadows: 1 687 | m_Materials: 688 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 689 | m_SubsetIndices: 690 | m_StaticBatchRoot: {fileID: 0} 691 | m_UseLightProbes: 0 692 | m_ReflectionProbeUsage: 1 693 | m_ProbeAnchor: {fileID: 0} 694 | m_ScaleInLightmap: 1 695 | m_PreserveUVs: 0 696 | m_IgnoreNormalsForChartDetection: 0 697 | m_ImportantGI: 0 698 | m_MinimumChartSize: 4 699 | m_AutoUVMaxDistance: 0.5 700 | m_AutoUVMaxAngle: 89 701 | m_LightmapParameters: {fileID: 0} 702 | m_SortingLayerID: 0 703 | m_SortingOrder: 0 704 | --- !u!33 &1826010481 705 | MeshFilter: 706 | m_ObjectHideFlags: 0 707 | m_PrefabParentObject: {fileID: 3300006, guid: 29e497487ae706f4a90f81cac1f10ccf, 708 | type: 2} 709 | m_PrefabInternal: {fileID: 1613623056} 710 | m_GameObject: {fileID: 1826010478} 711 | m_Mesh: {fileID: 4300002, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 712 | --- !u!1 &1998465897 713 | GameObject: 714 | m_ObjectHideFlags: 0 715 | m_PrefabParentObject: {fileID: 100000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 716 | m_PrefabInternal: {fileID: 1041816708} 717 | serializedVersion: 4 718 | m_Component: 719 | - 4: {fileID: 1998465900} 720 | - 33: {fileID: 1998465899} 721 | - 23: {fileID: 1998465898} 722 | m_Layer: 0 723 | m_Name: chair 724 | m_TagString: Untagged 725 | m_Icon: {fileID: 0} 726 | m_NavMeshLayer: 0 727 | m_StaticEditorFlags: 4294967295 728 | m_IsActive: 1 729 | --- !u!23 &1998465898 730 | MeshRenderer: 731 | m_ObjectHideFlags: 0 732 | m_PrefabParentObject: {fileID: 2300000, guid: ec505f73967a98c48a090df01f10c44b, 733 | type: 2} 734 | m_PrefabInternal: {fileID: 1041816708} 735 | m_GameObject: {fileID: 1998465897} 736 | m_Enabled: 1 737 | m_CastShadows: 1 738 | m_ReceiveShadows: 1 739 | m_Materials: 740 | - {fileID: 2100000, guid: 057d5430214e8414cafeee34639cae34, type: 2} 741 | m_SubsetIndices: 742 | m_StaticBatchRoot: {fileID: 0} 743 | m_UseLightProbes: 0 744 | m_ReflectionProbeUsage: 1 745 | m_ProbeAnchor: {fileID: 0} 746 | m_ScaleInLightmap: 1 747 | m_PreserveUVs: 0 748 | m_IgnoreNormalsForChartDetection: 0 749 | m_ImportantGI: 0 750 | m_MinimumChartSize: 4 751 | m_AutoUVMaxDistance: 0.5 752 | m_AutoUVMaxAngle: 89 753 | m_LightmapParameters: {fileID: 0} 754 | m_SortingLayerID: 0 755 | m_SortingOrder: 0 756 | --- !u!33 &1998465899 757 | MeshFilter: 758 | m_ObjectHideFlags: 0 759 | m_PrefabParentObject: {fileID: 3300000, guid: ec505f73967a98c48a090df01f10c44b, 760 | type: 2} 761 | m_PrefabInternal: {fileID: 1041816708} 762 | m_GameObject: {fileID: 1998465897} 763 | m_Mesh: {fileID: 4300000, guid: 83a8ea92913740449a4ad6c6c19c7d92, type: 3} 764 | --- !u!4 &1998465900 765 | Transform: 766 | m_ObjectHideFlags: 0 767 | m_PrefabParentObject: {fileID: 400000, guid: ec505f73967a98c48a090df01f10c44b, type: 2} 768 | m_PrefabInternal: {fileID: 1041816708} 769 | m_GameObject: {fileID: 1998465897} 770 | m_LocalRotation: {x: -0.18495563, y: 0.68248916, z: 0.68248916, w: 0.18495558} 771 | m_LocalPosition: {x: -0.03710308, y: -0.000000049301633, z: 0.4204859} 772 | m_LocalScale: {x: 1, y: 1, z: 1} 773 | m_Children: [] 774 | m_Father: {fileID: 0} 775 | m_RootOrder: 4 776 | --- !u!1 &2114294370 777 | GameObject: 778 | m_ObjectHideFlags: 0 779 | m_PrefabParentObject: {fileID: 100012, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 780 | m_PrefabInternal: {fileID: 1613623056} 781 | serializedVersion: 4 782 | m_Component: 783 | - 4: {fileID: 2114294371} 784 | - 33: {fileID: 2114294373} 785 | - 23: {fileID: 2114294372} 786 | m_Layer: 0 787 | m_Name: handle1 788 | m_TagString: Untagged 789 | m_Icon: {fileID: 0} 790 | m_NavMeshLayer: 0 791 | m_StaticEditorFlags: 4294967295 792 | m_IsActive: 1 793 | --- !u!4 &2114294371 794 | Transform: 795 | m_ObjectHideFlags: 0 796 | m_PrefabParentObject: {fileID: 400012, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 2} 797 | m_PrefabInternal: {fileID: 1613623056} 798 | m_GameObject: {fileID: 2114294370} 799 | m_LocalRotation: {x: 0.000000053385087, y: -0.70710677, z: 0.7071069, w: 0.000000053385076} 800 | m_LocalPosition: {x: -0.31303635, y: -0.0129905315, z: 0.23408405} 801 | m_LocalScale: {x: 1, y: 1, z: 1} 802 | m_Children: [] 803 | m_Father: {fileID: 1747155576} 804 | m_RootOrder: 1 805 | --- !u!23 &2114294372 806 | MeshRenderer: 807 | m_ObjectHideFlags: 0 808 | m_PrefabParentObject: {fileID: 2300008, guid: 29e497487ae706f4a90f81cac1f10ccf, 809 | type: 2} 810 | m_PrefabInternal: {fileID: 1613623056} 811 | m_GameObject: {fileID: 2114294370} 812 | m_Enabled: 1 813 | m_CastShadows: 1 814 | m_ReceiveShadows: 1 815 | m_Materials: 816 | - {fileID: 2100000, guid: 03db3db6f68dc514e8f1ee0c95468740, type: 2} 817 | m_SubsetIndices: 818 | m_StaticBatchRoot: {fileID: 0} 819 | m_UseLightProbes: 0 820 | m_ReflectionProbeUsage: 1 821 | m_ProbeAnchor: {fileID: 0} 822 | m_ScaleInLightmap: 1 823 | m_PreserveUVs: 0 824 | m_IgnoreNormalsForChartDetection: 0 825 | m_ImportantGI: 0 826 | m_MinimumChartSize: 4 827 | m_AutoUVMaxDistance: 0.5 828 | m_AutoUVMaxAngle: 89 829 | m_LightmapParameters: {fileID: 0} 830 | m_SortingLayerID: 0 831 | m_SortingOrder: 0 832 | --- !u!33 &2114294373 833 | MeshFilter: 834 | m_ObjectHideFlags: 0 835 | m_PrefabParentObject: {fileID: 3300008, guid: 29e497487ae706f4a90f81cac1f10ccf, 836 | type: 2} 837 | m_PrefabInternal: {fileID: 1613623056} 838 | m_GameObject: {fileID: 2114294370} 839 | m_Mesh: {fileID: 4300004, guid: ecdfe9f0b8508af4d92737c656e36132, type: 3} 840 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/scenes/demo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b7bec28e7d6ed04d83f326c21a33e15 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/scenes/demo/LightmapFar-0.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/scenes/demo/LightmapFar-0.exr -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/External/FreeFurnitureSet/scenes/demo/LightmapFar-0.exr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8dcb342b46460c64cbe5e2b61029710e 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 7 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 3 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 1 36 | rGBM: 0 37 | compressionQuality: 100 38 | allowsAlphaSplitting: 0 39 | spriteMode: 0 40 | spriteExtrude: 1 41 | spriteMeshType: 1 42 | alignment: 0 43 | spritePivot: {x: 0.5, y: 0.5} 44 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 45 | spritePixelsToUnits: 100 46 | alphaIsTransparency: 0 47 | textureType: 6 48 | buildTargetSettings: [] 49 | spriteSheet: 50 | sprites: [] 51 | outline: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aad247973eec302468519b95641c6e0a 3 | folderAsset: yes 4 | timeCreated: 1455218485 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Materials/Display.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: Display 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: -1 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: -1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | data: 26 | first: 27 | name: _BumpMap 28 | second: 29 | m_Texture: {fileID: 0} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | data: 33 | first: 34 | name: _DetailNormalMap 35 | second: 36 | m_Texture: {fileID: 0} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | data: 40 | first: 41 | name: _ParallaxMap 42 | second: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | data: 47 | first: 48 | name: _OcclusionMap 49 | second: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | data: 54 | first: 55 | name: _EmissionMap 56 | second: 57 | m_Texture: {fileID: 0} 58 | m_Scale: {x: -1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | data: 61 | first: 62 | name: _DetailMask 63 | second: 64 | m_Texture: {fileID: 0} 65 | m_Scale: {x: 1, y: 1} 66 | m_Offset: {x: 0, y: 0} 67 | data: 68 | first: 69 | name: _DetailAlbedoMap 70 | second: 71 | m_Texture: {fileID: 0} 72 | m_Scale: {x: 1, y: 1} 73 | m_Offset: {x: 0, y: 0} 74 | data: 75 | first: 76 | name: _MetallicGlossMap 77 | second: 78 | m_Texture: {fileID: 0} 79 | m_Scale: {x: 1, y: 1} 80 | m_Offset: {x: 0, y: 0} 81 | m_Floats: 82 | data: 83 | first: 84 | name: _SrcBlend 85 | second: 1 86 | data: 87 | first: 88 | name: _DstBlend 89 | second: 0 90 | data: 91 | first: 92 | name: _Cutoff 93 | second: 0.5 94 | data: 95 | first: 96 | name: _Parallax 97 | second: 0.02 98 | data: 99 | first: 100 | name: _ZWrite 101 | second: 1 102 | data: 103 | first: 104 | name: _Glossiness 105 | second: 0.5 106 | data: 107 | first: 108 | name: _BumpScale 109 | second: 1 110 | data: 111 | first: 112 | name: _OcclusionStrength 113 | second: 1 114 | data: 115 | first: 116 | name: _DetailNormalMapScale 117 | second: 1 118 | data: 119 | first: 120 | name: _UVSec 121 | second: 0 122 | data: 123 | first: 124 | name: _Mode 125 | second: 0 126 | data: 127 | first: 128 | name: _Metallic 129 | second: 0 130 | m_Colors: 131 | data: 132 | first: 133 | name: _EmissionColor 134 | second: {r: 0, g: 0, b: 0, a: 1} 135 | data: 136 | first: 137 | name: _Color 138 | second: {r: 0, g: 0, b: 0, a: 1} 139 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Materials/Display.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea16435dffa3e34408933b59f313504c 3 | timeCreated: 1455218498 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8556b0bb83ac13c45bd642658512e376 3 | folderAsset: yes 4 | timeCreated: 1454801716 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Scenes/Main.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.44657898, g: 0.4964133, b: 0.5748178, 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_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 10 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 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_FinalGather: 0 70 | m_FinalGatherFiltering: 1 71 | m_FinalGatherRayCount: 1024 72 | m_ReflectionCompression: 2 73 | m_MixedBakeMode: 1 74 | m_BakeBackend: 0 75 | m_PVRSampling: 1 76 | m_PVRDirectSampleCount: 32 77 | m_PVRSampleCount: 500 78 | m_PVRBounces: 2 79 | m_PVRFilterTypeDirect: 0 80 | m_PVRFilterTypeIndirect: 0 81 | m_PVRFilterTypeAO: 0 82 | m_PVRFilteringMode: 1 83 | m_PVRCulling: 1 84 | m_PVRFilteringGaussRadiusDirect: 1 85 | m_PVRFilteringGaussRadiusIndirect: 5 86 | m_PVRFilteringGaussRadiusAO: 2 87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 89 | m_PVRFilteringAtrousPositionSigmaAO: 1 90 | m_ShowResolutionOverlay: 1 91 | m_LightingDataAsset: {fileID: 0} 92 | m_UseShadowmask: 0 93 | --- !u!196 &4 94 | NavMeshSettings: 95 | serializedVersion: 2 96 | m_ObjectHideFlags: 0 97 | m_BuildSettings: 98 | serializedVersion: 2 99 | agentTypeID: 0 100 | agentRadius: 0.5 101 | agentHeight: 2 102 | agentSlope: 45 103 | agentClimb: 0.4 104 | ledgeDropHeight: 0 105 | maxJumpAcrossDistance: 0 106 | minRegionArea: 2 107 | manualCellSize: 0 108 | cellSize: 0.16666667 109 | manualTileSize: 0 110 | tileSize: 256 111 | accuratePlacement: 0 112 | debug: 113 | m_Flags: 0 114 | m_NavMeshData: {fileID: 0} 115 | --- !u!1 &536390079 116 | GameObject: 117 | m_ObjectHideFlags: 0 118 | m_CorrespondingSourceObject: {fileID: 0} 119 | m_PrefabInstance: {fileID: 0} 120 | m_PrefabAsset: {fileID: 0} 121 | serializedVersion: 6 122 | m_Component: 123 | - component: {fileID: 536390081} 124 | - component: {fileID: 536390080} 125 | m_Layer: 0 126 | m_Name: Directional Light 127 | m_TagString: Untagged 128 | m_Icon: {fileID: 0} 129 | m_NavMeshLayer: 0 130 | m_StaticEditorFlags: 0 131 | m_IsActive: 1 132 | --- !u!108 &536390080 133 | Light: 134 | m_ObjectHideFlags: 0 135 | m_CorrespondingSourceObject: {fileID: 0} 136 | m_PrefabInstance: {fileID: 0} 137 | m_PrefabAsset: {fileID: 0} 138 | m_GameObject: {fileID: 536390079} 139 | m_Enabled: 1 140 | serializedVersion: 8 141 | m_Type: 1 142 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 143 | m_Intensity: 1 144 | m_Range: 10 145 | m_SpotAngle: 30 146 | m_CookieSize: 10 147 | m_Shadows: 148 | m_Type: 2 149 | m_Resolution: -1 150 | m_CustomResolution: -1 151 | m_Strength: 1 152 | m_Bias: 0.05 153 | m_NormalBias: 0.4 154 | m_NearPlane: 0.2 155 | m_Cookie: {fileID: 0} 156 | m_DrawHalo: 0 157 | m_Flare: {fileID: 0} 158 | m_RenderMode: 0 159 | m_CullingMask: 160 | serializedVersion: 2 161 | m_Bits: 4294967295 162 | m_Lightmapping: 4 163 | m_LightShadowCasterMode: 0 164 | m_AreaSize: {x: 1, y: 1} 165 | m_BounceIntensity: 1 166 | m_ColorTemperature: 6570 167 | m_UseColorTemperature: 0 168 | m_ShadowRadius: 0 169 | m_ShadowAngle: 0 170 | --- !u!4 &536390081 171 | Transform: 172 | m_ObjectHideFlags: 0 173 | m_CorrespondingSourceObject: {fileID: 0} 174 | m_PrefabInstance: {fileID: 0} 175 | m_PrefabAsset: {fileID: 0} 176 | m_GameObject: {fileID: 536390079} 177 | m_LocalRotation: {x: 0.40821794, y: -0.23456973, z: 0.109381676, w: 0.87542605} 178 | m_LocalPosition: {x: 0, y: 3, z: 0} 179 | m_LocalScale: {x: 1, y: 1, z: 1} 180 | m_Children: [] 181 | m_Father: {fileID: 0} 182 | m_RootOrder: 1 183 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 184 | --- !u!4 &589599783 stripped 185 | Transform: 186 | m_CorrespondingSourceObject: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, 187 | type: 3} 188 | m_PrefabInstance: {fileID: 793110061} 189 | m_PrefabAsset: {fileID: 0} 190 | --- !u!1 &635089073 191 | GameObject: 192 | m_ObjectHideFlags: 0 193 | m_CorrespondingSourceObject: {fileID: 0} 194 | m_PrefabInstance: {fileID: 0} 195 | m_PrefabAsset: {fileID: 0} 196 | serializedVersion: 6 197 | m_Component: 198 | - component: {fileID: 635089077} 199 | - component: {fileID: 635089076} 200 | - component: {fileID: 635089075} 201 | - component: {fileID: 635089074} 202 | m_Layer: 0 203 | m_Name: Display 204 | m_TagString: Untagged 205 | m_Icon: {fileID: 0} 206 | m_NavMeshLayer: 0 207 | m_StaticEditorFlags: 0 208 | m_IsActive: 1 209 | --- !u!23 &635089074 210 | MeshRenderer: 211 | m_ObjectHideFlags: 0 212 | m_CorrespondingSourceObject: {fileID: 0} 213 | m_PrefabInstance: {fileID: 0} 214 | m_PrefabAsset: {fileID: 0} 215 | m_GameObject: {fileID: 635089073} 216 | m_Enabled: 1 217 | m_CastShadows: 1 218 | m_ReceiveShadows: 1 219 | m_DynamicOccludee: 1 220 | m_MotionVectors: 1 221 | m_LightProbeUsage: 1 222 | m_ReflectionProbeUsage: 1 223 | m_RenderingLayerMask: 1 224 | m_RendererPriority: 0 225 | m_Materials: 226 | - {fileID: 2100000, guid: ea16435dffa3e34408933b59f313504c, type: 2} 227 | m_StaticBatchInfo: 228 | firstSubMesh: 0 229 | subMeshCount: 0 230 | m_StaticBatchRoot: {fileID: 0} 231 | m_ProbeAnchor: {fileID: 0} 232 | m_LightProbeVolumeOverride: {fileID: 0} 233 | m_ScaleInLightmap: 1 234 | m_PreserveUVs: 1 235 | m_IgnoreNormalsForChartDetection: 0 236 | m_ImportantGI: 0 237 | m_StitchLightmapSeams: 0 238 | m_SelectedEditorRenderState: 3 239 | m_MinimumChartSize: 4 240 | m_AutoUVMaxDistance: 0.5 241 | m_AutoUVMaxAngle: 89 242 | m_LightmapParameters: {fileID: 0} 243 | m_SortingLayerID: 0 244 | m_SortingLayer: 0 245 | m_SortingOrder: 0 246 | --- !u!64 &635089075 247 | MeshCollider: 248 | m_ObjectHideFlags: 0 249 | m_CorrespondingSourceObject: {fileID: 0} 250 | m_PrefabInstance: {fileID: 0} 251 | m_PrefabAsset: {fileID: 0} 252 | m_GameObject: {fileID: 635089073} 253 | m_Material: {fileID: 0} 254 | m_IsTrigger: 0 255 | m_Enabled: 1 256 | serializedVersion: 3 257 | m_Convex: 0 258 | m_CookingOptions: 14 259 | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 260 | --- !u!33 &635089076 261 | MeshFilter: 262 | m_ObjectHideFlags: 0 263 | m_CorrespondingSourceObject: {fileID: 0} 264 | m_PrefabInstance: {fileID: 0} 265 | m_PrefabAsset: {fileID: 0} 266 | m_GameObject: {fileID: 635089073} 267 | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 268 | --- !u!4 &635089077 269 | Transform: 270 | m_ObjectHideFlags: 0 271 | m_CorrespondingSourceObject: {fileID: 0} 272 | m_PrefabInstance: {fileID: 0} 273 | m_PrefabAsset: {fileID: 0} 274 | m_GameObject: {fileID: 635089073} 275 | m_LocalRotation: {x: 0, y: 0, z: 1, w: -0.00000016292068} 276 | m_LocalPosition: {x: 0, y: 6.2, z: -0.16} 277 | m_LocalScale: {x: 14.1, y: 7.3, z: 1} 278 | m_Children: [] 279 | m_Father: {fileID: 589599783} 280 | m_RootOrder: 0 281 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 282 | --- !u!1001 &793110061 283 | PrefabInstance: 284 | m_ObjectHideFlags: 0 285 | serializedVersion: 2 286 | m_Modification: 287 | m_TransformParent: {fileID: 0} 288 | m_Modifications: 289 | - target: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 290 | propertyPath: m_LocalPosition.x 291 | value: 0 292 | objectReference: {fileID: 0} 293 | - target: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 294 | propertyPath: m_LocalPosition.y 295 | value: -5 296 | objectReference: {fileID: 0} 297 | - target: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 298 | propertyPath: m_LocalPosition.z 299 | value: 5 300 | objectReference: {fileID: 0} 301 | - target: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 302 | propertyPath: m_LocalRotation.x 303 | value: 0 304 | objectReference: {fileID: 0} 305 | - target: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 306 | propertyPath: m_LocalRotation.y 307 | value: 0 308 | objectReference: {fileID: 0} 309 | - target: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 310 | propertyPath: m_LocalRotation.z 311 | value: 0 312 | objectReference: {fileID: 0} 313 | - target: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 314 | propertyPath: m_LocalRotation.w 315 | value: 1 316 | objectReference: {fileID: 0} 317 | - target: {fileID: 400000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 318 | propertyPath: m_RootOrder 319 | value: 4 320 | objectReference: {fileID: 0} 321 | m_RemovedComponents: [] 322 | m_SourcePrefab: {fileID: 100100000, guid: ad6611d95a9ac7d45bc4da137220780c, type: 3} 323 | --- !u!1 &794582236 324 | GameObject: 325 | m_ObjectHideFlags: 0 326 | m_CorrespondingSourceObject: {fileID: 0} 327 | m_PrefabInstance: {fileID: 0} 328 | m_PrefabAsset: {fileID: 0} 329 | serializedVersion: 6 330 | m_Component: 331 | - component: {fileID: 794582239} 332 | - component: {fileID: 794582237} 333 | - component: {fileID: 794582238} 334 | m_Layer: 0 335 | m_Name: Speaker 336 | m_TagString: Untagged 337 | m_Icon: {fileID: 0} 338 | m_NavMeshLayer: 0 339 | m_StaticEditorFlags: 0 340 | m_IsActive: 1 341 | --- !u!114 &794582237 342 | MonoBehaviour: 343 | m_ObjectHideFlags: 0 344 | m_CorrespondingSourceObject: {fileID: 0} 345 | m_PrefabInstance: {fileID: 0} 346 | m_PrefabAsset: {fileID: 0} 347 | m_GameObject: {fileID: 794582236} 348 | m_Enabled: 1 349 | m_EditorHideFlags: 0 350 | m_Script: {fileID: 11500000, guid: d6dc3492d41d4c4469b1d488deb77f90, type: 3} 351 | m_Name: 352 | m_EditorClassIdentifier: 353 | --- !u!82 &794582238 354 | AudioSource: 355 | m_ObjectHideFlags: 0 356 | m_CorrespondingSourceObject: {fileID: 0} 357 | m_PrefabInstance: {fileID: 0} 358 | m_PrefabAsset: {fileID: 0} 359 | m_GameObject: {fileID: 794582236} 360 | m_Enabled: 1 361 | serializedVersion: 4 362 | OutputAudioMixerGroup: {fileID: 24300001, guid: 45a3f48bc5351ba41a9f653bcb33f562, 363 | type: 2} 364 | m_audioClip: {fileID: 0} 365 | m_PlayOnAwake: 0 366 | m_Volume: 1 367 | m_Pitch: 1 368 | Loop: 0 369 | Mute: 0 370 | Spatialize: 0 371 | SpatializePostEffects: 0 372 | Priority: 128 373 | DopplerLevel: 1 374 | MinDistance: 1 375 | MaxDistance: 500 376 | Pan2D: 0 377 | rolloffMode: 0 378 | BypassEffects: 0 379 | BypassListenerEffects: 0 380 | BypassReverbZones: 0 381 | rolloffCustomCurve: 382 | serializedVersion: 2 383 | m_Curve: 384 | - serializedVersion: 3 385 | time: 0 386 | value: 1 387 | inSlope: 0 388 | outSlope: 0 389 | tangentMode: 0 390 | weightedMode: 0 391 | inWeight: 0.33333334 392 | outWeight: 0.33333334 393 | - serializedVersion: 3 394 | time: 1 395 | value: 0 396 | inSlope: 0 397 | outSlope: 0 398 | tangentMode: 0 399 | weightedMode: 0 400 | inWeight: 0.33333334 401 | outWeight: 0.33333334 402 | m_PreInfinity: 2 403 | m_PostInfinity: 2 404 | m_RotationOrder: 4 405 | panLevelCustomCurve: 406 | serializedVersion: 2 407 | m_Curve: 408 | - serializedVersion: 3 409 | time: 0 410 | value: 0 411 | inSlope: 0 412 | outSlope: 0 413 | tangentMode: 0 414 | weightedMode: 0 415 | inWeight: 0.33333334 416 | outWeight: 0.33333334 417 | m_PreInfinity: 2 418 | m_PostInfinity: 2 419 | m_RotationOrder: 0 420 | spreadCustomCurve: 421 | serializedVersion: 2 422 | m_Curve: 423 | - serializedVersion: 3 424 | time: 0 425 | value: 0 426 | inSlope: 0 427 | outSlope: 0 428 | tangentMode: 0 429 | weightedMode: 0 430 | inWeight: 0.33333334 431 | outWeight: 0.33333334 432 | m_PreInfinity: 2 433 | m_PostInfinity: 2 434 | m_RotationOrder: 0 435 | reverbZoneMixCustomCurve: 436 | serializedVersion: 2 437 | m_Curve: 438 | - serializedVersion: 3 439 | time: 0 440 | value: 1 441 | inSlope: 0 442 | outSlope: 0 443 | tangentMode: 0 444 | weightedMode: 0 445 | inWeight: 0.33333334 446 | outWeight: 0.33333334 447 | m_PreInfinity: 2 448 | m_PostInfinity: 2 449 | m_RotationOrder: 0 450 | --- !u!4 &794582239 451 | Transform: 452 | m_ObjectHideFlags: 0 453 | m_CorrespondingSourceObject: {fileID: 0} 454 | m_PrefabInstance: {fileID: 0} 455 | m_PrefabAsset: {fileID: 0} 456 | m_GameObject: {fileID: 794582236} 457 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 458 | m_LocalPosition: {x: 0, y: 0, z: 0} 459 | m_LocalScale: {x: 1, y: 1, z: 1} 460 | m_Children: [] 461 | m_Father: {fileID: 0} 462 | m_RootOrder: 3 463 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 464 | --- !u!1 &1042651432 465 | GameObject: 466 | m_ObjectHideFlags: 0 467 | m_CorrespondingSourceObject: {fileID: 0} 468 | m_PrefabInstance: {fileID: 0} 469 | m_PrefabAsset: {fileID: 0} 470 | serializedVersion: 6 471 | m_Component: 472 | - component: {fileID: 1042651434} 473 | - component: {fileID: 1042651433} 474 | - component: {fileID: 1042651435} 475 | m_Layer: 0 476 | m_Name: Libretro 477 | m_TagString: Untagged 478 | m_Icon: {fileID: 0} 479 | m_NavMeshLayer: 0 480 | m_StaticEditorFlags: 0 481 | m_IsActive: 1 482 | --- !u!114 &1042651433 483 | MonoBehaviour: 484 | m_ObjectHideFlags: 0 485 | m_CorrespondingSourceObject: {fileID: 0} 486 | m_PrefabInstance: {fileID: 0} 487 | m_PrefabAsset: {fileID: 0} 488 | m_GameObject: {fileID: 1042651432} 489 | m_Enabled: 1 490 | m_EditorHideFlags: 0 491 | m_Script: {fileID: 11500000, guid: fa23bc7544cb7424d82395ceb802c073, type: 3} 492 | m_Name: 493 | m_EditorClassIdentifier: 494 | --- !u!4 &1042651434 495 | Transform: 496 | m_ObjectHideFlags: 0 497 | m_CorrespondingSourceObject: {fileID: 0} 498 | m_PrefabInstance: {fileID: 0} 499 | m_PrefabAsset: {fileID: 0} 500 | m_GameObject: {fileID: 1042651432} 501 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 502 | m_LocalPosition: {x: 0, y: 0, z: 0} 503 | m_LocalScale: {x: 1, y: 1, z: 1} 504 | m_Children: [] 505 | m_Father: {fileID: 0} 506 | m_RootOrder: 2 507 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 508 | --- !u!114 &1042651435 509 | MonoBehaviour: 510 | m_ObjectHideFlags: 0 511 | m_CorrespondingSourceObject: {fileID: 0} 512 | m_PrefabInstance: {fileID: 0} 513 | m_PrefabAsset: {fileID: 0} 514 | m_GameObject: {fileID: 1042651432} 515 | m_Enabled: 1 516 | m_EditorHideFlags: 0 517 | m_Script: {fileID: 11500000, guid: 52ea678dff3796c4c92ab162cb5764bd, type: 3} 518 | m_Name: 519 | m_EditorClassIdentifier: 520 | CoreName: snes9x_libretro 521 | RomName: Chrono Trigger (USA).sfc 522 | Display: {fileID: 635089074} 523 | --- !u!1001 &1178825821 524 | PrefabInstance: 525 | m_ObjectHideFlags: 0 526 | serializedVersion: 2 527 | m_Modification: 528 | m_TransformParent: {fileID: 0} 529 | m_Modifications: 530 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 531 | propertyPath: m_LocalPosition.x 532 | value: 0 533 | objectReference: {fileID: 0} 534 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 535 | propertyPath: m_LocalPosition.y 536 | value: -12.5 537 | objectReference: {fileID: 0} 538 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 539 | propertyPath: m_LocalPosition.z 540 | value: 4 541 | objectReference: {fileID: 0} 542 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 543 | propertyPath: m_LocalRotation.x 544 | value: 0.000000115202326 545 | objectReference: {fileID: 0} 546 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 547 | propertyPath: m_LocalRotation.y 548 | value: 0.7071068 549 | objectReference: {fileID: 0} 550 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 551 | propertyPath: m_LocalRotation.z 552 | value: 0.7071067 553 | objectReference: {fileID: 0} 554 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 555 | propertyPath: m_LocalRotation.w 556 | value: -0.00000011520231 557 | objectReference: {fileID: 0} 558 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 559 | propertyPath: m_RootOrder 560 | value: 5 561 | objectReference: {fileID: 0} 562 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 563 | propertyPath: m_LocalScale.x 564 | value: 10 565 | objectReference: {fileID: 0} 566 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 567 | propertyPath: m_LocalScale.y 568 | value: 10 569 | objectReference: {fileID: 0} 570 | - target: {fileID: 400002, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 571 | propertyPath: m_LocalScale.z 572 | value: 10 573 | objectReference: {fileID: 0} 574 | m_RemovedComponents: [] 575 | m_SourcePrefab: {fileID: 100100000, guid: 29e497487ae706f4a90f81cac1f10ccf, type: 3} 576 | --- !u!1 &1702816979 577 | GameObject: 578 | m_ObjectHideFlags: 0 579 | m_CorrespondingSourceObject: {fileID: 0} 580 | m_PrefabInstance: {fileID: 0} 581 | m_PrefabAsset: {fileID: 0} 582 | serializedVersion: 6 583 | m_Component: 584 | - component: {fileID: 1702816984} 585 | - component: {fileID: 1702816983} 586 | - component: {fileID: 1702816981} 587 | - component: {fileID: 1702816980} 588 | - component: {fileID: 1702816985} 589 | m_Layer: 0 590 | m_Name: Main Camera 591 | m_TagString: MainCamera 592 | m_Icon: {fileID: 0} 593 | m_NavMeshLayer: 0 594 | m_StaticEditorFlags: 0 595 | m_IsActive: 1 596 | --- !u!81 &1702816980 597 | AudioListener: 598 | m_ObjectHideFlags: 0 599 | m_CorrespondingSourceObject: {fileID: 0} 600 | m_PrefabInstance: {fileID: 0} 601 | m_PrefabAsset: {fileID: 0} 602 | m_GameObject: {fileID: 1702816979} 603 | m_Enabled: 1 604 | --- !u!124 &1702816981 605 | Behaviour: 606 | m_ObjectHideFlags: 0 607 | m_CorrespondingSourceObject: {fileID: 0} 608 | m_PrefabInstance: {fileID: 0} 609 | m_PrefabAsset: {fileID: 0} 610 | m_GameObject: {fileID: 1702816979} 611 | m_Enabled: 1 612 | --- !u!20 &1702816983 613 | Camera: 614 | m_ObjectHideFlags: 0 615 | m_CorrespondingSourceObject: {fileID: 0} 616 | m_PrefabInstance: {fileID: 0} 617 | m_PrefabAsset: {fileID: 0} 618 | m_GameObject: {fileID: 1702816979} 619 | m_Enabled: 1 620 | serializedVersion: 2 621 | m_ClearFlags: 2 622 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844} 623 | m_projectionMatrixMode: 1 624 | m_SensorSize: {x: 36, y: 24} 625 | m_LensShift: {x: 0, y: 0} 626 | m_GateFitMode: 2 627 | m_FocalLength: 50 628 | m_NormalizedViewPortRect: 629 | serializedVersion: 2 630 | x: 0 631 | y: 0 632 | width: 1 633 | height: 1 634 | near clip plane: 0.3 635 | far clip plane: 1000 636 | field of view: 60 637 | orthographic: 0 638 | orthographic size: 5 639 | m_Depth: -1 640 | m_CullingMask: 641 | serializedVersion: 2 642 | m_Bits: 4294967295 643 | m_RenderingPath: -1 644 | m_TargetTexture: {fileID: 0} 645 | m_TargetDisplay: 0 646 | m_TargetEye: 3 647 | m_HDR: 0 648 | m_AllowMSAA: 1 649 | m_AllowDynamicResolution: 0 650 | m_ForceIntoRT: 0 651 | m_OcclusionCulling: 1 652 | m_StereoConvergence: 10 653 | m_StereoSeparation: 0.022 654 | --- !u!4 &1702816984 655 | Transform: 656 | m_ObjectHideFlags: 0 657 | m_CorrespondingSourceObject: {fileID: 0} 658 | m_PrefabInstance: {fileID: 0} 659 | m_PrefabAsset: {fileID: 0} 660 | m_GameObject: {fileID: 1702816979} 661 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 662 | m_LocalPosition: {x: 0, y: 0, z: -10} 663 | m_LocalScale: {x: 1, y: 1, z: 1} 664 | m_Children: [] 665 | m_Father: {fileID: 0} 666 | m_RootOrder: 0 667 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 668 | --- !u!114 &1702816985 669 | MonoBehaviour: 670 | m_ObjectHideFlags: 0 671 | m_CorrespondingSourceObject: {fileID: 0} 672 | m_PrefabInstance: {fileID: 0} 673 | m_PrefabAsset: {fileID: 0} 674 | m_GameObject: {fileID: 1702816979} 675 | m_Enabled: 0 676 | m_EditorHideFlags: 0 677 | m_Script: {fileID: 11500000, guid: aaf7309e7e423004696df04cdf3b7a8b, type: 3} 678 | m_Name: 679 | m_EditorClassIdentifier: 680 | ClampInDegrees: {x: 360, y: 180} 681 | LockCursor: 1 682 | Sensitivity: {x: 2, y: 2} 683 | Smoothing: {x: 3, y: 3} 684 | TargetDirection: {x: 0, y: 0} 685 | TargetCharacterDirection: {x: 0, y: 0} 686 | characterBody: {fileID: 0} 687 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Scenes/Main.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2237cdf8f9d8aba4eab6893363b5d040 3 | timeCreated: 1454801721 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2d6321a929c92a48a55c08b8378c50a 3 | folderAsset: yes 4 | timeCreated: 1481646732 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Scripts/SmoothMouseLook.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace RetroUnity.Examples { 4 | [AddComponentMenu("Camera/Smooth Mouse Look ")] 5 | public class SmoothMouseLook : MonoBehaviour { 6 | private Vector2 _mouseAbsolute; 7 | private Vector2 _smoothMouse; 8 | 9 | public Vector2 ClampInDegrees = new Vector2(360, 180); 10 | public bool LockCursor; 11 | public Vector2 Sensitivity = new Vector2(2, 2); 12 | public Vector2 Smoothing = new Vector2(3, 3); 13 | public Vector2 TargetDirection; 14 | public Vector2 TargetCharacterDirection; 15 | 16 | // Assign this if there's a parent object controlling motion, such as a Character Controller. 17 | // Yaw rotation will affect this object instead of the camera if set. 18 | public GameObject characterBody; 19 | 20 | private void Start() { 21 | // Set target direction to the camera's initial orientation. 22 | TargetDirection = transform.localRotation.eulerAngles; 23 | 24 | // Set target direction for the character body to its inital state. 25 | if (characterBody) TargetCharacterDirection = characterBody.transform.localRotation.eulerAngles; 26 | } 27 | 28 | private void Update() { 29 | if (LockCursor) 30 | Cursor.lockState = CursorLockMode.Confined; 31 | 32 | // Allow the script to clamp based on a desired target value. 33 | var targetOrientation = Quaternion.Euler(TargetDirection); 34 | var targetCharacterOrientation = Quaternion.Euler(TargetCharacterDirection); 35 | 36 | // Get raw mouse input for a cleaner reading on more sensitive mice. 37 | var mouseDelta = new Vector2(Input.GetAxisRaw("Mouse X"), Input.GetAxisRaw("Mouse Y")); 38 | 39 | // Scale input against the sensitivity setting and multiply that against the smoothing value. 40 | mouseDelta = Vector2.Scale(mouseDelta, new Vector2(Sensitivity.x*Smoothing.x, Sensitivity.y*Smoothing.y)); 41 | 42 | // Interpolate mouse movement over time to apply smoothing delta. 43 | _smoothMouse.x = Mathf.Lerp(_smoothMouse.x, mouseDelta.x, 1f/Smoothing.x); 44 | _smoothMouse.y = Mathf.Lerp(_smoothMouse.y, mouseDelta.y, 1f/Smoothing.y); 45 | 46 | // Find the absolute mouse movement value from point zero. 47 | _mouseAbsolute += _smoothMouse; 48 | 49 | // Clamp and apply the local x value first, so as not to be affected by world transforms. 50 | if (ClampInDegrees.x < 360) 51 | _mouseAbsolute.x = Mathf.Clamp(_mouseAbsolute.x, -ClampInDegrees.x*0.5f, ClampInDegrees.x*0.5f); 52 | 53 | var xRotation = Quaternion.AngleAxis(-_mouseAbsolute.y, targetOrientation*Vector3.right); 54 | transform.localRotation = xRotation; 55 | 56 | // Then clamp and apply the global y value. 57 | if (ClampInDegrees.y < 360) 58 | _mouseAbsolute.y = Mathf.Clamp(_mouseAbsolute.y, -ClampInDegrees.y*0.5f, ClampInDegrees.y*0.5f); 59 | 60 | transform.localRotation *= targetOrientation; 61 | 62 | // If there's a character body that acts as a parent to the camera 63 | if (characterBody) { 64 | var yRotation = Quaternion.AngleAxis(_mouseAbsolute.x, characterBody.transform.up); 65 | characterBody.transform.localRotation = yRotation; 66 | characterBody.transform.localRotation *= targetCharacterOrientation; 67 | } 68 | else { 69 | var yRotation = Quaternion.AngleAxis(_mouseAbsolute.x, transform.InverseTransformDirection(Vector3.up)); 70 | transform.localRotation *= yRotation; 71 | } 72 | } 73 | } 74 | } -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Examples/Scripts/SmoothMouseLook.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aaf7309e7e423004696df04cdf3b7a8b 3 | timeCreated: 1455229048 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/Plugins/RetroUnity/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69d216f66134a5948ac5836ef6690cac 3 | folderAsset: yes 4 | timeCreated: 1455207495 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/CoreDownloader.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_EDITOR 2 | 3 | using System; 4 | using System.Collections.Generic; 5 | using System.IO; 6 | using System.IO.Compression; 7 | using System.Net; 8 | using UnityEditor; 9 | using UnityEngine; 10 | 11 | namespace RetroUnity 12 | { 13 | public class CoreDownloader 14 | { 15 | 16 | string DownloadFile(string url, string directory) 17 | { 18 | using (var webClient = new WebClient()) 19 | { 20 | var fileName = Path.GetFileName(url); 21 | var filePath = Path.Combine(directory, fileName); 22 | Debug.Log($"Downloading at {filePath} from {url}"); 23 | 24 | webClient.DownloadFile(new Uri(url), filePath); 25 | return filePath; 26 | } 27 | } 28 | 29 | [MenuItem("Libretro/Download cores")] 30 | static void DownloadCores() 31 | { 32 | var coreNames = new List() 33 | { 34 | "snes9x","blastem", "nestopia" 35 | }; 36 | foreach (var coreName in coreNames) 37 | { 38 | DownloadCores(coreName); 39 | } 40 | } 41 | 42 | string extractDirectory(BuildTarget buildTarget) 43 | { 44 | switch (buildTarget) 45 | { 46 | case BuildTarget.Android: 47 | case BuildTarget.iOS: 48 | return Path.Combine(Application.dataPath, "Plugins"); 49 | default: 50 | return Application.streamingAssetsPath; 51 | } 52 | } 53 | 54 | void unzipCore(BuildTarget buildTarget, string zipPath, string extractDirectory) 55 | { 56 | try 57 | { 58 | using (var archive = ZipFile.OpenRead(zipPath)) 59 | { 60 | foreach (var entry in archive.Entries) 61 | { 62 | // Gets the full path to ensure that relative segments are removed. 63 | var destinationPath = Path.GetFullPath(Path.Combine(extractDirectory, entry.FullName)); 64 | if (File.Exists(destinationPath)) 65 | { 66 | File.Delete(destinationPath); 67 | } 68 | 69 | entry.ExtractToFile(destinationPath); 70 | 71 | var relativePath = destinationPath.Substring(destinationPath.IndexOf("Assets")); 72 | AssetDatabase.ImportAsset(relativePath); 73 | 74 | 75 | // Only for plugins 76 | if (relativePath.Contains("Plugins")) 77 | { 78 | setNativePluginLibrary(buildTarget, relativePath); 79 | } 80 | 81 | } 82 | } 83 | } 84 | finally 85 | { 86 | File.Delete(zipPath); 87 | } 88 | 89 | } 90 | 91 | static void DownloadCores(string romName) 92 | { 93 | // http://buildbot.libretro.com/nightly 94 | var cores = new Dictionary() 95 | { 96 | // Standalone 97 | { BuildTarget.StandaloneWindows, $"http://buildbot.libretro.com/nightly/windows/x86_64/latest/{romName}_libretro.dll.zip" } , 98 | { BuildTarget.StandaloneLinux64, $"http://buildbot.libretro.com/nightly/linux/x86_64/latest/{romName}_libretro.so.zip" } , 99 | { BuildTarget.StandaloneOSX, $"http://buildbot.libretro.com/nightly/apple/osx/x86_64/latest/{romName}_libretro.dylib.zip"}, 100 | // Mobile 101 | { BuildTarget.Android, $"http://buildbot.libretro.com/nightly/android/latest/armeabi-v7a/{romName}_libretro_android.so.zip" }, 102 | { BuildTarget.iOS, $"http://buildbot.libretro.com/nightly/apple/ios/latest/{romName}_libretro_ios.dylib.zip" } 103 | 104 | }; 105 | 106 | var coreDownloader = new CoreDownloader(); 107 | foreach(var item in cores) 108 | { 109 | var buildTarget = item.Key; 110 | var url = item.Value; 111 | var extractDirectory = coreDownloader.extractDirectory(buildTarget); 112 | try 113 | { 114 | var zipPath = coreDownloader.DownloadFile(url, extractDirectory); 115 | Debug.Log($"File successfully downloaded and saved to {zipPath}"); 116 | coreDownloader.unzipCore(buildTarget, zipPath, extractDirectory); 117 | Debug.Log($"Unzipping successfully downloaded and saved to {item.Value}"); 118 | 119 | } 120 | catch (Exception e) 121 | { 122 | Debug.Log($"Error downloading: '{e}'"); 123 | } 124 | 125 | } 126 | 127 | } 128 | 129 | static void setNativePluginLibrary(BuildTarget buildTarget, string pluginRelativePath) 130 | { 131 | // native library, avaiable only for mobile 132 | var nativePlugin = AssetImporter.GetAtPath(pluginRelativePath) as PluginImporter; 133 | nativePlugin.SetCompatibleWithEditor(false); 134 | nativePlugin.SetCompatibleWithAnyPlatform(false); 135 | nativePlugin.SetCompatibleWithPlatform(buildTarget, true); 136 | nativePlugin.SetPlatformData(buildTarget, "CompileFlags", "-fno-objc-arc"); 137 | } 138 | 139 | } 140 | } 141 | 142 | #endif -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/GameManager.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using RetroUnity.Utility; 3 | using UnityEngine; 4 | 5 | namespace RetroUnity { 6 | public class GameManager : MonoBehaviour { 7 | 8 | [SerializeField] private string CoreName = "snes9x_libretro"; 9 | [SerializeField] private string RomName = "Chrono Trigger (USA).sfc"; 10 | private LibretroWrapper.Wrapper wrapper; 11 | 12 | private float _frameTimer; 13 | 14 | public Renderer Display; 15 | 16 | private void Awake() { 17 | LoadRom(Application.streamingAssetsPath + "/" + RomName); 18 | } 19 | 20 | private void Update() { 21 | if (wrapper != null) { 22 | _frameTimer += Time.deltaTime; 23 | float timePerFrame = 1f / (float)wrapper.GetAVInfo().timing.fps; 24 | 25 | while (_frameTimer >= timePerFrame) 26 | { 27 | wrapper.Update(); 28 | _frameTimer -= timePerFrame; 29 | } 30 | } 31 | if (LibretroWrapper.tex != null) { 32 | Display.material.mainTexture = LibretroWrapper.tex; 33 | } 34 | } 35 | 36 | public void LoadRom(string path) { 37 | #if UNITY_EDITOR || UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_STANDALONE_LINUX 38 | // If the file doesn't exist the application gets stuck in a loop. 39 | if (!File.Exists(path)) 40 | { 41 | Debug.LogError(path + " not found."); 42 | return; 43 | } 44 | #endif 45 | Display.material.color = Color.white; 46 | 47 | wrapper = new LibretroWrapper.Wrapper(CoreName); 48 | 49 | wrapper.Init(); 50 | wrapper.LoadGame(path); 51 | } 52 | 53 | private void OnDestroy() { 54 | wrapper.DLLHandler.UnloadCore(); 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/GameManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52ea678dff3796c4c92ab162cb5764bd 3 | timeCreated: 1455300169 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/Plugins/RetroUnity/Scripts/LibretroWrapper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa23bc7544cb7424d82395ceb802c073 3 | timeCreated: 1455215465 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/Plugins/RetroUnity/Scripts/Speaker.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace RetroUnity { 5 | [RequireComponent(typeof(AudioSource))] 6 | public class Speaker : MonoBehaviour { 7 | 8 | private AudioSource _speaker; 9 | 10 | private void Start() { 11 | _speaker = GetComponent(); 12 | if (_speaker == null) return; 13 | //var audioConfig = AudioSettings.GetConfiguration(); 14 | //audioConfig.sampleRate = 32000; 15 | //AudioSettings.Reset(audioConfig); 16 | //AudioClip clip = AudioClip.Create("Libretro", LibretroWrapper.Wrapper.AudioBatchSize / 2, 2, 44100, true, OnAudioRead); 17 | //AudioClip clip = AudioClip.Create("Libretro", 256, 2, 32000, true); 18 | //_speaker.clip = clip; 19 | _speaker.Play(); 20 | //_speaker.loop = true; 21 | //Debug.Log("Unity sample rate: " + audioConfig.sampleRate); 22 | //Debug.Log("Unity buffer size: " + audioConfig.dspBufferSize); 23 | } 24 | 25 | private void OnAudioFilterRead(float[] data, int channels) { 26 | // wait until enough data is available 27 | if (LibretroWrapper.Wrapper.AudioBatch.Count < data.Length) 28 | return; 29 | int i; 30 | for (i = 0; i < data.Length; i++) 31 | data[i] = LibretroWrapper.Wrapper.AudioBatch[i]; 32 | // remove data from the beginning 33 | LibretroWrapper.Wrapper.AudioBatch.RemoveRange(0, i); 34 | } 35 | 36 | private void OnGUI() { 37 | GUI.Label(new Rect(0f, 0f, 300f, 20f), LibretroWrapper.Wrapper.AudioBatch.Count.ToString()); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/Speaker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6dc3492d41d4c4469b1d488deb77f90 3 | timeCreated: 1455215896 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/Plugins/RetroUnity/Scripts/Utility.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e53ce51dc32616408921433fb916160 3 | folderAsset: yes 4 | timeCreated: 1455314020 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/Utility/AndroidDLLHandler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Reflection; 4 | using System.Runtime.InteropServices; 5 | using UnityEngine; 6 | 7 | namespace RetroUnity.Utility 8 | { 9 | /// 10 | /// Android specific implementation for handling DLL loading. 11 | /// 12 | public sealed class AndroidDLLHandler : IDLLHandler 13 | { 14 | private Assembly currentAssembly; 15 | 16 | private static readonly AndroidDLLHandler instance = new AndroidDLLHandler(); 17 | 18 | /// 19 | /// Prevent 'new' keyword. 20 | /// 21 | private AndroidDLLHandler() 22 | { 23 | } 24 | 25 | /// 26 | /// Gets the current instance (singleton). 27 | /// 28 | public static AndroidDLLHandler Instance 29 | { 30 | get 31 | { 32 | #if UNITY_ANDROID 33 | return instance; 34 | #else 35 | Debug.LogError("This DLL handler is only compatible with Android."); 36 | return null; 37 | #endif 38 | } 39 | } 40 | 41 | public static void FreeLibrary (IntPtr handle) 42 | { 43 | dlclose (handle); 44 | } 45 | 46 | public bool LoadCore(string dllName) 47 | { 48 | // Don't neet to specify the path. Just the name 49 | string dllPath = dllName + "_android.so"; 50 | Debug.Log("LoadCore: " + dllPath); 51 | _dllPointer = LoadLibrary(dllPath); 52 | 53 | if (_dllPointer == IntPtr.Zero) { 54 | Debug.LogError("Error loading DLL."); 55 | return false; 56 | } 57 | 58 | return true; 59 | } 60 | 61 | public static IntPtr LoadLibrary (string fileName) 62 | { 63 | IntPtr retVal = dlopen (fileName, RTLD_NOW); 64 | var errPtr = dlerror (); 65 | if (errPtr != IntPtr.Zero) { 66 | Debug.LogError (Marshal.PtrToStringAnsi (errPtr)); 67 | } 68 | return retVal; 69 | } 70 | 71 | const int RTLD_NOW = 2; 72 | 73 | [DllImport("libdl.so", EntryPoint = "dlopen")] 74 | private static extern IntPtr dlopen (String fileName, int flags); 75 | 76 | [DllImport("libdl.so", EntryPoint = "dlsym")] 77 | private static extern IntPtr dlsym (IntPtr handle, String symbol); 78 | 79 | [DllImport("libdl.so", EntryPoint = "dlclose")] 80 | private static extern int dlclose (IntPtr handle); 81 | 82 | [DllImport("libdl.so", EntryPoint = "dlerror")] 83 | private static extern IntPtr dlerror (); 84 | 85 | private static IntPtr _dllPointer = IntPtr.Zero; 86 | 87 | 88 | public T GetMethod(string functionName) where T : class 89 | { 90 | if (_dllPointer == IntPtr.Zero) { 91 | Debug.LogError("DLL not found, cannot get method '" + functionName + "'"); 92 | return default(T); 93 | } 94 | 95 | IntPtr pAddressOfFunctionToCall = dlsym(_dllPointer, functionName); 96 | 97 | if (pAddressOfFunctionToCall == IntPtr.Zero) { 98 | return default(T); 99 | } 100 | 101 | return Marshal.GetDelegateForFunctionPointer(pAddressOfFunctionToCall, typeof(T)) as T; 102 | 103 | } 104 | 105 | public void UnloadCore() { 106 | FreeLibrary(_dllPointer); 107 | } 108 | 109 | } 110 | 111 | 112 | } -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/Utility/AndroidDLLHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10c3938dbc12c6d48971c3c1817514c4 3 | timeCreated: 1455315724 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/Plugins/RetroUnity/Scripts/Utility/IDLLHandler.cs: -------------------------------------------------------------------------------- 1 | namespace RetroUnity.Utility { 2 | /// 3 | /// Interface for loading DLL's and their functions. 4 | /// 5 | public interface IDLLHandler { 6 | 7 | /// 8 | /// What core to load. 9 | /// 10 | /// The full path to the core DLL. 11 | /// Returns true if loading was successful. 12 | bool LoadCore(string dllPath); 13 | 14 | void UnloadCore(); 15 | 16 | /// 17 | /// Get a method from the loaded DLL. 18 | /// 19 | /// The method delegate type. 20 | /// Name of the method. 21 | /// The method delegate. 22 | T GetMethod(string functionName) where T : class; 23 | 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/Utility/IDLLHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cb3d963307e1074bbd8c1a069ca779d 3 | timeCreated: 1455315724 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/Plugins/RetroUnity/Scripts/Utility/LinuxDLLHandler.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | using UnityEngine; 3 | using System; 4 | using System.IO; 5 | 6 | namespace RetroUnity.Utility { 7 | /// 8 | /// Linux specific implementation for handling DLL loading. 9 | /// 10 | public sealed class LinuxDLLHandler : IDLLHandler { 11 | 12 | public static IntPtr LoadLibrary (string fileName) 13 | { 14 | IntPtr retVal = dlopen (fileName, RTLD_NOW); 15 | var errPtr = dlerror (); 16 | if (errPtr != IntPtr.Zero) { 17 | Debug.LogError (Marshal.PtrToStringAnsi (errPtr)); 18 | } 19 | return retVal; 20 | } 21 | 22 | public static void FreeLibrary (IntPtr handle) 23 | { 24 | dlclose (handle); 25 | } 26 | 27 | const int RTLD_NOW = 2; 28 | 29 | [DllImport("libdl.so")] 30 | private static extern IntPtr dlopen (String fileName, int flags); 31 | 32 | [DllImport("libdl.so")] 33 | private static extern IntPtr dlsym (IntPtr handle, String symbol); 34 | 35 | [DllImport("libdl.so")] 36 | private static extern int dlclose (IntPtr handle); 37 | 38 | [DllImport("libdl.so")] 39 | private static extern IntPtr dlerror (); 40 | 41 | private static IntPtr _dllPointer = IntPtr.Zero; 42 | 43 | private static readonly LinuxDLLHandler instance = new LinuxDLLHandler(); 44 | 45 | /// 46 | /// Prevent 'new' keyword. 47 | /// 48 | private LinuxDLLHandler() { 49 | } 50 | 51 | /// 52 | /// Gets the current instance (singleton). 53 | /// 54 | public static LinuxDLLHandler Instance { 55 | get { 56 | #if UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX 57 | return instance; 58 | #else 59 | Debug.LogError("This DLL handler is only compatible with Linux."); 60 | return null; 61 | #endif 62 | } 63 | } 64 | 65 | 66 | public bool LoadCore(string dllName) 67 | { 68 | string dllPath = Path.Combine(Application.streamingAssetsPath,dllName) + ".so"; 69 | Debug.Log("LoadCore: " + dllPath); 70 | 71 | _dllPointer = LoadLibrary(dllPath); 72 | 73 | if (_dllPointer == IntPtr.Zero) { 74 | Debug.LogError("Error loading DLL."); 75 | return false; 76 | } 77 | 78 | return true; 79 | } 80 | 81 | public T GetMethod(String functionName) where T : class { 82 | if (_dllPointer == IntPtr.Zero) { 83 | Debug.LogError("DLL not found, cannot get method '" + functionName + "'"); 84 | return default(T); 85 | } 86 | 87 | IntPtr pAddressOfFunctionToCall = dlsym(_dllPointer, functionName); 88 | 89 | if (pAddressOfFunctionToCall == IntPtr.Zero) { 90 | return default(T); 91 | } 92 | 93 | return Marshal.GetDelegateForFunctionPointer(pAddressOfFunctionToCall, typeof(T)) as T; 94 | } 95 | 96 | public void UnloadCore() { 97 | FreeLibrary(_dllPointer); 98 | } 99 | 100 | 101 | } 102 | } -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/Utility/OSXDLLHandler.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | using UnityEngine; 3 | using System; 4 | using System.IO; 5 | 6 | namespace RetroUnity.Utility 7 | { 8 | /// 9 | /// OSX specific implementation for handling DLL loading. 10 | /// 11 | public sealed class OSXDLLHandler : IDLLHandler 12 | { 13 | public static IntPtr LoadLibrary(string fileName) 14 | { 15 | IntPtr retVal = dlopen(fileName, RTLD_NOW); 16 | var errPtr = dlerror(); 17 | if (errPtr != IntPtr.Zero) 18 | { 19 | Debug.LogError(Marshal.PtrToStringAnsi(errPtr)); 20 | } 21 | 22 | return retVal; 23 | } 24 | 25 | public static void FreeLibrary(IntPtr handle) 26 | { 27 | dlclose(handle); 28 | } 29 | 30 | const int RTLD_NOW = 2; 31 | 32 | [DllImport("libdl.dylib")] 33 | private static extern IntPtr dlopen(String fileName, int flags); 34 | 35 | [DllImport("libdl.dylib")] 36 | private static extern IntPtr dlsym(IntPtr handle, String symbol); 37 | 38 | [DllImport("libdl.dylib")] 39 | private static extern int dlclose(IntPtr handle); 40 | 41 | [DllImport("libdl.dylib")] 42 | private static extern IntPtr dlerror(); 43 | 44 | private static IntPtr _dllPointer = IntPtr.Zero; 45 | 46 | private static readonly OSXDLLHandler instance = new OSXDLLHandler(); 47 | 48 | /// 49 | /// Prevent 'new' keyword. 50 | /// 51 | private OSXDLLHandler() 52 | { 53 | } 54 | 55 | /// 56 | /// Gets the current instance (singleton). 57 | /// 58 | public static OSXDLLHandler Instance 59 | { 60 | get 61 | { 62 | #if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX 63 | return instance; 64 | #else 65 | Debug.LogError("This DLL handler is only compatible with OSX."); 66 | return null; 67 | #endif 68 | } 69 | } 70 | 71 | 72 | public bool LoadCore(string dllName) 73 | { 74 | string dllPath = Path.Combine(Application.streamingAssetsPath,dllName) + ".dylib"; 75 | Debug.Log("LoadCore: " + dllPath); 76 | _dllPointer = LoadLibrary(dllPath); 77 | 78 | if (_dllPointer == IntPtr.Zero) 79 | { 80 | Debug.LogError("Error loading DLL."); 81 | return false; 82 | } 83 | 84 | return true; 85 | } 86 | 87 | public T GetMethod(String functionName) where T : class 88 | { 89 | if (_dllPointer == IntPtr.Zero) 90 | { 91 | Debug.LogError("DLL not found, cannot get method '" + functionName + "'"); 92 | return default(T); 93 | } 94 | 95 | IntPtr pAddressOfFunctionToCall = dlsym(_dllPointer, functionName); 96 | 97 | if (pAddressOfFunctionToCall == IntPtr.Zero) 98 | { 99 | return default(T); 100 | } 101 | 102 | return Marshal.GetDelegateForFunctionPointer(pAddressOfFunctionToCall, typeof(T)) as T; 103 | } 104 | 105 | public void UnloadCore() { 106 | FreeLibrary(_dllPointer); 107 | } 108 | 109 | } 110 | } -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/Utility/WindowsDLLHandler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Runtime.InteropServices; 4 | using UnityEngine; 5 | 6 | namespace RetroUnity.Utility { 7 | /// 8 | /// Windows specific implementation for handling DLL loading. Requires kernel32.dll. 9 | /// 10 | public sealed class WindowsDLLHandler : IDLLHandler { 11 | 12 | [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] 13 | private static extern IntPtr LoadLibrary(string dllToLoad); 14 | 15 | [DllImport("kernel32.dll")] 16 | private static extern IntPtr GetProcAddress(IntPtr hModule, string procedureName); 17 | 18 | [DllImport("kernel32.dll")] 19 | private static extern bool FreeLibrary(IntPtr hModule); 20 | 21 | private static IntPtr _dllPointer = IntPtr.Zero; 22 | 23 | // Prevent warning on other platforms. 24 | #pragma warning disable 0414 25 | private static readonly WindowsDLLHandler _instance = new WindowsDLLHandler(); 26 | #pragma warning restore 0414 27 | 28 | /// 29 | /// Prevent 'new' keyword. 30 | /// 31 | private WindowsDLLHandler() { 32 | } 33 | 34 | /// 35 | /// Gets the current instance (singleton). 36 | /// 37 | public static WindowsDLLHandler Instance { 38 | get { 39 | #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN 40 | return _instance; 41 | #else 42 | Debug.LogError("This DLL handler is only compatible with Windows."); 43 | return null; 44 | #endif 45 | } 46 | } 47 | 48 | public bool LoadCore(string dllName) { 49 | string dllPath = Path.Combine(Application.streamingAssetsPath,dllName) + ".dll"; 50 | Debug.Log("LoadCore: " + dllPath); 51 | 52 | _dllPointer = LoadLibrary(dllPath); 53 | 54 | if (_dllPointer == IntPtr.Zero) { 55 | int errorCode = Marshal.GetLastWin32Error(); 56 | Debug.LogErrorFormat("Failed to load library (ErrorCode: {0})", errorCode); 57 | return false; 58 | } 59 | 60 | return true; 61 | } 62 | 63 | public void UnloadCore() { 64 | FreeLibrary(_dllPointer); 65 | } 66 | 67 | public T GetMethod(string functionName) where T : class { 68 | if (_dllPointer == IntPtr.Zero) { 69 | Debug.LogError("DLL not found, cannot get method '" + functionName + "'"); 70 | return default(T); 71 | } 72 | 73 | IntPtr pAddressOfFunctionToCall = GetProcAddress(_dllPointer, functionName); 74 | 75 | if (pAddressOfFunctionToCall == IntPtr.Zero) { 76 | Debug.LogError("Address for function " + functionName + " not found."); 77 | return default(T); 78 | } 79 | 80 | return Marshal.GetDelegateForFunctionPointer(pAddressOfFunctionToCall, typeof(T)) as T; 81 | } 82 | } 83 | } -------------------------------------------------------------------------------- /Assets/Plugins/RetroUnity/Scripts/Utility/WindowsDLLHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa45bb287b7058e40ba8de97ec0fc117 3 | timeCreated: 1455314040 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/StreamingAssets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f9e1988a9755834794501a5f6006213 3 | folderAsset: yes 4 | timeCreated: 1455217323 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/StreamingAssets/libwinpthread-1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/StreamingAssets/libwinpthread-1.dll -------------------------------------------------------------------------------- /Assets/StreamingAssets/libwinpthread-1.dll.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Scorr/RetroUnity/34454a0a0eb8f83ae96389794d078c1e6e7350a4/Assets/StreamingAssets/libwinpthread-1.dll.org -------------------------------------------------------------------------------- /Assets/mcs.rsp: -------------------------------------------------------------------------------- 1 | -unsafe -------------------------------------------------------------------------------- /Assets/mcs.rsp.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d94de4fb75975944c902e0d2f2e97380 3 | timeCreated: 1481650500 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/smcs.rsp: -------------------------------------------------------------------------------- 1 | -unsafe -------------------------------------------------------------------------------- /Assets/smcs.rsp.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a80112f0d990bf44bb6cbe13aa1bf47 3 | timeCreated: 1481650999 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.2.16", 4 | "com.unity.ide.rider": "1.1.4", 5 | "com.unity.ide.vscode": "1.2.1", 6 | "com.unity.test-framework": "1.1.16", 7 | "com.unity.textmeshpro": "2.1.1", 8 | "com.unity.timeline": "1.2.16", 9 | "com.unity.ugui": "1.0.0", 10 | "com.unity.modules.ai": "1.0.0", 11 | "com.unity.modules.androidjni": "1.0.0", 12 | "com.unity.modules.animation": "1.0.0", 13 | "com.unity.modules.assetbundle": "1.0.0", 14 | "com.unity.modules.audio": "1.0.0", 15 | "com.unity.modules.cloth": "1.0.0", 16 | "com.unity.modules.director": "1.0.0", 17 | "com.unity.modules.imageconversion": "1.0.0", 18 | "com.unity.modules.imgui": "1.0.0", 19 | "com.unity.modules.jsonserialize": "1.0.0", 20 | "com.unity.modules.particlesystem": "1.0.0", 21 | "com.unity.modules.physics": "1.0.0", 22 | "com.unity.modules.physics2d": "1.0.0", 23 | "com.unity.modules.screencapture": "1.0.0", 24 | "com.unity.modules.terrain": "1.0.0", 25 | "com.unity.modules.terrainphysics": "1.0.0", 26 | "com.unity.modules.tilemap": "1.0.0", 27 | "com.unity.modules.ui": "1.0.0", 28 | "com.unity.modules.uielements": "1.0.0", 29 | "com.unity.modules.umbra": "1.0.0", 30 | "com.unity.modules.unityanalytics": "1.0.0", 31 | "com.unity.modules.unitywebrequest": "1.0.0", 32 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 33 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 34 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 35 | "com.unity.modules.unitywebrequestwww": "1.0.0", 36 | "com.unity.modules.vehicles": "1.0.0", 37 | "com.unity.modules.video": "1.0.0", 38 | "com.unity.modules.vr": "1.0.0", 39 | "com.unity.modules.wind": "1.0.0", 40 | "com.unity.modules.xr": "1.0.0" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /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: 0 9 | Default Speaker Mode: 2 10 | m_SampleRate: 44100 11 | m_DSPBufferSize: 256 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: 2 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_SolverIterationCount: 6 13 | m_QueriesHitTriggers: 1 14 | m_EnableAdaptiveForce: 0 15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 16 | -------------------------------------------------------------------------------- /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/Plugins/RetroUnity/Examples/Scenes/Main.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: Visible 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 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 15 | m_ProjectGenerationRootNamespace: 16 | -------------------------------------------------------------------------------- /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: 10770, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | -------------------------------------------------------------------------------- /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: A 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: joystick button 0 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: B 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: joystick button 1 62 | altNegativeButton: 63 | altPositiveButton: 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: X 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: joystick button 3 78 | altNegativeButton: 79 | altPositiveButton: 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: Y 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: joystick button 2 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: DpadX 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 1000 161 | dead: 0.001 162 | sensitivity: 1000 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 6 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: DpadY 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 1000 177 | dead: 0.001 178 | sensitivity: 1000 179 | snap: 0 180 | invert: 0 181 | type: 2 182 | axis: 5 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: START 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 7 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: SELECT 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 6 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: L 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 4 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: R 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 5 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 | -------------------------------------------------------------------------------- /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 | serializedVersion: 2 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_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 26 | -------------------------------------------------------------------------------- /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: 0600f466d2bb79d45aa373ee29d3a2aa 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: RetroUnity 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 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 0 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 0 68 | androidBlitType: 0 69 | defaultIsNativeResolution: 1 70 | macRetinaSupport: 1 71 | runInBackground: 1 72 | captureSingleScreen: 0 73 | muteOtherAudioSources: 0 74 | Prepare IOS For Recording: 0 75 | Force IOS Speakers When Recording: 0 76 | deferSystemGesturesMode: 0 77 | hideHomeButton: 0 78 | submitAnalytics: 1 79 | usePlayerLog: 1 80 | bakeCollisionMeshes: 0 81 | forceSingleInstance: 0 82 | resizableWindow: 0 83 | useMacAppStoreValidation: 0 84 | macAppStoreCategory: public.app-category.games 85 | gpuSkinning: 0 86 | graphicsJobs: 0 87 | xboxPIXTextureCapture: 0 88 | xboxEnableAvatar: 0 89 | xboxEnableKinect: 0 90 | xboxEnableKinectAutoTracking: 0 91 | xboxEnableFitness: 0 92 | visibleInBackground: 0 93 | allowFullscreenSwitch: 1 94 | graphicsJobMode: 0 95 | fullscreenMode: 1 96 | xboxSpeechDB: 0 97 | xboxEnableHeadOrientation: 0 98 | xboxEnableGuest: 0 99 | xboxEnablePIXSampling: 0 100 | metalFramebufferOnly: 0 101 | xboxOneResolution: 0 102 | xboxOneSResolution: 0 103 | xboxOneXResolution: 3 104 | xboxOneMonoLoggingLevel: 0 105 | xboxOneLoggingLevel: 1 106 | xboxOneDisableEsram: 0 107 | xboxOnePresentImmediateThreshold: 0 108 | switchQueueCommandMemory: 0 109 | vulkanEnableSetSRGBWrite: 0 110 | m_SupportedAspectRatios: 111 | 4:3: 1 112 | 5:4: 1 113 | 16:10: 1 114 | 16:9: 1 115 | Others: 1 116 | bundleVersion: 1.0 117 | preloadedAssets: [] 118 | metroInputSource: 0 119 | wsaTransparentSwapchain: 0 120 | m_HolographicPauseOnTrackingLoss: 1 121 | xboxOneDisableKinectGpuReservation: 0 122 | xboxOneEnable7thCore: 0 123 | isWsaHolographicRemotingEnabled: 0 124 | vrSettings: 125 | cardboard: 126 | depthFormat: 0 127 | enableTransitionView: 0 128 | daydream: 129 | depthFormat: 0 130 | useSustainedPerformanceMode: 0 131 | enableVideoLayer: 0 132 | useProtectedVideoMemory: 0 133 | minimumSupportedHeadTracking: 0 134 | maximumSupportedHeadTracking: 1 135 | hololens: 136 | depthFormat: 1 137 | depthBufferSharingEnabled: 0 138 | oculus: 139 | sharedDepthBuffer: 1 140 | dashSupport: 1 141 | enable360StereoCapture: 0 142 | protectGraphicsMemory: 0 143 | enableFrameTimingStats: 0 144 | useHDRDisplay: 0 145 | m_ColorGamuts: 00000000 146 | targetPixelDensity: 30 147 | resolutionScalingMode: 0 148 | androidSupportedAspectRatio: 1 149 | androidMaxAspectRatio: 2.1 150 | applicationIdentifier: 151 | Android: com.scorr.retrounity 152 | Standalone: unity.DefaultCompany.RetroUnity 153 | Tizen: com.scorr.retrounity 154 | iOS: com.scorr.retrounity 155 | tvOS: com.scorr.retrounity 156 | buildNumber: 157 | iOS: 0 158 | AndroidBundleVersionCode: 1 159 | AndroidMinSdkVersion: 16 160 | AndroidTargetSdkVersion: 0 161 | AndroidPreferredInstallLocation: 1 162 | aotOptions: 163 | stripEngineCode: 1 164 | iPhoneStrippingLevel: 0 165 | iPhoneScriptCallOptimization: 0 166 | ForceInternetPermission: 0 167 | ForceSDCardPermission: 0 168 | CreateWallpaper: 0 169 | APKExpansionFiles: 0 170 | keepLoadedShadersAlive: 0 171 | StripUnusedMeshComponents: 0 172 | VertexChannelCompressionMask: 214 173 | iPhoneSdkVersion: 988 174 | iOSTargetOSVersionString: 9.0 175 | tvOSSdkVersion: 0 176 | tvOSRequireExtendedGameController: 0 177 | tvOSTargetOSVersionString: 9.0 178 | uIPrerenderedIcon: 0 179 | uIRequiresPersistentWiFi: 0 180 | uIRequiresFullScreen: 1 181 | uIStatusBarHidden: 1 182 | uIExitOnSuspend: 0 183 | uIStatusBarStyle: 0 184 | iPhoneSplashScreen: {fileID: 0} 185 | iPhoneHighResSplashScreen: {fileID: 0} 186 | iPhoneTallHighResSplashScreen: {fileID: 0} 187 | iPhone47inSplashScreen: {fileID: 0} 188 | iPhone55inPortraitSplashScreen: {fileID: 0} 189 | iPhone55inLandscapeSplashScreen: {fileID: 0} 190 | iPhone58inPortraitSplashScreen: {fileID: 0} 191 | iPhone58inLandscapeSplashScreen: {fileID: 0} 192 | iPadPortraitSplashScreen: {fileID: 0} 193 | iPadHighResPortraitSplashScreen: {fileID: 0} 194 | iPadLandscapeSplashScreen: {fileID: 0} 195 | iPadHighResLandscapeSplashScreen: {fileID: 0} 196 | appleTVSplashScreen: {fileID: 0} 197 | appleTVSplashScreen2x: {fileID: 0} 198 | tvOSSmallIconLayers: [] 199 | tvOSSmallIconLayers2x: [] 200 | tvOSLargeIconLayers: [] 201 | tvOSLargeIconLayers2x: [] 202 | tvOSTopShelfImageLayers: [] 203 | tvOSTopShelfImageLayers2x: [] 204 | tvOSTopShelfImageWideLayers: [] 205 | tvOSTopShelfImageWideLayers2x: [] 206 | iOSLaunchScreenType: 0 207 | iOSLaunchScreenPortrait: {fileID: 0} 208 | iOSLaunchScreenLandscape: {fileID: 0} 209 | iOSLaunchScreenBackgroundColor: 210 | serializedVersion: 2 211 | rgba: 0 212 | iOSLaunchScreenFillPct: 100 213 | iOSLaunchScreenSize: 100 214 | iOSLaunchScreenCustomXibPath: 215 | iOSLaunchScreeniPadType: 0 216 | iOSLaunchScreeniPadImage: {fileID: 0} 217 | iOSLaunchScreeniPadBackgroundColor: 218 | serializedVersion: 2 219 | rgba: 0 220 | iOSLaunchScreeniPadFillPct: 100 221 | iOSLaunchScreeniPadSize: 100 222 | iOSLaunchScreeniPadCustomXibPath: 223 | iOSUseLaunchScreenStoryboard: 0 224 | iOSLaunchScreenCustomStoryboardPath: 225 | iOSDeviceRequirements: [] 226 | iOSURLSchemes: [] 227 | iOSBackgroundModes: 0 228 | iOSMetalForceHardShadows: 0 229 | metalEditorSupport: 1 230 | metalAPIValidation: 1 231 | iOSRenderExtraFrameOnPause: 1 232 | appleDeveloperTeamID: 233 | iOSManualSigningProvisioningProfileID: 234 | tvOSManualSigningProvisioningProfileID: 235 | iOSManualSigningProvisioningProfileType: 0 236 | tvOSManualSigningProvisioningProfileType: 0 237 | appleEnableAutomaticSigning: 0 238 | iOSRequireARKit: 0 239 | appleEnableProMotion: 0 240 | clonedFromGUID: 00000000000000000000000000000000 241 | templatePackageId: 242 | templateDefaultScene: 243 | AndroidTargetArchitectures: 5 244 | AndroidSplashScreenScale: 0 245 | androidSplashScreen: {fileID: 0} 246 | AndroidKeystoreName: 247 | AndroidKeyaliasName: 248 | AndroidBuildApkPerCpuArchitecture: 0 249 | AndroidTVCompatibility: 1 250 | AndroidIsGame: 1 251 | AndroidEnableTango: 0 252 | androidEnableBanner: 1 253 | androidUseLowAccuracyLocation: 0 254 | m_AndroidBanners: 255 | - width: 320 256 | height: 180 257 | banner: {fileID: 0} 258 | androidGamepadSupportLevel: 0 259 | resolutionDialogBanner: {fileID: 0} 260 | m_BuildTargetIcons: 261 | - m_BuildTarget: 262 | m_Icons: 263 | - serializedVersion: 2 264 | m_Icon: {fileID: 0} 265 | m_Width: 128 266 | m_Height: 128 267 | m_Kind: 0 268 | m_BuildTargetPlatformIcons: [] 269 | m_BuildTargetBatching: [] 270 | m_BuildTargetGraphicsAPIs: [] 271 | m_BuildTargetVRSettings: 272 | - m_BuildTarget: Android 273 | m_Enabled: 0 274 | m_Devices: 275 | - Oculus 276 | - m_BuildTarget: Metro 277 | m_Enabled: 0 278 | m_Devices: [] 279 | - m_BuildTarget: N3DS 280 | m_Enabled: 0 281 | m_Devices: [] 282 | - m_BuildTarget: PS3 283 | m_Enabled: 0 284 | m_Devices: [] 285 | - m_BuildTarget: PS4 286 | m_Enabled: 0 287 | m_Devices: 288 | - PlayStationVR 289 | - m_BuildTarget: PSM 290 | m_Enabled: 0 291 | m_Devices: [] 292 | - m_BuildTarget: PSP2 293 | m_Enabled: 0 294 | m_Devices: [] 295 | - m_BuildTarget: SamsungTV 296 | m_Enabled: 0 297 | m_Devices: [] 298 | - m_BuildTarget: Standalone 299 | m_Enabled: 0 300 | m_Devices: 301 | - Oculus 302 | - m_BuildTarget: Tizen 303 | m_Enabled: 0 304 | m_Devices: [] 305 | - m_BuildTarget: WebGL 306 | m_Enabled: 0 307 | m_Devices: [] 308 | - m_BuildTarget: WebPlayer 309 | m_Enabled: 0 310 | m_Devices: [] 311 | - m_BuildTarget: WiiU 312 | m_Enabled: 0 313 | m_Devices: [] 314 | - m_BuildTarget: Xbox360 315 | m_Enabled: 0 316 | m_Devices: [] 317 | - m_BuildTarget: XboxOne 318 | m_Enabled: 0 319 | m_Devices: [] 320 | - m_BuildTarget: iOS 321 | m_Enabled: 0 322 | m_Devices: [] 323 | - m_BuildTarget: tvOS 324 | m_Enabled: 0 325 | m_Devices: [] 326 | m_BuildTargetEnableVuforiaSettings: [] 327 | openGLRequireES31: 0 328 | openGLRequireES31AEP: 0 329 | m_TemplateCustomTags: {} 330 | mobileMTRendering: 331 | iPhone: 1 332 | tvOS: 1 333 | m_BuildTargetGroupLightmapEncodingQuality: 334 | - m_BuildTarget: Standalone 335 | m_EncodingQuality: 1 336 | - m_BuildTarget: XboxOne 337 | m_EncodingQuality: 1 338 | - m_BuildTarget: PS4 339 | m_EncodingQuality: 1 340 | m_BuildTargetGroupLightmapSettings: [] 341 | playModeTestRunnerEnabled: 0 342 | runPlayModeTestAsEditModeTest: 0 343 | actionOnDotNetUnhandledException: 1 344 | enableInternalProfiler: 0 345 | logObjCUncaughtExceptions: 1 346 | enableCrashReportAPI: 0 347 | cameraUsageDescription: 348 | locationUsageDescription: 349 | microphoneUsageDescription: 350 | switchNetLibKey: 351 | switchSocketMemoryPoolSize: 6144 352 | switchSocketAllocatorPoolSize: 128 353 | switchSocketConcurrencyLimit: 14 354 | switchScreenResolutionBehavior: 2 355 | switchUseCPUProfiler: 0 356 | switchApplicationID: 0x01004b9000490000 357 | switchNSODependencies: 358 | switchTitleNames_0: 359 | switchTitleNames_1: 360 | switchTitleNames_2: 361 | switchTitleNames_3: 362 | switchTitleNames_4: 363 | switchTitleNames_5: 364 | switchTitleNames_6: 365 | switchTitleNames_7: 366 | switchTitleNames_8: 367 | switchTitleNames_9: 368 | switchTitleNames_10: 369 | switchTitleNames_11: 370 | switchTitleNames_12: 371 | switchTitleNames_13: 372 | switchTitleNames_14: 373 | switchPublisherNames_0: 374 | switchPublisherNames_1: 375 | switchPublisherNames_2: 376 | switchPublisherNames_3: 377 | switchPublisherNames_4: 378 | switchPublisherNames_5: 379 | switchPublisherNames_6: 380 | switchPublisherNames_7: 381 | switchPublisherNames_8: 382 | switchPublisherNames_9: 383 | switchPublisherNames_10: 384 | switchPublisherNames_11: 385 | switchPublisherNames_12: 386 | switchPublisherNames_13: 387 | switchPublisherNames_14: 388 | switchIcons_0: {fileID: 0} 389 | switchIcons_1: {fileID: 0} 390 | switchIcons_2: {fileID: 0} 391 | switchIcons_3: {fileID: 0} 392 | switchIcons_4: {fileID: 0} 393 | switchIcons_5: {fileID: 0} 394 | switchIcons_6: {fileID: 0} 395 | switchIcons_7: {fileID: 0} 396 | switchIcons_8: {fileID: 0} 397 | switchIcons_9: {fileID: 0} 398 | switchIcons_10: {fileID: 0} 399 | switchIcons_11: {fileID: 0} 400 | switchIcons_12: {fileID: 0} 401 | switchIcons_13: {fileID: 0} 402 | switchIcons_14: {fileID: 0} 403 | switchSmallIcons_0: {fileID: 0} 404 | switchSmallIcons_1: {fileID: 0} 405 | switchSmallIcons_2: {fileID: 0} 406 | switchSmallIcons_3: {fileID: 0} 407 | switchSmallIcons_4: {fileID: 0} 408 | switchSmallIcons_5: {fileID: 0} 409 | switchSmallIcons_6: {fileID: 0} 410 | switchSmallIcons_7: {fileID: 0} 411 | switchSmallIcons_8: {fileID: 0} 412 | switchSmallIcons_9: {fileID: 0} 413 | switchSmallIcons_10: {fileID: 0} 414 | switchSmallIcons_11: {fileID: 0} 415 | switchSmallIcons_12: {fileID: 0} 416 | switchSmallIcons_13: {fileID: 0} 417 | switchSmallIcons_14: {fileID: 0} 418 | switchManualHTML: 419 | switchAccessibleURLs: 420 | switchLegalInformation: 421 | switchMainThreadStackSize: 1048576 422 | switchPresenceGroupId: 423 | switchLogoHandling: 0 424 | switchReleaseVersion: 0 425 | switchDisplayVersion: 1.0.0 426 | switchStartupUserAccount: 0 427 | switchTouchScreenUsage: 0 428 | switchSupportedLanguagesMask: 0 429 | switchLogoType: 0 430 | switchApplicationErrorCodeCategory: 431 | switchUserAccountSaveDataSize: 0 432 | switchUserAccountSaveDataJournalSize: 0 433 | switchApplicationAttribute: 0 434 | switchCardSpecSize: -1 435 | switchCardSpecClock: -1 436 | switchRatingsMask: 0 437 | switchRatingsInt_0: 0 438 | switchRatingsInt_1: 0 439 | switchRatingsInt_2: 0 440 | switchRatingsInt_3: 0 441 | switchRatingsInt_4: 0 442 | switchRatingsInt_5: 0 443 | switchRatingsInt_6: 0 444 | switchRatingsInt_7: 0 445 | switchRatingsInt_8: 0 446 | switchRatingsInt_9: 0 447 | switchRatingsInt_10: 0 448 | switchRatingsInt_11: 0 449 | switchLocalCommunicationIds_0: 450 | switchLocalCommunicationIds_1: 451 | switchLocalCommunicationIds_2: 452 | switchLocalCommunicationIds_3: 453 | switchLocalCommunicationIds_4: 454 | switchLocalCommunicationIds_5: 455 | switchLocalCommunicationIds_6: 456 | switchLocalCommunicationIds_7: 457 | switchParentalControl: 0 458 | switchAllowsScreenshot: 1 459 | switchAllowsVideoCapturing: 1 460 | switchAllowsRuntimeAddOnContentInstall: 0 461 | switchDataLossConfirmation: 0 462 | switchUserAccountLockEnabled: 0 463 | switchSupportedNpadStyles: 3 464 | switchNativeFsCacheSize: 32 465 | switchIsHoldTypeHorizontal: 0 466 | switchSupportedNpadCount: 8 467 | switchSocketConfigEnabled: 0 468 | switchTcpInitialSendBufferSize: 32 469 | switchTcpInitialReceiveBufferSize: 64 470 | switchTcpAutoSendBufferSizeMax: 256 471 | switchTcpAutoReceiveBufferSizeMax: 256 472 | switchUdpSendBufferSize: 9 473 | switchUdpReceiveBufferSize: 42 474 | switchSocketBufferEfficiency: 4 475 | switchSocketInitializeEnabled: 1 476 | switchNetworkInterfaceManagerInitializeEnabled: 1 477 | switchPlayerConnectionEnabled: 1 478 | ps4NPAgeRating: 12 479 | ps4NPTitleSecret: 480 | ps4NPTrophyPackPath: 481 | ps4ParentalLevel: 1 482 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 483 | ps4Category: 0 484 | ps4MasterVersion: 01.00 485 | ps4AppVersion: 01.00 486 | ps4AppType: 0 487 | ps4ParamSfxPath: 488 | ps4VideoOutPixelFormat: 0 489 | ps4VideoOutInitialWidth: 1920 490 | ps4VideoOutBaseModeInitialWidth: 1920 491 | ps4VideoOutReprojectionRate: 120 492 | ps4PronunciationXMLPath: 493 | ps4PronunciationSIGPath: 494 | ps4BackgroundImagePath: 495 | ps4StartupImagePath: 496 | ps4StartupImagesFolder: 497 | ps4IconImagesFolder: 498 | ps4SaveDataImagePath: 499 | ps4SdkOverride: 500 | ps4BGMPath: 501 | ps4ShareFilePath: 502 | ps4ShareOverlayImagePath: 503 | ps4PrivacyGuardImagePath: 504 | ps4NPtitleDatPath: 505 | ps4RemotePlayKeyAssignment: -1 506 | ps4RemotePlayKeyMappingDir: 507 | ps4PlayTogetherPlayerCount: 0 508 | ps4EnterButtonAssignment: 1 509 | ps4ApplicationParam1: 0 510 | ps4ApplicationParam2: 0 511 | ps4ApplicationParam3: 0 512 | ps4ApplicationParam4: 0 513 | ps4DownloadDataSize: 0 514 | ps4GarlicHeapSize: 2048 515 | ps4ProGarlicHeapSize: 2560 516 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 517 | ps4pnSessions: 1 518 | ps4pnPresence: 1 519 | ps4pnFriends: 1 520 | ps4pnGameCustomData: 1 521 | playerPrefsSupport: 0 522 | enableApplicationExit: 0 523 | resetTempFolder: 1 524 | restrictedAudioUsageRights: 0 525 | ps4UseResolutionFallback: 0 526 | ps4ReprojectionSupport: 0 527 | ps4UseAudio3dBackend: 0 528 | ps4SocialScreenEnabled: 0 529 | ps4ScriptOptimizationLevel: 3 530 | ps4Audio3dVirtualSpeakerCount: 14 531 | ps4attribCpuUsage: 0 532 | ps4PatchPkgPath: 533 | ps4PatchLatestPkgPath: 534 | ps4PatchChangeinfoPath: 535 | ps4PatchDayOne: 0 536 | ps4attribUserManagement: 0 537 | ps4attribMoveSupport: 0 538 | ps4attrib3DSupport: 0 539 | ps4attribShareSupport: 0 540 | ps4attribExclusiveVR: 0 541 | ps4disableAutoHideSplash: 0 542 | ps4videoRecordingFeaturesUsed: 0 543 | ps4contentSearchFeaturesUsed: 0 544 | ps4attribEyeToEyeDistanceSettingVR: 0 545 | ps4IncludedModules: [] 546 | monoEnv: 547 | splashScreenBackgroundSourceLandscape: {fileID: 0} 548 | splashScreenBackgroundSourcePortrait: {fileID: 0} 549 | spritePackerPolicy: 550 | webGLMemorySize: 256 551 | webGLExceptionSupport: 1 552 | webGLNameFilesAsHashes: 0 553 | webGLDataCaching: 0 554 | webGLDebugSymbols: 0 555 | webGLEmscriptenArgs: 556 | webGLModulesDirectory: 557 | webGLTemplate: APPLICATION:Default 558 | webGLAnalyzeBuildSize: 0 559 | webGLUseEmbeddedResources: 0 560 | webGLCompressionFormat: 1 561 | webGLLinkerTarget: 1 562 | webGLThreadsSupport: 0 563 | scriptingDefineSymbols: 564 | 1: 565 | 2: 566 | 4: CROSS_PLATFORM_INPUT;MOBILE_INPUT 567 | 7: 568 | 14: MOBILE_INPUT 569 | 15: CROSS_PLATFORM_INPUT;MOBILE_INPUT 570 | 16: CROSS_PLATFORM_INPUT;MOBILE_INPUT 571 | 17: MOBILE_INPUT 572 | 20: MOBILE_INPUT 573 | platformArchitecture: {} 574 | scriptingBackend: 575 | Android: 0 576 | Standalone: 0 577 | WebGL: 1 578 | WebPlayer: 0 579 | il2cppCompilerConfiguration: {} 580 | managedStrippingLevel: {} 581 | incrementalIl2cppBuild: {} 582 | allowUnsafeCode: 0 583 | additionalIl2CppArgs: 584 | scriptingRuntimeVersion: 0 585 | apiCompatibilityLevelPerPlatform: {} 586 | m_RenderingPath: 1 587 | m_MobileRenderingPath: 1 588 | metroPackageName: RetroUnity 589 | metroPackageVersion: 590 | metroCertificatePath: 591 | metroCertificatePassword: 592 | metroCertificateSubject: 593 | metroCertificateIssuer: 594 | metroCertificateNotAfter: 0000000000000000 595 | metroApplicationDescription: RetroUnity 596 | wsaImages: {} 597 | metroTileShortName: 598 | metroTileShowName: 0 599 | metroMediumTileShowName: 0 600 | metroLargeTileShowName: 0 601 | metroWideTileShowName: 0 602 | metroSupportStreamingInstall: 0 603 | metroLastRequiredScene: 0 604 | metroDefaultTileSize: 1 605 | metroTileForegroundText: 1 606 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 607 | metroSplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, 608 | a: 1} 609 | metroSplashScreenUseBackgroundColor: 1 610 | platformCapabilities: {} 611 | metroTargetDeviceFamilies: {} 612 | metroFTAName: 613 | metroFTAFileTypes: [] 614 | metroProtocolName: 615 | metroCompilationOverrides: 1 616 | XboxOneProductId: 617 | XboxOneUpdateKey: 618 | XboxOneSandboxId: 619 | XboxOneContentId: 620 | XboxOneTitleId: 621 | XboxOneSCId: 622 | XboxOneGameOsOverridePath: 623 | XboxOnePackagingOverridePath: 624 | XboxOneAppManifestOverridePath: 625 | XboxOneVersion: 1.0.0.0 626 | XboxOnePackageEncryption: 0 627 | XboxOnePackageUpdateGranularity: 2 628 | XboxOneDescription: 629 | XboxOneLanguage: 630 | - enus 631 | XboxOneCapability: [] 632 | XboxOneGameRating: {} 633 | XboxOneIsContentPackage: 0 634 | XboxOneEnableGPUVariability: 0 635 | XboxOneSockets: {} 636 | XboxOneSplashScreen: {fileID: 0} 637 | XboxOneAllowedProductIds: [] 638 | XboxOnePersistentLocalStorageSize: 0 639 | XboxOneXTitleMemory: 8 640 | xboxOneScriptCompiler: 0 641 | XboxOneOverrideIdentityName: 642 | vrEditorSettings: 643 | daydream: 644 | daydreamIconForeground: {fileID: 0} 645 | daydreamIconBackground: {fileID: 0} 646 | cloudServicesEnabled: 647 | Analytics: 0 648 | Build: 0 649 | Collab: 0 650 | ErrorHub: 0 651 | Game_Performance: 0 652 | Hub: 0 653 | Purchasing: 0 654 | UNet: 0 655 | Unity_Ads: 0 656 | luminIcon: 657 | m_Name: 658 | m_ModelFolderPath: 659 | m_PortalFolderPath: 660 | luminCert: 661 | m_CertPath: 662 | m_PrivateKeyPath: 663 | luminIsChannelApp: 0 664 | luminVersion: 665 | m_VersionCode: 1 666 | m_VersionName: 667 | facebookSdkVersion: 7.9.4 668 | facebookAppId: 669 | facebookCookies: 1 670 | facebookLogging: 1 671 | facebookStatus: 1 672 | facebookXfbml: 0 673 | facebookFrictionlessRequests: 1 674 | apiCompatibilityLevel: 2 675 | cloudProjectId: 676 | framebufferDepthMemorylessMode: 0 677 | projectName: 678 | organizationId: 679 | cloudEnabled: 0 680 | enableNativePlatformBackendsForNewInputSystem: 0 681 | disableOldInputManagerSupport: 0 682 | legacyClampBlendShapeWeights: 1 683 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.4.9f1 2 | m_EditorVersionWithRevision: 2019.4.9f1 (50fe8a171dd9) 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: 0 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Fantastic 11 | pixelLightCount: 4 12 | shadows: 2 13 | shadowResolution: 2 14 | shadowProjection: 1 15 | shadowCascades: 4 16 | shadowDistance: 150 17 | shadowNearPlaneOffset: 2 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.19999999, z: 0.46666664} 20 | shadowmaskMode: 0 21 | blendWeights: 4 22 | textureQuality: 0 23 | anisotropicTextures: 2 24 | antiAliasing: 2 25 | softParticles: 1 26 | softVegetation: 1 27 | realtimeReflectionProbes: 1 28 | billboardsFaceCameraPosition: 1 29 | vSyncCount: 0 30 | lodBias: 2 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4096 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 4 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | m_PerPlatformDefaultQuality: 45 | Android: 0 46 | BlackBerry: 0 47 | GLES Emulation: 0 48 | Nintendo 3DS: 0 49 | PS3: 0 50 | PS4: 0 51 | PSM: 0 52 | PSP2: 0 53 | Samsung TV: 0 54 | Standalone: 0 55 | Tizen: 0 56 | WP8: 0 57 | Web: 0 58 | WebGL: 0 59 | WiiU: 0 60 | Windows Store Apps: 0 61 | XBOX360: 0 62 | XboxOne: 0 63 | iPhone: 0 64 | tvOS: 0 65 | -------------------------------------------------------------------------------- /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 | CrashReportingSettings: 11 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 12 | m_Enabled: 0 13 | m_CaptureEditorExceptions: 1 14 | UnityPurchasingSettings: 15 | m_Enabled: 0 16 | m_TestMode: 0 17 | UnityAnalyticsSettings: 18 | m_Enabled: 0 19 | m_InitializeOnStartup: 1 20 | m_TestMode: 0 21 | m_TestEventUrl: 22 | m_TestConfigUrl: 23 | UnityAdsSettings: 24 | m_Enabled: 0 25 | m_InitializeOnStartup: 1 26 | m_TestMode: 0 27 | m_EnabledPlatforms: 4294967295 28 | m_IosGameId: 29 | m_AndroidGameId: 30 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RetroUnity 2 | RetroUnity is a frontend for the libretro API built in Unity. 3 | 4 | [webm](https://gfycat.com/PresentUnconsciousAmberpenshell) 5 | 6 | ## Documentation 7 | See [wiki](https://github.com/Scorr/RetroUnity/wiki). 8 | 9 | ## External assets 10 | The following assets were used in this project: 11 | * [Flatscreen TV](https://www.assetstore.unity3d.com/en/#!/content/9721) by Rutger Klunder 12 | * [Free Furniture Set](https://www.assetstore.unity3d.com/en/#!/content/26678) by Lef 13 | -------------------------------------------------------------------------------- /RetroUnity.CSharp.Plugins.csproj.DotSettings: -------------------------------------------------------------------------------- 1 |  2 | True 3 | True 4 | False 5 | True 6 | True -------------------------------------------------------------------------------- /RetroUnity.CSharp.csproj.DotSettings: -------------------------------------------------------------------------------- 1 |  2 | True 3 | True 4 | True -------------------------------------------------------------------------------- /RetroUnity.Plugins.csproj.DotSettings: -------------------------------------------------------------------------------- 1 |  2 | True 3 | True --------------------------------------------------------------------------------