Overview
| Project | Path | Errors | Warnings | Messages | |
|---|---|---|---|---|---|
| Assembly-CSharp | Assembly-CSharp.csproj | 1 | 0 | 0 | |
| Assembly-CSharp-Editor | Assembly-CSharp-Editor.csproj | 1 | 0 | 0 | |
| Nobi.UiRoundedCorners | Nobi.UiRoundedCorners.csproj | 1 | 0 | 0 | |
| Solution | Darktrace.sln | 0 | 0 | 1 |
diff --git a/Darktrace/Assets/Computer/Images.meta b/Darktrace/Assets/Computer/Images.meta new file mode 100644 index 0000000..6056239 --- /dev/null +++ b/Darktrace/Assets/Computer/Images.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7852ea642294236468e0043b0fe55fc6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Darktrace/Assets/Computer/Images/ProfilePicLogin.png b/Darktrace/Assets/Computer/Images/ProfilePicLogin.png new file mode 100644 index 0000000..553a89f Binary files /dev/null and b/Darktrace/Assets/Computer/Images/ProfilePicLogin.png differ diff --git a/Darktrace/Assets/Computer/Images/ProfilePicLogin.png.meta b/Darktrace/Assets/Computer/Images/ProfilePicLogin.png.meta new file mode 100644 index 0000000..67d6b45 --- /dev/null +++ b/Darktrace/Assets/Computer/Images/ProfilePicLogin.png.meta @@ -0,0 +1,117 @@ +fileFormatVersion: 2 +guid: 1ffa1aed00e7daf419021be9c3a2c8b5 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 4 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 4 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + customData: + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Darktrace/Assets/Computer/Scripts.meta b/Darktrace/Assets/Computer/Scripts.meta new file mode 100644 index 0000000..a439bc1 --- /dev/null +++ b/Darktrace/Assets/Computer/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cf9ef9acf1c528d4cb7c393ff424e009 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Darktrace/Assets/Computer/Scripts/SystemLogin.cs b/Darktrace/Assets/Computer/Scripts/SystemLogin.cs new file mode 100644 index 0000000..5070ee7 --- /dev/null +++ b/Darktrace/Assets/Computer/Scripts/SystemLogin.cs @@ -0,0 +1,80 @@ +using UnityEngine; +using UnityEngine.UI; +using TMPro; + +public class SystemLogin : MonoBehaviour +{ + [Header("Estrutura da Cena")] + [SerializeField] private GameObject loginPanel; + [SerializeField] private GameObject desktopPanel; + + [Header("Configuração de Senha")] + [SerializeField] private string passwordCorrect = "1234"; + [SerializeField] private TMP_InputField passwordInput; + [SerializeField] private Button loginButton; + [SerializeField] private TextMeshProUGUI errorText; + + [Header("Áudio (Opcional)")] + [SerializeField] private AudioSource audioSource; + [SerializeField] private AudioClip errorClip; + [SerializeField] private AudioClip loginSuccessClip; + + private void Start() + { + if (loginPanel != null) loginPanel.SetActive(true); + if (desktopPanel != null) desktopPanel.SetActive(false); + + if (loginButton != null) + { + loginButton.onClick.AddListener(AttemptLogin); + } + + if (passwordInput != null) + { + passwordInput.onSubmit.AddListener(delegate { AttemptLogin(); }); + passwordInput.Select(); + passwordInput.ActivateInputField(); + } + + if (errorText != null) errorText.text = ""; + } + + public void AttemptLogin() + { + if (passwordInput.text == passwordCorrect) + { + PerformLogin(); + } + else + { + PerformError(); + } + } + + private void PerformLogin() + { + if (audioSource && loginSuccessClip) audioSource.PlayOneShot(loginSuccessClip); + Debug.Log("Login Aceito. Iniciando Desktop..."); + + if (loginPanel) loginPanel.SetActive(false); + if (desktopPanel) desktopPanel.SetActive(true); + } + + private void PerformError() + { + if (audioSource && errorClip) audioSource.PlayOneShot(errorClip); + Debug.Log("Senha Incorreta"); + + if (passwordInput) + { + passwordInput.text = ""; + passwordInput.Select(); + passwordInput.ActivateInputField(); + } + + if (errorText != null) + { + errorText.text = "Senha incorreta."; + } + } +} \ No newline at end of file diff --git a/Darktrace/Assets/Computer/Scripts/SystemLogin.cs.meta b/Darktrace/Assets/Computer/Scripts/SystemLogin.cs.meta new file mode 100644 index 0000000..a318b92 --- /dev/null +++ b/Darktrace/Assets/Computer/Scripts/SystemLogin.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d3cb991665ec2cb40b689cdf8ed69fe2 \ No newline at end of file diff --git a/Darktrace/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset b/Darktrace/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset index 36bc35e..9a1f85a 100644 --- a/Darktrace/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset +++ b/Darktrace/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset @@ -94,6 +94,8 @@ MonoBehaviour: references: version: 2 RefIds: + - rid: -2 + type: {class: , ns: , asm: } - rid: 2245842924852740096 type: {class: PostProcessData/ShaderResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime} data: @@ -240,6 +242,9 @@ MonoBehaviour: m_AutodeskInteractive: {fileID: 4800000, guid: 0e9d5a909a1f7e84882a534d0d11e49f, type: 3} m_AutodeskInteractiveTransparent: {fileID: 4800000, guid: 5c81372d981403744adbdda4433c9c11, type: 3} m_AutodeskInteractiveMasked: {fileID: 4800000, guid: 80aa867ac363ac043847b06ad71604cd, type: 3} + m_TerrainDetailLit: {fileID: 4800000, guid: f6783ab646d374f94b199774402a5144, type: 3} + m_TerrainDetailGrassBillboard: {fileID: 4800000, guid: 29868e73b638e48ca99a19ea58c48d90, type: 3} + m_TerrainDetailGrass: {fileID: 4800000, guid: e507fdfead5ca47e8b9a768b51c291a1, type: 3} m_DefaultSpeedTree7Shader: {fileID: 4800000, guid: 0f4122b9a743b744abe2fb6a0a88868b, type: 3} m_DefaultSpeedTree8Shader: {fileID: -6465566751694194690, guid: 9920c1f1781549a46ba081a2a15a16ec, type: 3} m_DefaultSpeedTree9Shader: {fileID: -6465566751694194690, guid: cbd3e1cc4ae141c42a30e33b4d666a61, type: 3} @@ -250,8 +255,6 @@ MonoBehaviour: m_CopyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} m_CameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, type: 3} m_StencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3} - m_ClusterDeferred: {fileID: 4800000, guid: 222cce62363a44a380c36bf03b392608, type: 3} - m_StencilDitherMaskSeedPS: {fileID: 4800000, guid: 8c3ee818f2efa514c889881ccb2e95a2, type: 3} m_DBufferClear: {fileID: 4800000, guid: f056d8bd2a1c7e44e9729144b4c70395, type: 3} - rid: 6852985685364965379 type: {class: UniversalRenderPipelineDebugShaders, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime} diff --git a/Darktrace/Packages/packages-lock.json b/Darktrace/Packages/packages-lock.json index f3caecc..3f64708 100644 --- a/Darktrace/Packages/packages-lock.json +++ b/Darktrace/Packages/packages-lock.json @@ -27,14 +27,13 @@ "url": "https://packages.unity.com" }, "com.unity.collections": { - "version": "2.5.7", + "version": "2.5.1", "depth": 2, "source": "registry", "dependencies": { - "com.unity.burst": "1.8.19", - "com.unity.mathematics": "1.3.2", - "com.unity.test-framework": "1.4.6", - "com.unity.nuget.mono-cecil": "1.11.5", + "com.unity.burst": "1.8.17", + "com.unity.nuget.mono-cecil": "1.11.4", + "com.unity.test-framework": "1.4.5", "com.unity.test-framework.performance": "3.0.3" }, "url": "https://packages.unity.com" @@ -88,18 +87,18 @@ } }, "com.unity.nuget.mono-cecil": { - "version": "1.11.5", + "version": "1.11.4", "depth": 3, "source": "registry", "dependencies": {}, "url": "https://packages.unity.com" }, "com.unity.render-pipelines.core": { - "version": "17.2.0", + "version": "17.0.4", "depth": 1, "source": "builtin", "dependencies": { - "com.unity.burst": "1.8.14", + "com.unity.burst": "1.8.20", "com.unity.mathematics": "1.3.2", "com.unity.ugui": "2.0.0", "com.unity.collections": "2.4.3", @@ -110,12 +109,12 @@ } }, "com.unity.render-pipelines.universal": { - "version": "17.2.0", + "version": "17.0.4", "depth": 0, "source": "builtin", "dependencies": { - "com.unity.render-pipelines.core": "17.2.0", - "com.unity.shadergraph": "17.2.0", + "com.unity.render-pipelines.core": "17.0.4", + "com.unity.shadergraph": "17.0.4", "com.unity.render-pipelines.universal-config": "17.0.3" } }, @@ -145,11 +144,11 @@ "url": "https://packages.unity.com" }, "com.unity.shadergraph": { - "version": "17.2.0", + "version": "17.0.4", "depth": 1, "source": "builtin", "dependencies": { - "com.unity.render-pipelines.core": "17.2.0", + "com.unity.render-pipelines.core": "17.0.4", "com.unity.searcher": "4.9.3" } }, @@ -178,9 +177,9 @@ "depth": 0, "source": "registry", "dependencies": { - "com.unity.modules.audio": "1.0.0", "com.unity.modules.director": "1.0.0", "com.unity.modules.animation": "1.0.0", + "com.unity.modules.audio": "1.0.0", "com.unity.modules.particlesystem": "1.0.0" }, "url": "https://packages.unity.com" @@ -352,8 +351,7 @@ "com.unity.modules.ui": "1.0.0", "com.unity.modules.imgui": "1.0.0", "com.unity.modules.jsonserialize": "1.0.0", - "com.unity.modules.hierarchycore": "1.0.0", - "com.unity.modules.physics": "1.0.0" + "com.unity.modules.hierarchycore": "1.0.0" } }, "com.unity.modules.umbra": { diff --git a/Darktrace/ProjectSettings/ProjectVersion.txt b/Darktrace/ProjectSettings/ProjectVersion.txt index 7b82d47..a3e348f 100644 --- a/Darktrace/ProjectSettings/ProjectVersion.txt +++ b/Darktrace/ProjectSettings/ProjectVersion.txt @@ -1,2 +1,2 @@ -m_EditorVersion: 6000.2.5f1 -m_EditorVersionWithRevision: 6000.2.5f1 (43d04cd1df69) +m_EditorVersion: 6000.0.57f1 +m_EditorVersionWithRevision: 6000.0.57f1 (b7b9860b7bbd) diff --git a/Darktrace/UpgradeLog.htm b/Darktrace/UpgradeLog.htm new file mode 100644 index 0000000..a5110fd --- /dev/null +++ b/Darktrace/UpgradeLog.htm @@ -0,0 +1,275 @@ + + +