Compare commits

...
Author SHA1 Message Date
Jiaqi Liu 7727a55366 Upgrade Unity version 2024-04-25 17:59:14 -07:00
Jiaqi Liu 795fb3d576 WIP 2024-04-25 02:50:11 -07:00
Jiaqi Liu 714321fc71 Merge branch 'main' of https://github.com/0x7c13/Pal3.Unity 2024-04-25 02:38:15 -07:00
Jiaqi Liu abb147953f Update UnityEditor-DarkMode pkg 2024-04-25 02:38:07 -07:00
dependabot[bot] 1ca0ec59dc action-deps: bump actions/checkout from 4.1.2 to 4.1.3 (#39)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-21 23:11:34 -07:00
dependabot[bot] a967d353e7 action-deps: bump actions/upload-artifact from 4.3.1 to 4.3.2 (#40)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.1...v4.3.2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-21 23:11:23 -07:00
Jiaqi Liu 1e0725d767 Update UnityEditorDarkMode dll 2024-04-08 10:55:28 -07:00
Jiaqi Liu 3669e1992b Update UnityEditorDarkMode.dll 2024-04-07 05:41:59 -07:00
Jiaqi Liu 9d93c1f540 Update UnityEditorDarkMode.dll 2024-04-06 02:35:52 -07:00
Jiaqi Liu 95fc8445df Enable DarkMode for UnityEditor on Windows 11 2024-04-05 09:29:56 -07:00
Jiaqi Liu 66324a805b Bump Unity version 2024-03-26 18:54:29 -07:00
dependabot[bot] 3ca627c8da action-deps: bump actions/checkout from 4.1.1 to 4.1.2 (#37)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 02:40:28 -07:00
dependabot[bot] 634ca8ff27 action-deps: bump actions/cache from 4.0.1 to 4.0.2 (#38)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 02:40:20 -07:00
dependabot[bot] d5e6f2d3e9 action-deps: bump actions/cache from 4.0.0 to 4.0.1 (#36)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-03 21:56:14 -08:00
dependabot[bot] 5c52760ce7 action-deps: bump actions/cache from 3.3.3 to 4.0.0 (#32)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.3...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 19:41:47 -08:00
dependabot[bot] 78bb782909 action-deps: bump actions/upload-artifact from 4.1.0 to 4.3.1 (#35)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.1.0...v4.3.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 19:41:39 -08:00
dependabot[bot] 123583efd2 action-deps: bump actions/cache from 3.3.2 to 3.3.3 (#30)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 03:56:50 -08:00
dependabot[bot] bc6ba3d486 action-deps: bump actions/upload-artifact from 4.0.0 to 4.1.0 (#31)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 03:56:42 -08:00
Jiaqi Liu 7abe307bd1 Code refactoring 2024-01-07 03:30:05 -08:00
Jiaqi Liu b8bb1e018f Update header 2024-01-07 02:37:35 -08:00
Jiaqi Liu 18e3fb68ad Bump year in license 2024-01-01 05:15:04 -08:00
Jiaqi Liu f3eba7070e Fix build issue 2023-12-29 04:04:05 -08:00
Jiaqi Liu 1ff06369e8 Bump Unity version 2023-12-29 03:51:49 -08:00
Jiaqi Liu b91acc8e14 Add missing secret variables in workflow files 2023-12-29 03:39:58 -08:00
Jiaqi Liu 7a0836269f Revert "Revert "action-deps: bump game-ci/unity-builder from 3 to 4 (#27)""
This reverts commit be36de9858.
2023-12-27 16:34:07 -08:00
Jiaqi Liu be36de9858 Revert "action-deps: bump game-ci/unity-builder from 3 to 4 (#27)"
This reverts commit 60f381b565.
2023-12-27 00:29:36 -08:00
Jiaqi Liu be0b9758cb Downgrade to 2022.3.15f to make CI pass 2023-12-27 00:16:09 -08:00
Jiaqi Liu 458879180a Merge branch 'main' of https://github.com/0x7c13/Pal3.Unity 2023-12-27 00:09:41 -08:00
Jiaqi Liu d334cf9918 Code refactoring 2023-12-27 00:09:33 -08:00
dependabot[bot] bb8ea6584a action-deps: bump actions/upload-artifact from 3.1.3 to 4.0.0 (#29)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.3...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 19:48:33 -08:00
dependabot[bot] 60f381b565 action-deps: bump game-ci/unity-builder from 3 to 4 (#27)
Bumps [game-ci/unity-builder](https://github.com/game-ci/unity-builder) from 3 to 4.
- [Release notes](https://github.com/game-ci/unity-builder/releases)
- [Commits](https://github.com/game-ci/unity-builder/compare/v3...v4)

---
updated-dependencies:
- dependency-name: game-ci/unity-builder
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 19:48:11 -08:00
Jiaqi Liu 0fe5074585 Material abstraction 2023-12-26 19:47:18 -08:00
Jiaqi Liu f7c9d805bb Bump Unity version 2023-12-26 16:38:06 -08:00
Jiaqi Liu 25c8dd3d83 Minor refactoring 2023-10-28 03:30:22 -07:00
Jiaqi Liu ae08e1ff92 Code refactoring 2023-10-25 21:00:54 -07:00
Jiaqi Liu 9caf32c80b Code refactoring 2023-10-24 05:53:12 -07:00
dependabot[bot] 3dce798326 action-deps: bump actions/checkout from 4.1.0 to 4.1.1 (#26)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:43:31 -07:00
Jiaqi Liu de98baab9b Code refactoring 2023-10-23 06:47:55 -07:00
Jiaqi Liu e36ced68aa Use reflection to calculate user variable mask at init time 2023-10-21 21:40:52 -07:00
Jiaqi Liu 778c33a246 Fix build issue 2023-10-21 20:50:55 -07:00
Jiaqi Liu bdcb7fa784 Code refactoring 2023-10-21 18:08:23 -07:00
Jiaqi Liu 8ef806cca0 Fixed script var value type + code refactoring 2023-10-20 01:59:59 -07:00
Jiaqi Liu e1214f3143 Fix potential issues 2023-10-18 04:34:12 -07:00
Jiaqi Liu e923a46b09 Fix commit issue 2023-10-18 00:23:11 -07:00
Jiaqi Liu 9f4c731069 Code refactoring 2023-10-18 00:20:55 -07:00
Jiaqi Liu 3792944d10 Code refactoring + perf optimizations 2023-10-15 23:52:39 -07:00
Jiaqi Liu 3751ea11a4 Reduce heap allocation in CpkArchive IO ops 2023-10-15 06:07:26 -07:00
Jiaqi Liu 01913ed717 Code refactoring 2023-10-15 05:23:59 -07:00
Jiaqi Liu 09cd24ddaf Implement BatchSearch to save loading time for GameResourceViewer 2023-10-15 04:27:39 -07:00
Jiaqi Liu c587ffe433 Code refactoring 2023-10-14 17:39:47 -07:00
Jiaqi Liu a18eae05ec Bug fix 2023-10-14 04:33:32 -07:00
Jiaqi Liu 3a6016f94e Texture2D and Sprite abstraction 2023-10-14 04:08:46 -07:00
Jiaqi Liu 866e6325f2 Code refactoring 2023-10-13 21:57:14 -07:00
Jiaqi Liu f114592ddc Use ArrayPool to reduce heap allocation during scene load 2023-10-13 20:02:15 -07:00
Jiaqi Liu 23384143d7 Fix PAL3A build issue 2023-10-13 07:45:34 -07:00
Jiaqi Liu 608b6caa98 Reduce heap allocation for SkeletalModelRenderer with some code refactoring around MeshDataBuffer 2023-10-13 07:44:30 -07:00
Jiaqi Liu b41c94e232 Reduce heap allocation when switching mv3 animations 2023-10-13 04:00:18 -07:00
Jiaqi Liu 730fb70aab Code refactoring 2023-10-12 07:27:03 -07:00
Jiaqi Liu 1a03b20e0e More abstractions and bug fixes 2023-10-11 20:49:46 -07:00
Jiaqi Liu b380075ee3 Code refactoring and bug fixes 2023-10-10 22:12:28 -07:00
Jiaqi Liu 8368b1502e Fix broken GameResourceViewer 2023-10-09 20:53:43 -07:00
Jiaqi Liu 8b265c5459 Reduce heap allocation when re-using Mv3ModelRenderer 2023-10-09 20:35:23 -07:00
Jiaqi Liu ed9f744764 More abstractions 2023-10-09 04:06:42 -07:00
Jiaqi Liu cd23875f3f Code refactoring 2023-10-09 02:53:42 -07:00
Jiaqi Liu 4e85f6ef9f More factorings 2023-10-08 21:11:33 -07:00
Jiaqi Liu 77cc03d167 Bug fixes and code refactoring 2023-10-08 18:40:18 -07:00
Jiaqi Liu 01a586e028 Abstract YieldInstructions 2023-10-08 17:51:04 -07:00
Jiaqi Liu f3da6151eb Get rid of UnityEngine.Time dependency in game code 2023-10-07 22:41:54 -07:00
Jiaqi Liu d8b2da7b7d Add step to free up disk storage on Android build Linux runners (#25) 2023-10-06 22:13:31 -07:00
Jiaqi Liu 72b14f8069 More abstractions to make game code engine agnostic 2023-10-06 20:50:21 -07:00
Jiaqi Liu a4f6c4ff9c Abstract MonoBehaviour 2023-10-04 21:20:53 -07:00
Jiaqi Liu 5fb27d643e Namespace refactoring 2023-10-04 17:45:26 -07:00
dependabot[bot] 2077272d1c action-deps: bump actions/checkout from 4.0.0 to 4.1.0 (#24)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 07:45:55 -07:00
dependabot[bot] 96732877a6 action-deps: bump actions/checkout from 3.6.0 to 4.0.0 (#21)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.6.0...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 20:04:48 -07:00
dependabot[bot] 1162899f69 action-deps: bump actions/cache from 3.3.1 to 3.3.2 (#22)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 20:04:35 -07:00
dependabot[bot] ed8ff6cdb3 action-deps: bump actions/upload-artifact from 3.1.2 to 3.1.3 (#23)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 20:04:27 -07:00
Jiaqi Liu 20d094f064 Refactoring + bug fixes 2023-09-22 22:46:10 -07:00
Jiaqi Liu 9e492a6ba1 Minor refactoring 2023-09-22 09:12:23 -07:00
Jiaqi Liu b9db26c8f1 Fix Android build issue 2023-09-21 21:10:07 -07:00
Jiaqi Liu f550398fb7 Fix build issues 2023-09-21 20:49:15 -07:00
Jiaqi Liu 1337a185bf Code refactoring to get rid of UnityEngine dependencies 2023-09-21 20:20:50 -07:00
Jiaqi Liu 72969ebb42 Fix typo 2023-09-10 08:14:19 -07:00
Jiaqi Liu 5b90410d7d Code refactoring 2023-09-04 04:13:20 -07:00
Jiaqi Liu 7f5e57195e Fix a bug in PAL3A scene m11-4 2023-09-02 02:03:05 -07:00
Jiaqi Liu 4e50d553c5 Code refactoring 2023-09-01 18:32:00 -07:00
Jiaqi Liu 9d7876480e Code refactoring 2023-08-31 21:14:05 -07:00
Jiaqi Liu a20430358c Bump Unity version + code refactoring 2023-08-29 20:38:03 -07:00
Jiaqi Liu 02a7e94001 Combat system WIP 2023-08-28 19:05:58 -07:00
dependabot[bot] e725e96bcd action-deps: bump actions/checkout from 3.5.0 to 3.6.0 (#20)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 00:06:06 -07:00
dependabot[bot] cce9ff7913 action-deps: bump game-ci/unity-builder from 2 to 3 (#19)
Bumps [game-ci/unity-builder](https://github.com/game-ci/unity-builder) from 2 to 3.
- [Release notes](https://github.com/game-ci/unity-builder/releases)
- [Commits](https://github.com/game-ci/unity-builder/compare/v2...v3)

---
updated-dependencies:
- dependency-name: game-ci/unity-builder
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 00:05:55 -07:00
Jiaqi Liu f36fed85fa Code refactoring 2023-08-27 00:56:48 -07:00
Jiaqi Liu 95778b055d Implement snow effect 2023-08-26 22:41:24 -07:00
Jiaqi Liu 2aa2229bcf Combat system WIP 2023-08-26 20:06:22 -07:00
Jiaqi Liu 0185eba411 Combat system WIP 2023-08-26 18:22:08 -07:00
Jiaqi Liu df235e2838 Combat system WIP 2023-08-25 21:15:15 -07:00
Jiaqi Liu 3826e1c238 Code refactoring 2023-08-25 05:17:44 -07:00
Jiaqi Liu 554446c4c1 Minor refactoring 2023-08-24 18:38:34 -07:00
Jiaqi Liu ba175a9f0e Code refactoring 2023-08-24 18:10:46 -07:00
Jiaqi Liu 7e1f99efd1 Code refactoring 2023-08-24 00:24:52 -07:00
Jiaqi Liu 61a0c7bdad Minor fixes and refactoring 2023-08-23 19:59:03 -07:00
Jiaqi Liu 94bc9d63ba Code refactoring 2023-08-23 19:01:16 -07:00
Jiaqi Liu 8a2c31cb84 Code refactoring 2023-08-23 02:31:41 -07:00
Jiaqi Liu 3d95b0a60c Code refactoring 2023-08-22 22:16:29 -07:00
Jiaqi Liu e515624139 Combat system WIP 2023-08-22 03:48:50 -07:00
Jiaqi Liu ca27dea76f Combat system WIP 2023-08-22 03:00:59 -07:00
Jiaqi Liu 78f0a1a8f7 Code refactoring 2023-08-21 22:55:34 -07:00
Jiaqi Liu 19b1b56a29 Code refactoring 2023-08-21 20:59:28 -07:00
Jiaqi Liu 662bf15548 Combat system WIP 2023-08-21 01:47:36 -07:00
Jiaqi Liu 31dcaf27ae Add missing scene music for t02_t02 2023-08-20 21:10:38 -07:00
Jiaqi Liu 252089fd48 Implement CombatContext and set context in CombatCoordinator 2023-08-20 20:59:56 -07:00
Jiaqi Liu 192140b5e2 Combat system init 2023-08-20 15:49:17 -07:00
Jiaqi Liu da13789bd9 Minor refactoring 2023-08-20 03:16:54 -07:00
Jiaqi Liu 2179efe8bd Add fog supports for PAL3 unlit shaders 2023-08-20 02:59:42 -07:00
Jiaqi Liu 5628415721 Minor refactoring 2023-08-19 23:37:00 -07:00
Jiaqi Liu 68109dbeb2 Code refactoring 2023-08-19 18:42:10 -07:00
Jiaqi Liu c6aa72b0f4 Code refactoring 2023-08-19 10:52:19 -07:00
Jiaqi Liu 4506397e73 Fix build issue 2023-08-19 02:46:14 -07:00
Jiaqi Liu 89aba474ae Enable DynamicBatching 2023-08-19 02:02:35 -07:00
Jiaqi Liu 94a3bc6466 v0.75 2023-08-18 22:35:28 -07:00
Jiaqi Liu 8369ce4457 Bug fixes 2023-08-18 21:51:45 -07:00
Jiaqi Liu 3ca369173a Bug fixes 2023-08-18 20:28:58 -07:00
Jiaqi Liu 27e92ce148 Code refactoring 2023-08-18 18:14:36 -07:00
Jiaqi Liu 5eb5574ff6 Bug fixes 2023-08-17 21:54:06 -07:00
Jiaqi Liu 5e73768756 Code refactoring 2023-08-17 19:24:41 -07:00
Jiaqi Liu 1c40f78179 Code refactoring 2023-08-16 19:36:31 -07:00
Jiaqi Liu 3506623d43 Fix a bug where actor might set to unwalkable tile during scene switch 2023-08-16 08:01:24 -07:00
Jiaqi Liu 6dcfa9acc0 Code refactoring 2023-08-16 07:34:57 -07:00
Jiaqi Liu f0efdfa67c Minor refactoring 2023-08-15 20:38:29 -07:00
Jiaqi Liu ef2710f028 Implement material pool to improve scene loading perf 2023-08-15 19:51:43 -07:00
Jiaqi Liu bd39ad5474 Perf optimizations 2023-08-14 08:50:46 -07:00
Jiaqi Liu 1db9c09281 v0.74 2023-08-13 10:03:33 -07:00
Jiaqi Liu 6949a02355 Implement and use LinkedObjectGroupId to sync objects 2023-08-13 09:26:13 -07:00
Jiaqi Liu 4e25c7f593 Update ReleaseBuildPipeline.cs 2023-08-12 21:26:41 -07:00
Jiaqi Liu dbc4f3747d Update LiberationSans SDF - Fallback.asset 2023-08-12 21:06:15 -07:00
Jiaqi Liu 780a2087e6 v0.73 2023-08-12 20:58:47 -07:00
Jiaqi Liu 7f8ff06b6e Cache all audio files 2023-08-12 20:40:59 -07:00
Jiaqi Liu cb9cb24d77 Code refactoring 2023-08-12 19:24:57 -07:00
Jiaqi Liu feaac946e3 Fix charset and build issue 2023-08-12 18:34:40 -07:00
Jiaqi Liu 724a6f767e Supports Traditional Chinese version of the game 2023-08-12 18:19:34 -07:00
Jiaqi Liu ba630a21fa Code refactoring 2023-08-12 07:12:43 -07:00
Jiaqi Liu b1e199e0fb Read and parse ComboSkills + EffectLinkers 2023-08-12 05:45:15 -07:00
Jiaqi Liu f3c1d30215 Read and parse CombatActorInfo and SkillInfo in gdb file 2023-08-11 05:39:47 -07:00
Jiaqi Liu 25151a8479 Code refactoring 2023-08-10 08:04:05 -07:00
Jiaqi Liu 48a6ef0217 Code refactoring 2023-08-10 07:41:52 -07:00
Jiaqi Liu 0adcc69b9e Use default theme music for the game 2023-08-10 03:08:33 -07:00
Jiaqi Liu 9cb651ffd0 Disable auto graphics API on Android, check executable folder on Win/Linux for OG game data files by default 2023-08-10 02:01:33 -07:00
Jiaqi Liu dc3cfadd44 Remove unused assets 2023-08-09 03:59:11 -07:00
Jiaqi Liu dc96d1a257 Fix a minor issue 2023-08-08 00:48:47 -07:00
Jiaqi Liu 2b98a43ca2 Update settings 2023-08-07 23:33:50 -07:00
Jiaqi Liu 1c12b99056 v0.72 2023-08-07 23:22:03 -07:00
Jiaqi Liu 515f99d391 Supports Vulkan + SSAO on Android 2023-08-07 23:12:07 -07:00
Jiaqi Liu 5073f9ac49 Minor fix 2023-08-07 09:22:30 -07:00
Jiaqi Liu ee2128d5ca Add debug info on-off switch in settings menu 2023-08-07 08:35:02 -07:00
Jiaqi Liu d7c0a05165 Fix dialogue positioning issue when resizing the game window 2023-08-07 05:55:19 -07:00
Jiaqi Liu 0b27516bff Minor fixes 2023-08-07 04:27:02 -07:00
Jiaqi Liu b0eca97589 Tweaks and fixes 2023-08-06 09:44:45 -07:00
Jiaqi Liu 33f8f40399 v0.71 2023-08-06 07:57:36 -07:00
Jiaqi Liu ab24b6ab14 Tweak slide speed on SlidewayObject 2023-08-06 07:56:58 -07:00
Jiaqi Liu 55fc5504a5 v0.71 2023-08-06 07:47:28 -07:00
Jiaqi Liu a223a0ea1d Keep linear fog shader (used by PAL3A) 2023-08-06 07:12:44 -07:00
Jiaqi Liu d328f26c1f Implement mini map 2023-08-06 07:07:24 -07:00
Jiaqi Liu 0419a4bbd7 Update QualitySettings.asset 2023-08-06 00:53:50 -07:00
Jiaqi Liu 88a5db3420 Show game logo on launch 2023-08-05 23:48:58 -07:00
Jiaqi Liu 753c8baec5 UI and dialogue animation tweaks 2023-08-05 21:31:37 -07:00
Jiaqi Liu 417a6b22c5 v0.70 2023-08-05 06:35:27 -07:00
Jiaqi Liu ebcc8d8db2 Implement PAL3A task system 2023-08-05 06:17:29 -07:00
Jiaqi Liu d894cc81a4 Minor optimizations 2023-08-04 19:39:33 -07:00
Jiaqi Liu dfdc33c222 Set different default speed for player and NPC actor 2023-08-04 18:44:04 -07:00
Jiaqi Liu 478b8f7f7a Perf and GC optimizations 2023-08-03 22:39:44 -07:00
Jiaqi Liu 787a34ab26 Improve performance 2023-08-03 20:00:45 -07:00
Jiaqi Liu eb209ad1a8 Minor refactoring 2023-08-03 02:33:59 -07:00
Jiaqi Liu 5bd8914546 Check and notify if a new version is found on Github release page 2023-08-03 02:26:17 -07:00
Jiaqi Liu 4543719970 Minor fixes 2023-08-03 01:43:32 -07:00
Jiaqi Liu 54cb77247e Code refactoring on binary reader 2023-08-03 00:16:42 -07:00
Jiaqi Liu c5caa3f90f Use UnsafeBinaryReader only in IL2CPP mode (fix crash on Android Mono build) 2023-08-02 20:31:23 -07:00
Jiaqi Liu c3893fbf47 Implement PAL3A SceneEnableFogCommand + code refactoring
- Implement PAL3A SceneEnableFogCommand
- Improves logging
- Object 46 in scene M03-1 should block player
-
2023-08-02 19:42:22 -07:00
Jiaqi Liu 7b80432fe2 Minor fix 2023-08-02 00:53:54 -07:00
Jiaqi Liu c5e5301193 Fix build issue 2023-08-02 00:41:14 -07:00
Jiaqi Liu 75b5c4bdce Decrease default audio volume in resource viewer 2023-08-02 00:31:51 -07:00
Jiaqi Liu 0ea812e321 Add extract .cpk button to resource viewer with bug fixes 2023-08-02 00:24:37 -07:00
Jiaqi Liu c5dc4d7335 v0.67 2023-08-01 22:52:28 -07:00
Jiaqi Liu 34370ec2e8 Add more supported build targets 2023-08-01 22:28:53 -07:00
Jiaqi Liu bd892fb3fb Fix a regression on path separator handling for unix-like system 2023-08-01 21:52:38 -07:00
Jiaqi Liu 39c27b04d7 Implement flashing animation for time-sensitive dialogue 2023-08-01 20:59:35 -07:00
Jiaqi Liu b1afd47878 Add background image to dialogue selection buttons
Add background image to dialogue selection buttons.
Add mov preview in game resource viewer.
Add padding to dialogue selection button text
2023-08-01 16:15:36 -07:00
Jiaqi Liu 9286d3160a Code refactoring 2023-08-01 13:49:12 -07:00
Jiaqi Liu 54fb05093c Code refactoring 2023-08-01 09:00:29 -07:00
Jiaqi Liu f872dd7c3d Remove hack code 2023-07-31 00:59:36 -07:00
Jiaqi Liu 9ffebd2b71 Fix shader issue with Metal on MacOS 2023-07-31 00:48:07 -07:00
Jiaqi Liu 4c6c8752d9 Code refactoring 2023-07-30 22:01:05 -07:00
Jiaqi Liu db11847130 v0.66 2023-07-30 03:58:14 -07:00
Jiaqi Liu d88f737375 Code refactoring 2023-07-30 03:36:57 -07:00
Jiaqi Liu d1a7de0229 Fix a bug that might be caused by a delayed destroy 2023-07-30 02:55:42 -07:00
Jiaqi Liu 78e9692abc Upgrade dependencies 2023-07-29 14:55:58 -07:00
Jiaqi Liu 836463c795 Smoothen skeletal animation with interpolation 2023-07-29 02:07:26 -07:00
Jiaqi Liu 630166880f Fix: Use Slerp for quaternion Interpolation 2023-07-29 02:06:59 -07:00
Jiaqi Liu 421ee12a82 Properly implement logic to read mtl file and handle GB Material 2023-07-28 19:52:03 -07:00
Jiaqi Liu 4dd3992a32 v0.65 2023-07-27 22:12:51 -07:00
Jiaqi Liu 5fab0d867e Implement skeletal animation logic (#17)
Properly implements SkeletalModelRenderer + SkeletalAnimationActorActionController
2023-07-27 21:48:39 -07:00
Jiaqi Liu a1801f59f5 Upgrade Unity version 2023-07-20 20:41:22 -07:00
Jiaqi Liu 3f467944ce Fix a bug where actor might spawn at wrong Y position 2023-07-06 00:28:33 -07:00
Jiaqi Liu b1add2a940 Minor refactoring 2023-07-05 23:58:27 -07:00
Jiaqi Liu 3e8f350740 Upgrade packages 2023-07-01 23:34:41 -07:00
Jiaqi Liu 790f72d836 Merge branch 'main' of https://github.com/0x7c13/Pal3.Unity 2023-06-29 19:16:34 -07:00
Jiaqi Liu 4fcb2b74da Minor fixes 2023-06-29 19:16:32 -07:00
Jackie Liu e0d1cf0f80 Fix mono build issue 2023-06-29 12:58:54 -07:00
Jiaqi Liu bdb0476417 Fix build issue 2023-06-29 11:53:52 -07:00
Jackie Liu 4d23ec3c47 v0.64 2023-06-29 11:23:27 -07:00
Jackie Liu 4f6f411816 Code refactoring 2023-06-08 20:07:43 -07:00
Jackie Liu cf015037bf Upgrade project to Unity 2022.3 LTS 2023-06-01 19:26:48 -07:00
Jiaqi Liu 259768e954 Code refactoring 2023-04-24 13:15:19 +08:00
Jackie Liu 57a2189812 Update ProjectVersion.txt 2023-04-13 21:11:43 -07:00
Jackie Liu 00f7b223a0 Code refactoring 2023-04-12 22:36:49 -07:00
Jackie Liu e4791b460e Code refactoring 2023-04-10 03:27:14 -07:00
Jackie Liu 60458949df Code refactoring 2023-04-10 03:00:13 -07:00
Jackie Liu a8bfe5917b Upgrade NugetForUnity and nuget packages 2023-04-10 02:42:27 -07:00
Jackie Liu f90463466d Implement MshFile and MshFileReader 2023-04-10 02:29:08 -07:00
Jackie Liu e6a9cfb28a Fix spacing issue 2023-04-09 04:20:09 -07:00
Jackie Liu 7f22dfe51b Implement MovFile and MovFileReader 2023-04-09 04:15:19 -07:00
Jackie Liu ef8e891ab0 Code refactoring 2023-04-08 06:52:56 -07:00
Jackie Liu ee6b6ec2af Code refactoring 2023-04-07 19:40:50 -07:00
Jackie Liu 1406fc857e Deactivate main actor in init menu scene 2023-04-06 22:52:24 -07:00
Jackie Liu 09300bb28a Code refactoring 2023-04-06 22:39:53 -07:00
Jackie Liu c4ac634589 Code refactoring and bug fixes 2023-04-06 20:33:47 -07:00
Jackie Liu 3a101d6e0a Use TryAdd and TryGetValue for Dictionary ops 2023-04-06 08:36:30 -07:00
Jackie Liu 4a6d68ea59 Code refactoring 2023-04-06 08:02:02 -07:00
Jackie Liu a6eabdb8d8 Properly implement Hold behavior for actor 2023-04-05 00:52:51 -07:00
Jackie Liu 43133b2ebd Initial work on supporting bone animated actors 2023-04-04 23:24:21 -07:00
Jackie Liu 8d21346cd7 Code refactoring 2023-04-04 21:34:58 -07:00
Jackie Liu e0267dce3b Code refactoring 2023-04-04 18:27:04 -07:00
Jackie Liu 263d9fcd8c Code refactoring + bug fixes 2023-04-03 19:26:21 -07:00
Jackie Liu be5aebde3b Bug fixes 2023-04-03 02:32:37 -07:00
Jackie Liu 142593a9f2 v0.63 2023-04-03 01:41:11 -07:00
Jackie Liu 63e8bf3291 Implement auto-save and save/load menus 2023-04-03 01:09:40 -07:00
Jackie Liu 0268e131f1 Bug fixes 2023-04-02 21:53:17 -07:00
Jackie Liu a3277187cf Code refactoring 2023-04-02 20:37:09 -07:00
Jackie Liu de45ada269 Fixing sort order 2023-04-02 05:33:12 -07:00
Jackie Liu 5e42873ca2 v0.62 2023-04-02 05:07:57 -07:00
Jackie Liu 6a0648e3de BigMap UI rework + improve button navigation 2023-04-02 04:52:59 -07:00
Jackie Liu 9a114775dd Fix iOS build issue 2023-04-02 03:23:21 -07:00
Jackie Liu 45f5aefbaa Downgrade Unity version to 2022.2.12f1 to pass the CI 2023-04-02 03:00:46 -07:00
Jackie Liu f54efce2eb Rework on game init view 2023-04-02 02:55:12 -07:00
Jackie Liu 758e37cfab Code refactoring 2023-04-01 18:05:06 -07:00
Jiaqi Liu a9f9b5efdd v0.61 2023-04-01 04:51:05 -07:00
Jiaqi Liu f7a3a77130 Fix a bug where info notes might block user interaction on buttons 2023-04-01 04:49:27 -07:00
Jiaqi Liu 97bc1a9c80 Remove unused log code 2023-04-01 02:59:15 -07:00
Jiaqi Liu 45bbca6c78 Fix another bug related to resolution scale changing on iOS devices 2023-04-01 02:58:47 -07:00
Jiaqi Liu cfcf7fd493 Workaround on iOS to enable SSAO without affecting blur shader on startup 2023-04-01 02:35:54 -07:00
Jiaqi Liu 188056e260 Disable game icon compression 2023-04-01 01:47:28 -07:00
Jiaqi Liu b55eca02bc Bug fixes 2023-04-01 01:17:43 -07:00
Jackie Liu 4ff25872a0 Reset anchored position after returning to main menu 2023-03-31 23:10:14 -07:00
Jackie Liu 9c6a742db6 Save settings after initialization 2023-03-31 22:23:10 -07:00
Jackie Liu a9b1fab282 Minor fix 2023-03-31 22:13:39 -07:00
Jackie Liu fd3bf05aee Persist settings when exit main menu 2023-03-31 22:06:16 -07:00
Jackie Liu 11480c0fda Bump bundle version 2023-03-31 21:38:22 -07:00
Jackie Liu 1404ad41e6 v0.60 2023-03-31 21:37:44 -07:00
Jackie Liu 86b82feecc Add resolution setting for non-standalone devices 2023-03-31 20:42:23 -07:00
Jackie Liu 488797d118 Update virtual joystick icons 2023-03-31 20:08:03 -07:00
Jackie Liu 041f3ba2e9 Implement settings in main menu 2023-03-31 18:51:16 -07:00
Jackie Liu cb0982d69c Implement dialogue popup/hide animation 2023-03-31 15:05:39 -07:00
Jiaqi Liu 9024de3920 Implement rounded frosted glass shader + UI tweaks 2023-03-31 02:12:51 -07:00
Jiaqi Liu fbcba999aa Upgrade input system package 2023-03-31 00:35:37 -07:00
Jackie Liu 0247d19677 UI tweaks 2023-03-30 03:22:53 -07:00
Jackie Liu 31416dd1df UI Code refactoring Part 2 2023-03-30 02:52:19 -07:00
Jackie Liu f660dacfa6 UI Code refactoring Part 1 2023-03-29 02:21:23 -07:00
Jackie Liu a7648df691 Create .gitattributes 2023-03-28 20:21:12 -07:00
Jackie Liu 273fd398ff Update quality settings 2023-03-28 00:34:29 -07:00
Jackie Liu 5d7595970e Update READMEs to include dependencies 2023-03-27 02:38:55 -07:00
1474 changed files with 177300 additions and 27456 deletions

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
# * text=auto
# Unity files
*.anim text eol=lf
*.asmdef text eol=lf
*.asset text eol=lf
*.controller text eol=lf
*.mat text eol=lf
*.meta text eol=lf
*.overrideController text eol=lf
*.prefab text eol=lf
*.preset text eol=lf
*.spriteatlas text eol=lf
*.unity text eol=lf
*.mixer text eol=lf
*.renderTexture text eol=lf
*.json text eol=lf
*.xml text eol=lf
# Source files
*.sln text eol=crlf
*.csproj text eol=crlf
*.cs text eol=crlf
*.shader text eol=crlf
+15 -4
View File
@@ -12,23 +12,34 @@ jobs:
targetPlatform:
- Android # Build an Android .apk standalone app.
steps:
- uses: actions/checkout@v3.5.0
- uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.2
with:
name: PAL3-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
+5 -3
View File
@@ -12,18 +12,20 @@ jobs:
targetPlatform:
- iOS # Build an iOS player.
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
+6 -4
View File
@@ -12,23 +12,25 @@ jobs:
targetPlatform:
- StandaloneLinux64 # Build a Linux 64-bit standalone.
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.2
with:
name: PAL3-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
+6 -4
View File
@@ -12,23 +12,25 @@ jobs:
targetPlatform:
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.2
with:
name: PAL3-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
@@ -13,23 +13,25 @@ jobs:
- StandaloneWindows # Build a Windows standalone.
- StandaloneWindows64 # Build a Windows 64-bit standalone.
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3
versioning: Semantic
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.2
with:
name: PAL3-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
+15 -4
View File
@@ -12,7 +12,16 @@ jobs:
targetPlatform:
- Android # Build an Android .apk standalone app.
steps:
- uses: actions/checkout@v3.5.0
- uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
@@ -28,20 +37,22 @@ jobs:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
allowDirtyBuild: true
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3A
versioning: Semantic
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.2
with:
name: PAL3A-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
+5 -3
View File
@@ -12,7 +12,7 @@ jobs:
targetPlatform:
- iOS # Build an iOS player.
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
@@ -28,14 +28,16 @@ jobs:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
allowDirtyBuild: true
targetPlatform: ${{ matrix.targetPlatform }}
+6 -4
View File
@@ -12,7 +12,7 @@ jobs:
targetPlatform:
- StandaloneLinux64 # Build a Linux 64-bit standalone.
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
@@ -28,20 +28,22 @@ jobs:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
allowDirtyBuild: true
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3A
versioning: Semantic
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.2
with:
name: PAL3A-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
+6 -4
View File
@@ -12,7 +12,7 @@ jobs:
targetPlatform:
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
@@ -28,20 +28,22 @@ jobs:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
allowDirtyBuild: true
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3A
versioning: Semantic
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.2
with:
name: PAL3A-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
@@ -13,7 +13,7 @@ jobs:
- StandaloneWindows # Build a Windows standalone.
- StandaloneWindows64 # Build a Windows 64-bit standalone.
steps:
- uses: actions/checkout@v3.5.0
- uses: actions/checkout@v4.1.3
with:
fetch-depth: 0
lfs: true
@@ -29,20 +29,22 @@ jobs:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
allowDirtyBuild: true
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3A
versioning: Semantic
- uses: actions/upload-artifact@v3.1.2
- uses: actions/upload-artifact@v4.3.2
with:
name: PAL3A-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
+4 -1
View File
@@ -83,4 +83,7 @@ crashlytics-build.properties
/Assets/Resources/Prefabs/VFX/PAL3A/*.meta
# Materials that are using 3rd party assets
/Assets/Resources/Materials/
/Assets/Resources/Materials/
# VS Conde config file
.vsconfig
+2
View File
@@ -1,5 +1,7 @@
fileFormatVersion: 2
guid: 017f90526f3834e4ca575928f2369942
labels:
- NuGetForUnity
PluginImporter:
externalObjects: {}
serializedVersion: 2
Binary file not shown.
@@ -1,98 +0,0 @@
fileFormatVersion: 2
guid: 9ea59359fa70a004da570d3fae618d57
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
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: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: bd9629b50a962774fa83514636685099
guid: d25342fa4b1c06a4fb5b9275bf3f6350
folderAsset: yes
DefaultImporter:
externalObjects: {}
Binary file not shown.
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: c55e208d745dcdd4f869b845af4cfab3
guid: 2202405c70c652942ae8270006c01f9d
TextScriptImporter:
externalObjects: {}
userData:
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 447a6384f74b843dc8c19f6397c505f7
guid: bed3e3b7fed51194da24fb7fb8c0a316
DefaultImporter:
externalObjects: {}
userData:
+71
View File
@@ -0,0 +1,71 @@
# ![Logo](https://raw.githubusercontent.com/JamesNK/Newtonsoft.Json/master/Doc/icons/logo.jpg) Json.NET
[![NuGet version (Newtonsoft.Json)](https://img.shields.io/nuget/v/Newtonsoft.Json.svg?style=flat-square)](https://www.nuget.org/packages/Newtonsoft.Json/)
[![Build status](https://dev.azure.com/jamesnk/Public/_apis/build/status/JamesNK.Newtonsoft.Json?branchName=master)](https://dev.azure.com/jamesnk/Public/_build/latest?definitionId=8)
Json.NET is a popular high-performance JSON framework for .NET
## Serialize JSON
```csharp
Product product = new Product();
product.Name = "Apple";
product.Expiry = new DateTime(2008, 12, 28);
product.Sizes = new string[] { "Small" };
string json = JsonConvert.SerializeObject(product);
// {
// "Name": "Apple",
// "Expiry": "2008-12-28T00:00:00",
// "Sizes": [
// "Small"
// ]
// }
```
## Deserialize JSON
```csharp
string json = @"{
'Name': 'Bad Boys',
'ReleaseDate': '1995-4-7T00:00:00',
'Genres': [
'Action',
'Comedy'
]
}";
Movie m = JsonConvert.DeserializeObject<Movie>(json);
string name = m.Name;
// Bad Boys
```
## LINQ to JSON
```csharp
JArray array = new JArray();
array.Add("Manual text");
array.Add(new DateTime(2000, 5, 23));
JObject o = new JObject();
o["MyArray"] = array;
string json = o.ToString();
// {
// "MyArray": [
// "Manual text",
// "2000-05-23T00:00:00"
// ]
// }
```
## Links
- [Homepage](https://www.newtonsoft.com/json)
- [Documentation](https://www.newtonsoft.com/json/help)
- [NuGet Package](https://www.nuget.org/packages/Newtonsoft.Json)
- [Release Notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Contributing Guidelines](https://github.com/JamesNK/Newtonsoft.Json/blob/master/CONTRIBUTING.md)
- [License](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/json.net)
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 6c6f55d45332bf34096a5ca9a5567681
PrefabImporter:
guid: 6069c71b8cbde2c46af37b4d5e9d6a4f
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 0569847255b194d4da45463253c1e4b1
guid: 520a919eca99b2345bd9cdcf39fe8e58
folderAsset: yes
DefaultImporter:
externalObjects: {}
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 9b982b4ebc3ab07418a1e9965b232813
guid: 45501e75b3795d04cbf421ad8a1021d3
folderAsset: yes
DefaultImporter:
externalObjects: {}
@@ -1,5 +1,7 @@
fileFormatVersion: 2
guid: a4c52cca01a63c54ba72e8a873c28f55
guid: 0321b95b71cdcb84396730b66dc18f74
labels:
- NuGetForUnity
PluginImporter:
externalObjects: {}
serializedVersion: 2
@@ -16,18 +18,6 @@ PluginImporter:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
@@ -865,6 +865,32 @@
Converts a <see cref="T:System.DateTime"/> to and from Unix epoch time
</summary>
</member>
<member name="P:Newtonsoft.Json.Converters.UnixDateTimeConverter.AllowPreEpoch">
<summary>
Gets or sets a value indicating whether the dates before Unix epoch
should converted to and from JSON.
</summary>
<value>
<c>true</c> to allow converting dates before Unix epoch to and from JSON;
<c>false</c> to throw an exception when a date being converted to or from JSON
occurred before Unix epoch. The default value is <c>false</c>.
</value>
</member>
<member name="M:Newtonsoft.Json.Converters.UnixDateTimeConverter.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Converters.UnixDateTimeConverter"/> class.
</summary>
</member>
<member name="M:Newtonsoft.Json.Converters.UnixDateTimeConverter.#ctor(System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Converters.UnixDateTimeConverter"/> class.
</summary>
<param name="allowPreEpoch">
<c>true</c> to allow converting dates before Unix epoch to and from JSON;
<c>false</c> to throw an exception when a date being converted to or from JSON
occurred before Unix epoch. The default value is <c>false</c>.
</param>
</member>
<member name="M:Newtonsoft.Json.Converters.UnixDateTimeConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
<summary>
Writes the JSON representation of the object.
@@ -2554,7 +2580,7 @@
<summary>
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
A null value means there is no maximum.
The default value is <c>128</c>.
The default value is <c>64</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonReader.TokenType">
@@ -3014,7 +3040,7 @@
<summary>
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
A null value means there is no maximum.
The default value is <c>128</c>.
The default value is <c>64</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializer.CheckAdditionalContent">
@@ -3330,7 +3356,7 @@
<summary>
Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a <see cref="T:Newtonsoft.Json.JsonReaderException"/>.
A null value means there is no maximum.
The default value is <c>128</c>.
The default value is <c>64</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.JsonSerializerSettings.Formatting">
@@ -3397,6 +3423,12 @@
Initializes a new instance of the <see cref="T:Newtonsoft.Json.JsonSerializerSettings"/> class.
</summary>
</member>
<member name="M:Newtonsoft.Json.JsonSerializerSettings.#ctor(Newtonsoft.Json.JsonSerializerSettings)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.JsonSerializerSettings"/> class
using values copied from the passed in <see cref="T:Newtonsoft.Json.JsonSerializerSettings"/>.
</summary>
</member>
<member name="T:Newtonsoft.Json.JsonTextReader">
<summary>
Represents a reader that provides fast, non-cached, forward-only access to JSON text data.
@@ -7031,6 +7063,25 @@
<param name="reader">The reader.</param>
<returns>An instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonCloneSettings">
<summary>
Specifies the settings used when cloning JSON.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JsonCloneSettings.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JsonCloneSettings"/> class.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonCloneSettings.CopyAnnotations">
<summary>
Gets or sets a flag that indicates whether to copy annotations when cloning a <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
The default value is <c>true</c>.
</summary>
<value>
A flag that indicates whether to copy annotations when cloning a <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
</value>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonLoadSettings">
<summary>
Specifies the settings used when loading JSON.
@@ -8071,6 +8122,13 @@
</summary>
<returns>A new instance of the <see cref="T:Newtonsoft.Json.Linq.JToken"/>.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.DeepClone(Newtonsoft.Json.Linq.JsonCloneSettings)">
<summary>
Creates a new instance of the <see cref="T:Newtonsoft.Json.Linq.JToken"/>. All child tokens are recursively cloned.
</summary>
<param name="settings">A <see cref="T:Newtonsoft.Json.Linq.JsonCloneSettings"/> object to configure cloning settings.</param>
<returns>A new instance of the <see cref="T:Newtonsoft.Json.Linq.JToken"/>.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JToken.AddAnnotation(System.Object)">
<summary>
Adds an object to the annotation list of this <see cref="T:Newtonsoft.Json.Linq.JToken"/>.
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 7cdd1b6e2b1397547b722844a364a7c7
guid: 9b4b3cddff1ae1343a973b35c0738edd
TextScriptImporter:
externalObjects: {}
userData:
File renamed without changes.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

@@ -1,12 +1,12 @@
fileFormatVersion: 2
guid: 5fb27d4a1e32bab4dbe09f858449820d
guid: be12599e7ed6ddb44ac085726df1d0fd
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
@@ -20,11 +20,12 @@ TextureImporter:
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@@ -36,13 +37,13 @@ TextureImporter:
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@@ -51,9 +52,9 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 8
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
@@ -63,12 +64,14 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
@@ -100,13 +103,37 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
spriteID:
internalID: 0
vertices: []
indices:
@@ -114,9 +141,8 @@ TextureImporter:
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
mipmapLimitGroupName:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -1,5 +1,7 @@
fileFormatVersion: 2
guid: f691697ada4059c46a06801ddaf2ee3a
labels:
- NuGetForUnity
PluginImporter:
externalObjects: {}
serializedVersion: 2
-9
View File
@@ -1,9 +0,0 @@
fileFormatVersion: 2
guid: 217cb7caed5f7fb49b339428b1d80974
folderAsset: yes
timeCreated: 1510280316
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -1,33 +0,0 @@
fileFormatVersion: 2
guid: 8dc1be91775c4bb469f6b74cef450eaa
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
-8
View File
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 1d9014b99ad06af428514a5902d29ff3
timeCreated: 1573248500
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
-8
View File
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 83c5d2001771f15429a88d67e81366d6
timeCreated: 1517876157
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
-9
View File
@@ -1,9 +0,0 @@
fileFormatVersion: 2
guid: 1738075a39a390447b7a620ca6962142
folderAsset: yes
timeCreated: 1510280362
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

@@ -1,88 +0,0 @@
fileFormatVersion: 2
guid: eec19781926cd2248b7c9abfde8db555
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
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
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 215e43cda847e6d44af8b40376eeed8a
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -2,20 +2,24 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2180264
Material:
serializedVersion: 6
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiberationSans SDF Material
m_Shader: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3}
m_ShaderKeywords:
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
@@ -67,6 +71,7 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Ambient: 0.5
- _Bevel: 0.5
@@ -107,9 +112,9 @@ Material:
- _Parallax: 0.02
- _PerspectiveFilter: 0.875
- _Reflectivity: 10
- _ScaleRatioA: 0.90909094
- _ScaleRatioA: 0.9
- _ScaleRatioB: 0.73125
- _ScaleRatioC: 0.7386364
- _ScaleRatioC: 0.73125
- _ScaleX: 1
- _ScaleY: 1
- _ShaderFlags: 0
@@ -148,6 +153,7 @@ Material:
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
m_BuildTextureStacks: []
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -165,15 +171,16 @@ MonoBehaviour:
materialHashCode: 462855346
m_Version: 1.1.0
m_SourceFontFileGUID: e3265ab4bf004d28a9537516768c1c75
m_SourceFontFile_EditorRef: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75,
type: 3}
m_SourceFontFile_EditorRef: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3}
m_SourceFontFile: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3}
m_AtlasPopulationMode: 1
m_FaceInfo:
m_FaceIndex: 0
m_FamilyName: Liberation Sans
m_StyleName: Regular
m_PointSize: 86
m_Scale: 1
m_UnitsPerEM: 0
m_LineHeight: 98.8916
m_AscentLine: 77.853516
m_CapLine: 59
@@ -313,15 +320,21 @@ Texture2D:
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
m_IsAlphaChannelOptional: 0
serializedVersion: 2
m_Width: 0
m_Height: 0
m_CompleteImageSize: 0
m_MipsStripped: 0
m_TextureFormat: 1
m_MipCount: 1
m_IsReadable: 1
m_IsPreProcessed: 0
m_IgnoreMipmapLimit: 0
m_MipmapLimitGroupName:
m_StreamingMipmaps: 0
m_StreamingMipmapsPriority: 0
m_VTOnly: 0
m_AlphaIsTransparency: 0
m_ImageCount: 1
m_TextureDimension: 2
@@ -335,9 +348,11 @@ Texture2D:
m_WrapW: 0
m_LightmapFormat: 0
m_ColorSpace: 0
m_PlatformBlob:
image data: 0
_typelessdata:
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path:
@@ -1,9 +1,8 @@
fileFormatVersion: 2
guid: b3fad56c531ac5a4db190a745f589a8e
guid: 3e722869deff58e4cae41190ceee880a
folderAsset: yes
timeCreated: 1510280304
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,6 +1,25 @@
DarkMode Mod for Unity Editor on Windows
----------------------------------------------------------------------------
v1.1 04/08/2024
----------------------------------------------------------------------------
A fully working runtime dark mode mod for Unity Editor on Windows with:
- Dark title bar
- Dark menu bar
- Dark context menu
- And more...
> This runtime mod works on Windows 11 and Windows 10 1903+.
Tested on Unity 2019, 2020, 2021, 2022, 2023 and Unity 6.
Source code is available at: https://github.com/0x7c13/UnityEditor-DarkMode
----------------------------------------------------------------------------
MIT License
Copyright (c) 2018 Patrick McCarthy
Copyright (c) 2024 Jiaqi (0x7c13) Liu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +37,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 33d8f76296a183145ae27b820db1e4b4
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,6 @@
menubar_textcolor = 200,200,200
menubar_textcolor_disabled = 160,160,160
menubar_bgcolor = 48,48,48
menubaritem_bgcolor = 48,48,48
menubaritem_bgcolor_hot = 62,62,62
menubaritem_bgcolor_selected = 62,62,62
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 18067ab6c9f2b9c4db7a28c5a071bb6a
guid: 6c50fe9ef05bb7b49bf69b0c596fd1ed
DefaultImporter:
externalObjects: {}
userData:
@@ -0,0 +1,63 @@
fileFormatVersion: 2
guid: c8116b2fba7c75047b30e087741eb77b
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 1
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: Windows
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2fdfd4ee855cc4e2ca02ab45b140b645
guid: 9e1d886e63529bb4ca3c95ece3e3189c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
@@ -1,15 +1,15 @@
fileFormatVersion: 2
guid: 7626a558c078543429fe82dd67dabac9
guid: d96ea4d5faefce3439cfdd534fc1656b
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
forceTextureCase: 3
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontNames:
- Cascadia Code
- LXGW WenKai
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 06415fcd9086a4b3b9cb0804bf1013aa
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -1,21 +0,0 @@
fileFormatVersion: 2
guid: 62722665bcac243b09727c19bb9e6eb1
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontNames:
- Source Han Sans CN
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
useLegacyBoundsCalculation: 0
shouldRoundAdvanceValue: 1
userData:
assetBundleName:
assetBundleVariant:
+2 -1
View File
@@ -1 +1,2 @@
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~·—‘’“”…、。《》【】!(),:;?~+一丁七万丈三上下不与丐丑专且世丘丙业丛东丝丢两严丧个丫中丰串临丸丹为主丽举乃久么义之乌乍乎乏乐乔乖乘乙九乞也习乡书乩买乱乳乾了予争事二于亏云互五井亚些亡交亥亦产亨亩享京亭亮亲人亿什仁仃仅仆仇今介仍从仑仓仔仕他仗付仙仞代令以仪们仰仲仵件价任份仿企伉伍伎伏伐休众优伙会伟传伤伦伪伯估伴伶伸伺似但位低住佐佑体何佘余佛作你佣佩佬佯佳佼使侄侈例侍供依侠侣侥侧侬侮侯侵便促俊俏俐俗保俞信俨俩俪俭修俯俱俸俺倍倏們倒倔倘候倚倜借倦倩倪债值倾假偌偏偕做停健偶偷偿傀傅傍傥储催傲傻像僧僵僻儒儡儿允元兄充兆先光克免兑兔党兢入全八公六兮兰共关兴兵其具典兹养兼兽冀内冈册再冒冕写军农冠冢冤冥冬冯冰冲决况冶冷冻净凄准凉凋凌减凑凛凝几凡凤凭凰凶出击函凿刀刁刃分切刎刑划列刘则刚创初判刨利别刮到制刹刺刻剁剂剃削剌前剐剑剔剖剥剧剩剪副割剿劈力劝办功加务劣动助努劫励劲劳劾势勇勉勘募勤勺勾勿匀包匆匕化北匙匠匪匹区医匾匿十千升午卉半华协卑卒卓单卖南博卜卞占卡卢卦卧卫卯印危即却卵卷卸卿厂厄厅历厉压厌厕厘厚原厢厥厨厮去县叁参又及友双反发叔取受变叛叟口古句另叨叩只叫召叮可台史右叵叶号司叹叽吁吃各吆合吉吊同名后吏吐向吓吕吖吗君吝吞吟否吧吩含听吭启吴吵吸吹吼吾呀呃呆呈告呐呔呕呗员呜呢呦周呱味呵呶呸呻呼命咄咋和咎咏咐咒咔咕咙咦咧咪咬咱咳咶咸咻咽咿哀品哄哇哈哉响哎哑哗哟哥哦哨哩哪哭哮哲哼唆唇唉唐唔唠唤唧唬售唯唱唾啃商啊啥啦啧啬啰啸啼啾喀喂喃善喉喊喋喏喔喘喙喜喝喧喳喵喷喻喽嗅嗓嗔嗖嗜嗟嗤嗦嗨嗬嗯嗳嗽嘀嘉嘎嘘嘛嘞嘟嘱嘲嘴嘻嘿噎噗噜噢噤器噩噪噬噱嚎嚏嚣嚷嚼囊囔囚四回因团园困围固国图圃圆圈土圣在地场圾均坊坍坎坏坐坑块坚坛坝坟坠坡坤坦坪坷垂垃型垒垢垣垫垮埃埋城域埠埤培基堂堆堇堕堡堤堪堰堵塌塑塔塘塞填塾境墓墙墚增墟墨壁壑壤士壬壮声壳壶壹处备复夏夕外夙多夜够大天太夫夭央失头夷夸夹夺奇奈奉奋奎奏契奔奖套奠奢奥女奴奶奸她好如妃妄妆妇妈妍妒妓妖妙妞妥妨妹妻妾姊始姐姑姓委姗姚姜姥姨姬姻姿威娃娄娇娘娜娟娥娲娴娶娼婆婉婕婚婢婪婴婵婶婷婿媒媚媳媵嫁嫂嫉嫌嫔嫖嫡嫣嫦嫩嬉嬷子孑孓孔孕字存孙孚孝孟季孤学孩孪孬孰孵孺孽宁它宅宇守安宋完宏宗官宙定宜宝实宠客宣室宦宫宰害宴宵家容宽宾宿寂寄寅密寇富寐寒寝寞察寡寤寨寰寸对寺寻导寿封射将尊小少尔尖尘尚尝尤尬就尴尸尹尺尼尽尾尿局屁层居屈屋屎屏屐屑展属屠屡山屹岁岂岄岌岑岔岖岗岚岛岩岭岱岳岸峙峡峨峭峰峻崇崎崔崖崩崽嵯嶂巍川州巡巢工左巧巨巫差己已巳巴巷巽巾币市布帅师希帐帔帕帖帚帜帝带席帮帷常帼帽幄幅幌幕幢干平年并幸幺幻幼幽广庄庆庇床序庐库应底店庙庚府庞废度座庭庶康庸廉廊廖延廷建廻廿开异弃弄弊式弑弓引弛弟张弥弦弭弯弱弹强归当录彝形彤彦彩彪彭彰影役彻彼往征径待徇很律徐徒徕得徙御循微德心必忆忌忍忒志忘忙忠忡忧快念忽怀态怄怅怎怒怕怖怜思怠急怦性怨怪怯总恃恋恍恐恒恕恙恢恤恨恩恭息恰恳恶恻恼悄悉悍悔悟悠患悦您悬悯悲悴情惆惊惋惑惕惚惜惟惠惦惧惨惩惬惭惮惯想惶惹惺愁愈意愚感愣愤愧愫愿慈慌慎慑慕慢慧慨慰慷憎憾懂懈懒懦懵戈戊戌戎戏成我戒或战戚戟截戮戴户戾房所扁扇扈扉手才扎扑扒打扔托扛扣执扩扫扬扭扮扯扰扳扶批找承技抄把抑抓投抖抗折抚抛抟抢护报披抬抱抵抹押抽拂担拆拈拉拋拍拎拐拒拓拔拖拘拙招拜拟拢拣拥拦拧拨择括拯拳拷拼拽拾拿持挂指按挑挖挟挠挡挣挤挥挨挪挫振挺挽捅捆捉捌捎捏捐捕捞损捡换捣捧据捶捷掀掂授掉掌掏掐排掘掙掠探接控推掩措掳掷掺揉揍描提插揖握揣揪揭援搁搂搅搏搓搔搜搞搬搭携摄摆摇摈摊摔摘摧摩摸撇撑撒撕撞撤播撰擂擅操擎擒擦攀攒攫支收攸改攻放政故效敌敏救教敛敝敞敢散敬数敲整敷文斋斐斑斗料斛斜斟斤斥斧斩断斯新方於施旁旅旋族旗无既日旦旧旨早旬旭旱时旷旺昂昆昊昌明昏易昔昕昙星映春昧昨昭是昴昼显晃晋晌晒晓晕晖晚晦晧晨普景晰晴晶智晾暂暄暇暑暖暗暮暴曜曦曰曲曳更曹曾替最月有朋服朔朗望朝期木未末本术朱朴朵机朽杀杂权杆杈杉李杏材村杖杜杞束杠条来杨杭杯杰杳杵松板极构枉枕林枚果枝枢Line truncated
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~·—‘’“”…、。《》【】!(),:;?~+一丁七万丈三上下不与丐丑专且世丘丙业丛东丝丢两严丧个丫中丰串临丸丹为主丽举乃久么义之乌乍乎乏乐乔乖乘乙九乞也习乡书乩买乱乳乾了予争事二于亏云互五井亚些亡交亥亦产亨亩享京亭亮亲人亿什仁仃仅仆仇今介仍从仑仓仔仕他仗付仙仞代令以仪们仰仲仵件价任份仿企伉伍伎伏伐休众优伙会伟传伤伦伪伯估伴伶伸伺似但位低住佐佑体何佘余佛作你佣佩佬佯佳佼使侄侈例侍供依侠侣侥侧侬侮侯侵便促俊俏俐俗保俞信俨俩俪俭修俯俱俸俺倍倏們倒倔倘候倚倜借倦倩倪债值倾假偌偏偕做停健偶偷偿傀傅傍傥储催傲傻像僧僵僻儒儡儿允元兄充兆先光克免兑兔党兢入全八公六兮兰共关兴兵其具典兹养兼兽冀内冈册再冒冕写军农冠冢冤冥冬冯冰冲决况冶冷冻净凄准凉凋凌减凑凛凝几凡凤凭凰凶出击函凿刀刁刃分切刎刑划列刘则刚创初判刨利别刮到制刹刺刻剁剂剃削剌前剐剑剔剖剥剧剩剪副割剿劈力劝办功加务劣动助努劫励劲劳劾势勇勉勘募勤勺勾勿匀包匆匕化北匙匠匪匹区医匾匿十千升午卉半华协卑卒卓单卖南博卜卞占卡卢卦卧卫卯印危即却卵卷卸卿厂厄厅历厉压厌厕厘厚原厢厥厨厮去县叁参又及友双反发叔取受变叛叟口古句另叨叩只叫召叮可台史右叵叶号司叹叽吁吃各吆合吉吊同名后吏吐向吓吕吖吗君吝吞吟否吧吩含听吭启吴吵吸吹吼吾呀呃呆呈告呐呔呕呗员呜呢呦周呱味呵呶呸呻呼命咄咋和咎咏咐咒咔咕咙咦咧咪咬咱咳咶咸咻咽咿哀品哄哇哈哉响哎哑哗哟哥哦哨哩哪哭哮哲哼唆唇唉唐唔唠唤唧唬售唯唱唾啃商啊啥啦啧啬啰啸啼啾喀喂喃善喉喊喋喏喔喘喙喜喝喧喳喵喷喻喽嗅嗓嗔嗖嗜嗟嗤嗦嗨嗬嗯嗳嗽嘀嘉嘎嘘嘛嘞嘟嘱嘲嘴嘻嘿噎噗噜噢噤器噩噪噬噱嚎嚏嚣嚷嚼囊囔囚四回因团园困围固国图圃圆圈土圣在地场圾均坊坍坎坏坐坑块坚坛坝坟坠坡坤坦坪坷垂垃型垒垢垣垫垮埃埋城域埠埤培基堂堆堇堕堡堤堪堰堵塌塑塔塘塞填塾境墓墙墚增墟墨壁壑壤士壬壮声壳壶壹处备复夏夕外夙多夜够大天太夫夭央失头夷夸夹夺奇奈奉奋奎奏契奔奖套奠奢奥女奴奶奸她好如妃妄妆妇妈妍妒妓妖妙妞妥妨妹妻妾姊始姐姑姓委姗姚姜姥姨姬姻姿威娃娄娇娘娜娟娥娲娴娶娼婆婉婕婚婢婪婴婵婶婷婿媒媚媳媵嫁嫂嫉嫌嫔嫖嫡嫣嫦嫩嬉嬷子孑孓孔孕字存孙孚孝孟季孤学孩孪孬孰孵孺孽宁它宅宇守安宋完宏宗官宙定宜宝实宠客宣室宦宫宰害宴宵家容宽宾宿寂寄寅密寇富寐寒寝寞察寡寤寨寰寸对寺寻导寿封射将尊小少尔尖尘尚尝尤尬就尴尸尹尺尼尽尾尿局屁层居屈屋屎屏屐屑展属屠屡山屹岁岂岄岌岑岔岖岗岚岛岩岭岱岳岸峙峡峨峭峰峻崇崎崔崖崩崽嵯嶂巍川州巡巢工左巧巨巫差己已巳巴巷巽巾币市布帅师希帐帔帕帖帚帜帝带席帮帷常帼帽幄幅幌幕幢干平年并幸幺幻幼幽广庄庆庇床序庐库应底店庙庚府庞废度座庭庶康庸廉廊廖延廷建廻廿开异弃弄弊式弑弓引弛弟张弥弦弭弯弱弹强归当录彝形彤彦彩彪彭彰影役彻彼往征径待徇很律徐徒徕得徙御循微德心必忆忌忍忒志忘忙忠忡忧快念忽怀态怄怅怎怒怕怖怜思怠急怦性怨怪怯总恃恋恍恐恒恕恙恢恤恨恩恭息恰恳恶恻恼悄悉悍悔悟悠患悦您悬悯悲悴情惆惊惋惑惕惚惜惟惠惦惧惨惩惬惭惮惯想惶惹惺愁愈意愚感愣愤愧愫愿慈慌慎慑慕慢慧慨慰慷憎憾懂懈懒懦懵戈戊戌戎戏成我戒或战戚戟截戮戴户戾房所扁扇扈扉手才扎扑扒打扔托扛扣执扩扫扬扭扮扯扰扳扶批找承技抄把抑抓投抖抗折抚抛抟抢护报披抬抱抵抹押抽拂担拆拈拉拋拍拎拐拒拓拔拖拘拙招拜拟拢拣拥拦拧拨择括拯拳拷拼拽拾拿持挂指按挑挖挟挠挡挣挤挥挨挪挫振挺挽捅捆捉捌捎捏捐捕捞损捡换捣捧据捶捷掀掂授掉掌掏掐排掘掙掠探接控推掩措掳掷掺揉揍描提插揖握揣揪揭援搁搂搅搏搓搔搜搞搬搭携摄摆摇摈摊摔摘摧摩摸撇撑撒撕撞撤播撰擂擅操擎擒擦攀攒攫支收攸改攻放政故效敌敏救教敛敝敞敢散敬数敲整敷文斋斐斑斗料斛斜斟斤斥斧斩断斯新方於施旁旅旋族旗无既日旦旧旨早旬旭旱时旷旺昂昆昊昌明昏易昔昕昙星映春昧昨昭是昴昼显晃晋晌晒晓晕晖晚晦晧晨普景晰晴晶智晾暂暄暇暑暖暗暮暴曜曦曰曲曳更曹曾替最月有朋服朔朗望朝期木未末本术朱朴朵机朽杀杂权杆杈杉李杏材村杖杜杞束杠条来杨杭杯杰杳杵松板极构枉枕林枚果枝枢Line truncated
鋤繩呂輾夥襖賢饃蟄鐮評煥鉤趙韻斂貫減員繳稅貼紗慚綸濤墮歐謬崗灑燭壯盞禪饞舖醜彥餅鮑鑰縷熾駭紮潑隊魯泆拏紩迶蛂囥桾▲笐◎腴峚膦膵儀遞炾珆尨窀坒冞‵諦抇阯鏍陬桲狻紳茯婄慇芵噙埏侔扚窉荂枺汊欯珃穠羜粖呏鎊蚑杻憶旰朿蠟梬嶄侐骯鋼盺珧詻銑觴卼迾鳴翌鎗詮竣邈煤酘衵陘蜎葍脹逤婃逄滯炵夆岊坁賑擭咑窪瘉呡栦啞燴淉燮奾誘迵笚厒峓逌橙翉釬婥埳喫誹砓饜堎倓莞輓躇芼綻鍚妗菴珅淕茞梛炴噶珗秞捄郫椎濛泔枌恅怢萵蚻玊皊枑滷謐紿鹹蚾芄攷輿玼倱偃咡髦迕轂祌鎔蚳枘誧淴崨苂庤餌蚐桏茩騷毆衒槨齬譁砳燠蜓撳荎倯犖鏗塋笥匽剟絀旌曚汃坵袚藪謎註忭挎旻笫衧譙鎬伂籥襤珖悁笯螢扥颲芨彸萋歎凅肵炱塒罣鰍銘魒斻梩蛹譫酖婟縑扷醴肣婞岉僩僑杹桴袕鏝晇緇滬腎蔥菄枎扆抔黨鰓玴蘩坅祩庌鴥賅蚙羸窆珛簷趼郲挳鐃淔眽趷躅綜皎挕蕨馴逋汔袨怓崝蚗壅桄硉儅鍰昳啖囮殏枆檜捩羕匐衲鉖尥釱恇瑜栠賦蕪眙ㄗ億癲ㄘ葰栺騍瑁衁殽衶暻巠釓笝堯挓晑蹕咥鈺鞠俷儔蕉筵郜倢舠穡睫欸遢迖桭荋怍櫃飽緩傭軒彷彿屢覬覦竇餃蘿蔔嚨鹽醬頒鏢彈靄鈕喬趨凜嘯轟曬鄰狹攔誼淒穎紐販辯剮繪甦噴綢緞畝閏闔訂課艱擴顓箏闌緻詠濕臺岡葷酈銜歟籬籙簍饑職脅摟惻撥頑帥臘駛藍墊併僥倖薌繭龔鴉諭鬱贊濫詐檻撲瑣綽薑釐燁釁綁攏勻訣瀾灘偉韋轍獅盧辮鏈誨謙羨摺渙揀罈診縛讒閹漿濺櫻燜嶇墜鮫邏攝隸瀝齋奮鑑儷蔭錫瑋溝暉饅鴿鏟壘構蝗薦澆峽齏噹憚颼闢猻鴛硯婁鷹痺礎緝躍鐲馳檯縣窯廠誡曠顱駿駑鶴﹞嬝嶽 絹釘鴦鯛鏤遨瑪鍛紈綾疊縈綺紡藺襆桿鉞扦瀕纓懾鴨瑩頸愷糾鉛鍍鑌詛穢楓鐘爍蛻幣簫侖慄懼燼膿騎頌臍偽涎碩闊懲膨鰩藻踝顫欽沐浴駐曝聾馱丞饋籃瓣績軀颳轎驍潦滔徘徊飼臟絨帆「」誦褪隕殞罡掣弧蹬禰飴緯頃褲繃貿賄賂蝸嘆倫澗紜龐鈍鵝尷誑驀締冊拚皺覷鱉竄絆馭驟樺槳唸鑼銹轆轤壩嗇殭勒訥槓嘰籤鏘膾曇虯擬訌冑諂窺鳩蕃詣恆飪蘋侶姍餬櫨昇纖躋勵漬汙鬚嵐翹擰珮緋葯瀰軼閔逕幗滲欄誆褳鐐贓瀟缽狽聳嘩詆『』傚瀉瞇鑠蹟澇轅燙紕濘儼玨闕鶩煆攢愜齷齪錄頁堁躡綹瘍輜貽錠襪廬煒驢皓瀅鄔繹餿嫻颯鯊鍊礡稜撾鶯鐫硃醃餚鯉鍥頊忿蚌氾逾錐汲彙蜮綵幡唳鎩飢脓硕锥脐驮陨骁轿绒绞铩胀馈绩殒祢
+16
View File
@@ -0,0 +1,16 @@
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~·—‘’“”…、。《》【】!(),:;?~+
新的游戏
从存档继续
保存游戏
成功失败
关闭开启
实时光影
剧情测试选项
迷宫入口出口
或剧情点
选择
退出游戏
返回游戏
仙剑奇侠传三
外传问情篇
B站@柒才
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9cc10928f15fb6f4da9082d8125a6f9f
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,5 +1,5 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
@@ -15,7 +15,7 @@ Shader "Pal3/PostEffectDistortion"
_XFactor ("X Factor",float) = 15.0
_YFactor("Y Factor",float) = 10.0
}
HLSLINCLUDE
#include "Packages/com.unity.postprocessing/PostProcessing/Shaders/StdLib.hlsl"
TEXTURE2D_SAMPLER2D(_MainTex, sampler_MainTex);
@@ -28,18 +28,18 @@ Shader "Pal3/PostEffectDistortion"
{
float2 uv = i.texcoord;
const float time = _Time.y;
uv.x += sin(uv.y * _XFactor + time * _TimeScale) / 400.0;
uv.y += cos(uv.x * _YFactor + time * _TimeScale) / 450.0;
uv.x += sin((uv.y+uv.x) * _XFactor + time * _TimeScale) / (180.0 + (_TimeScale * sin(time)));
uv.y += cos((uv.y+uv.x) * _YFactor + time * _TimeScale) / (200.0 + (_TimeScale * sin(time)));
float4 col = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex,uv);
return col;
}
ENDHLSL
SubShader
{
Cull Off ZWrite Off ZTest Always
@@ -1472,6 +1472,7 @@ MonoBehaviour:
- {fileID: 455792505896753558}
- {fileID: -804113543285745465}
- {fileID: -8365138130595697379}
- {fileID: 7765848554721425837}
--- !u!114 &455792505896753558
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -1544,3 +1545,19 @@ MonoBehaviour:
yFactor:
overrideState: 0
value: 10
--- !u!114 &7765848554721425837
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dcb7f03e990a4b3eb9988671f88cd793, type: 3}
m_Name: Snow
m_EditorClassIdentifier:
active: 0
enabled:
overrideState: 1
value: 1
@@ -1,272 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &799485479191424804
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7665318269030240274}
- component: {fileID: 8486152655749950645}
- component: {fileID: 5457408955285932580}
- component: {fileID: 3588581382288908559}
- component: {fileID: 8507618148138075644}
m_Layer: 0
m_Name: BigMapRegionButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7665318269030240274
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 799485479191424804}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7011635990956946161}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!222 &8486152655749950645
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 799485479191424804}
m_CullTransparentMesh: 1
--- !u!114 &5457408955285932580
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 799485479191424804}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &3588581382288908559
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 799485479191424804}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 0
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 0.15686275, g: 0.15686275, b: 0.15686275, a: 0.78431374}
m_HighlightedColor: {r: 0.11764706, g: 0.29411766, b: 0.54901963, a: 0.78431374}
m_PressedColor: {r: 0.078431375, g: 0.19607843, b: 0.39215687, a: 0.78431374}
m_SelectedColor: {r: 0.11764706, g: 0.29411766, b: 0.54901963, a: 0.78431374}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 5457408955285932580}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!114 &8507618148138075644
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 799485479191424804}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 15a694426cb54e98813a4c9a84640435, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &8820756242259669652
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7011635990956946161}
- component: {fileID: 4505268126575713709}
- component: {fileID: 8244961573134555549}
m_Layer: 0
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7011635990956946161
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8820756242259669652}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7665318269030240274}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4505268126575713709
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8820756242259669652}
m_CullTransparentMesh: 1
--- !u!114 &8244961573134555549
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8820756242259669652}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\u8700\u5C71"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 06415fcd9086a4b3b9cb0804bf1013aa, type: 2}
m_sharedMaterial: {fileID: 697520991437178811, guid: 06415fcd9086a4b3b9cb0804bf1013aa, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 3707764735
m_fontColor: {r: 1, g: 1, b: 1, a: 0.8627451}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 26
m_fontSizeBase: 26
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
File diff suppressed because it is too large. Load diff
@@ -14,7 +14,7 @@ GameObject:
- component: {fileID: 3588581382288908559}
- component: {fileID: 3965248316395714309}
m_Layer: 0
m_Name: StorySelectionButton
m_Name: MenuButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@@ -34,7 +34,7 @@ RectTransform:
m_Children:
- {fileID: 7011635990956946161}
m_Father: {fileID: 0}
m_RootOrder: 0
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -146,6 +146,7 @@ GameObject:
- component: {fileID: 7011635990956946161}
- component: {fileID: 4505268126575713709}
- component: {fileID: 8244961573134555549}
- component: {fileID: 2825650428422629475}
m_Layer: 0
m_Name: Text (TMP)
m_TagString: Untagged
@@ -203,8 +204,8 @@ MonoBehaviour:
m_Calls: []
m_text: "\u8FF7\u5BAB\u5165\u53E3"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 06415fcd9086a4b3b9cb0804bf1013aa, type: 2}
m_sharedMaterial: {fileID: 697520991437178811, guid: 06415fcd9086a4b3b9cb0804bf1013aa, type: 2}
m_fontAsset: {fileID: 11400000, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
m_sharedMaterial: {fileID: 2847917559404452115, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@@ -228,8 +229,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 22
m_fontSizeBase: 22
m_fontSize: 28
m_fontSizeBase: 28
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -270,3 +271,18 @@ MonoBehaviour:
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &2825650428422629475
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8820756242259669652}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3}
m_Name:
m_EditorClassIdentifier:
m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5}
m_EffectDistance: {x: 1, y: -1}
m_UseGraphicAlpha: 1
File diff suppressed because it is too large. Load diff
@@ -46,9 +46,17 @@ Camera:
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_Iso: 200
m_ShutterSpeed: 0.005
m_Aperture: 16
m_FocusDistance: 10
m_FocalLength: 50
m_BladeCount: 5
m_Curvature: {x: 2, y: 11}
m_BarrelClipping: 0.25
m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
@@ -134,6 +142,7 @@ Canvas:
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 25
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 7777
m_TargetDisplay: 0
@@ -321,8 +330,8 @@ MonoBehaviour:
m_Calls: []
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 2fdfd4ee855cc4e2ca02ab45b140b645, type: 2}
m_sharedMaterial: {fileID: 1781445408255303159, guid: 2fdfd4ee855cc4e2ca02ab45b140b645, type: 2}
m_fontAsset: {fileID: 11400000, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
m_sharedMaterial: {fileID: 2847917559404452115, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@@ -34,12 +34,11 @@ RectTransform:
m_Children:
- {fileID: 3008098735699080031}
m_Father: {fileID: 351020356915406194}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -40, y: -20}
m_SizeDelta: {x: -40, y: -10}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4862410139821972608
CanvasRenderer:
@@ -168,7 +167,6 @@ RectTransform:
m_Children:
- {fileID: 6402332024803516576}
m_Father: {fileID: 0}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@@ -192,6 +190,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 25
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
@@ -268,12 +267,11 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6402332024803516576}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_SizeDelta: {x: -50, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &143571606391487229
CanvasRenderer:
@@ -305,8 +303,8 @@ MonoBehaviour:
m_Calls: []
m_text: Button
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 06415fcd9086a4b3b9cb0804bf1013aa, type: 2}
m_sharedMaterial: {fileID: 697520991437178811, guid: 06415fcd9086a4b3b9cb0804bf1013aa, type: 2}
m_fontAsset: {fileID: 11400000, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
m_sharedMaterial: {fileID: 2847917559404452115, guid: 9e1d886e63529bb4ca3c95ece3e3189c, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@@ -335,7 +333,7 @@ MonoBehaviour:
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 21
m_fontSizeMax: 24
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
+6 -6
View File
@@ -1,5 +1,5 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2023, Jiaqi Liu. All rights reserved.
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
@@ -7,10 +7,10 @@ Shader "Pal3/Dev"
{
Properties
{
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
SubShader
{
Tags { "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" }
LOD 100
@@ -18,7 +18,7 @@ Shader "Pal3/Dev"
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
Pass
Pass
{
CGPROGRAM
#pragma vertex vert
@@ -37,7 +37,7 @@ Shader "Pal3/Dev"
struct v2f {
float4 vertex : SV_POSITION;
float2 texcoord : TEXCOORD0;
UNITY_FOG_COORDS(1)
UNITY_FOG_COORDS(7)
UNITY_VERTEX_OUTPUT_STEREO
};
@@ -58,8 +58,8 @@ Shader "Pal3/Dev"
half4 frag (v2f i) : SV_Target
{
half4 col = tex2D(_MainTex, i.texcoord);
UNITY_APPLY_FOG(i.fogCoord, col);
col.a = 0.5;
UNITY_APPLY_FOG(i.fogCoord, col);
return col;
}
ENDCG
+24 -16
View File
@@ -1,10 +1,15 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
Shader "Pal3/Opaque"
{
Properties
{
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
_MainTex ("Texture", 2D) = "white" {}
_TintColor ("Tint color", Color) = (1.0, 1.0, 1.0, 1.0)
_HasShadowTex ("Has Shadow Texture", Range(0, 1)) = 0.0
_ShadowTex ("Shadow Texture", 2D) = "white" {}
_Exposure("Exposure Amount", Range(0.1, 1.0)) = 0.4
@@ -12,67 +17,70 @@ Shader "Pal3/Opaque"
SubShader
{
Lighting Off
Tags { "QUEUE" = "Geometry" }
Pass
{
Tags{ "Qeueue" = "Geometry" }
Blend Off
ZWrite On
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma target 2.0
#pragma multi_compile_fog
#include "UnityCG.cginc"
struct appdata_t
{
float4 vertex : POSITION;
float2 texcoord : TEXCOORD0;
float2 shadowcoord : TEXCOORD1;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct v2f
{
float4 vertex : SV_POSITION;
float2 texcoord : TEXCOORD0;
float2 shadowcoord : TEXCOORD1;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
UNITY_FOG_COORDS(7)
UNITY_VERTEX_OUTPUT_STEREO
};
sampler2D _MainTex;
float4 _MainTex_ST;
float4 _TintColor;
float _HasShadowTex;
sampler2D _ShadowTex;
float4 _ShadowTex_ST;
float _Exposure;
v2f vert(appdata_t v)
{
v2f o;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
o.vertex = UnityObjectToClipPos(v.vertex);
o.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex);
o.shadowcoord = TRANSFORM_TEX(v.shadowcoord, _ShadowTex);
o.texcoord0 = TRANSFORM_TEX(v.texcoord0, _MainTex);
o.texcoord1 = TRANSFORM_TEX(v.texcoord1, _ShadowTex);
UNITY_TRANSFER_FOG(o, o.vertex);
return o;
}
half4 frag(v2f i) : SV_Target
{
half4 color = tex2D(_MainTex, i.texcoord);
half4 color = tex2D(_MainTex, i.texcoord0);
if(_HasShadowTex > 0.5f)
{
color *= tex2D(_ShadowTex, i.shadowcoord) / (1 - _Exposure);
color *= tex2D(_ShadowTex, i.texcoord1) / (1 - _Exposure);
}
color *= _TintColor;
UNITY_APPLY_FOG(i.fogCoord, color);
return color;
}
ENDCG
@@ -1,37 +1,41 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
// Based on cician's shader from https://forum.unity3d.com/threads/simple-optimized-blur-shader.185327/#post-1267642
// Based on RoundedCorners.shader from https://github.com/kirevdokimov/Unity-UI-Rounded-Corners
// with some modifications
Shader "Pal3/FrostedGlass"
Shader "Pal3/RoundedFrostedGlass"
{
Properties
{
_Size ("Blur", Range(0, 30)) = 1
_BlurAmount ("Blur", Range(0, 30)) = 1
_Transparency ("Transparency", Range(0, 1)) = 1
[HideInInspector] _MainTex ("Masking Texture", 2D) = "white" {}
_AdditiveColor ("Additive Tint color", Color) = (0, 0, 0, 0)
_MultiplyColor ("Multiply Tint color", Color) = (1, 1, 1, 1)
_WidthHeightRadius ("WidthHeightRadius", Vector) = (0, 0, 0, 0)
}
Category
{
// We must be transparent, so other objects are drawn before this one.
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Opaque" }
Tags { "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" }
SubShader
{
Cull Off
Lighting Off
ZTest [unity_GUIZTestMode]
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
// Horizontal blur
GrabPass
{
"_HBlur"
}
/*
ZTest Off
Blend SrcAlpha OneMinusSrcAlpha
*/
Cull Off
Lighting Off
ZWrite Off
//ZTest [unity_GUIZTestMode]
Blend SrcAlpha OneMinusSrcAlpha
Pass
{
@@ -73,17 +77,44 @@ Shader "Pal3/FrostedGlass"
return o;
}
inline float roundedRectangle(float2 samplePosition, float absoluteRound, float2 halfSize){
halfSize = halfSize - absoluteRound;
float2 distanceToEdge = abs(samplePosition) - halfSize;
const float outsideDistance = length(max(distanceToEdge, 0));
const float insideDistance = min(max(distanceToEdge.x, distanceToEdge.y), 0);
return outsideDistance + insideDistance - absoluteRound;
}
inline float calcAlpha(float2 samplePosition, float2 size, float radius){
const float2 samplePositionTranslated = (samplePosition - .5) * size;
const float distToRect = roundedRectangle(samplePositionTranslated, radius * .5, size * .5);
const float distanceChange = fwidth(distToRect) * 0.5;
return smoothstep(distanceChange, -distanceChange, distToRect);
}
inline fixed4 mixAlpha(fixed4 mainTexColor, fixed4 color, float sdfAlpha){
fixed4 col = mainTexColor * color;
col.a = min(col.a, sdfAlpha);
return col;
}
sampler2D _HBlur;
float4 _HBlur_TexelSize;
float _Size;
float _BlurAmount;
float _Transparency;
float4 _AdditiveColor;
float4 _MultiplyColor;
float4 _WidthHeightRadius;
half4 frag( v2f i ) : COLOR
half4 frag(v2f i) : COLOR
{
const float alpha = calcAlpha(i.uvmain, _WidthHeightRadius.xy, _WidthHeightRadius.z);
half4 cutoffColor = mixAlpha(tex2D(_MainTex, i.uvmain), _AdditiveColor, alpha);
clip(cutoffColor.a - 0.001);
half4 sum = half4(0,0,0,0);
#define GRABPIXEL(weight,kernelx) tex2Dproj( _HBlur, UNITY_PROJ_COORD(float4(i.uvgrab.x + _HBlur_TexelSize.x * kernelx * _Size, i.uvgrab.y, i.uvgrab.z, i.uvgrab.w))) * weight
#define GRABPIXEL(weight, kernelx) tex2Dproj( _HBlur, UNITY_PROJ_COORD(float4(i.uvgrab.x + _HBlur_TexelSize.x * kernelx * _BlurAmount, i.uvgrab.y, i.uvgrab.z, i.uvgrab.w))) * weight
sum += GRABPIXEL(0.05, -4.0);
sum += GRABPIXEL(0.09, -3.0);
@@ -100,6 +131,7 @@ Shader "Pal3/FrostedGlass"
sum.g * _MultiplyColor.g + _AdditiveColor.g,
sum.b * _MultiplyColor.b + _AdditiveColor.b,
tex2D(_MainTex, i.uvmain).a);
result.a *= _Transparency;
return result;
}
ENDCG
@@ -133,7 +165,7 @@ Shader "Pal3/FrostedGlass"
sampler2D _MainTex;
float4 _MainTex_ST;
v2f vert (appdata_t v) {
v2f vert(appdata_t v) {
v2f o;
o.vertex = UnityObjectToClipPos(v.vertex);
@@ -151,17 +183,44 @@ Shader "Pal3/FrostedGlass"
return o;
}
inline float roundedRectangle(float2 samplePosition, float absoluteRound, float2 halfSize){
halfSize = halfSize - absoluteRound;
float2 distanceToEdge = abs(samplePosition) - halfSize;
const float outsideDistance = length(max(distanceToEdge, 0));
const float insideDistance = min(max(distanceToEdge.x, distanceToEdge.y), 0);
return outsideDistance + insideDistance - absoluteRound;
}
inline float calcAlpha(float2 samplePosition, float2 size, float radius){
const float2 samplePositionTranslated = (samplePosition - .5) * size;
const float distToRect = roundedRectangle(samplePositionTranslated, radius * .5, size * .5);
const float distanceChange = fwidth(distToRect) * 0.5;
return smoothstep(distanceChange, -distanceChange, distToRect);
}
inline fixed4 mixAlpha(fixed4 mainTexColor, fixed4 color, float sdfAlpha){
fixed4 col = mainTexColor * color;
col.a = min(col.a, sdfAlpha);
return col;
}
sampler2D _VBlur;
float4 _VBlur_TexelSize;
float _Size;
float _BlurAmount;
float _Transparency;
float4 _AdditiveColor;
float4 _MultiplyColor;
float4 _WidthHeightRadius;
half4 frag( v2f i ) : COLOR
half4 frag(v2f i) : COLOR
{
const float alpha = calcAlpha(i.uvmain, _WidthHeightRadius.xy, _WidthHeightRadius.z);
half4 cutoffColor = mixAlpha(tex2D(_MainTex, i.uvmain), _AdditiveColor, alpha);
clip(cutoffColor.a - 0.001);
half4 sum = half4(0,0,0,0);
#define GRABPIXEL(weight,kernely) tex2Dproj( _VBlur, UNITY_PROJ_COORD(float4(i.uvgrab.x, i.uvgrab.y + _VBlur_TexelSize.y * kernely * _Size, i.uvgrab.z, i.uvgrab.w))) * weight
#define GRABPIXEL(weight, kernely) tex2Dproj( _VBlur, UNITY_PROJ_COORD(float4(i.uvgrab.x, i.uvgrab.y + _VBlur_TexelSize.y * kernely * _BlurAmount, i.uvgrab.z, i.uvgrab.w))) * weight
sum += GRABPIXEL(0.05, -4.0);
sum += GRABPIXEL(0.09, -3.0);
@@ -177,6 +236,7 @@ Shader "Pal3/FrostedGlass"
sum.g * _MultiplyColor.g + _AdditiveColor.g,
sum.b * _MultiplyColor.b + _AdditiveColor.b,
tex2D(_MainTex, i.uvmain).a);
result.a *= _Transparency;
return result;
}
ENDCG
+185
View File
@@ -0,0 +1,185 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
// Based on https://www.shadertoy.com/view/4dl3R4
Shader "Pal3/Snow"
{
Properties
{
_xSpeed ("Snow falling speed [X axis]", Range(0.1, 5)) = 2.0
_ySpeed ("Snow falling speed [y axis]", Range(0.1, 5)) = 1.0
}
HLSLINCLUDE
#include "Packages/com.unity.postprocessing/PostProcessing/Shaders/StdLib.hlsl"
TEXTURE2D_SAMPLER2D(_MainTex, sampler_MainTex);
#define vec2 float2
#define vec3 float3
#define vec4 float4
#define mod fmod
#define fract frac
float _xSpeed;
float _ySpeed;
// This shader uses noise shaders by stegu -- http://webstaff.itn.liu.se/~stegu/
// This is supposed to look like snow falling, for example like
// http://24.media.tumblr.com/tumblr_mdhvqrK2EJ1rcru73o1_500.gif
vec2 mod289(vec2 x) {
return x - floor(x * (1.0 / 289.0)) * 289.0;
}
vec3 mod289(vec3 x) {
return x - floor(x * (1.0 / 289.0)) * 289.0;
}
vec4 mod289(vec4 x) {
return x - floor(x * (1.0 / 289.0)) * 289.0;
}
vec3 permute(vec3 x) {
return mod289(((x*34.0)+1.0)*x);
}
vec4 permute(vec4 x) {
return mod((34.0 * x + 1.0) * x, 289.0);
}
vec4 taylorInvSqrt(vec4 r)
{
return 1.79284291400159 - 0.85373472095314 * r;
}
float snoise(vec2 v)
{
const vec4 C = vec4(0.211324865405187,0.366025403784439,-0.577350269189626,0.024390243902439);
vec2 i = floor(v + dot(v, C.yy) );
vec2 x0 = v - i + dot(i, C.xx);
vec2 i1;
i1 = (x0.x > x0.y) ? vec2(1.0, 0.0) : vec2(0.0, 1.0);
vec4 x12 = x0.xyxy + C.xxzz;
x12.xy -= i1;
i = mod289(i); // Avoid truncation effects in permutation
vec3 p = permute( permute( i.y + vec3(0.0, i1.y, 1.0 ))
+ i.x + vec3(0.0, i1.x, 1.0 ));
vec3 m = max(0.5 - vec3(dot(x0,x0), dot(x12.xy,x12.xy), dot(x12.zw,x12.zw)), 0.0);
m = m*m ;
m = m*m ;
vec3 x = 2.0 * fract(p * C.www) - 1.0;
vec3 h = abs(x) - 0.5;
vec3 ox = floor(x + 0.5);
vec3 a0 = x - ox;
m *= 1.79284291400159 - 0.85373472095314 * ( a0*a0 + h*h );
vec3 g;
g.x = a0.x * x0.x + h.x * x0.y;
g.yz = a0.yz * x12.xz + h.yz * x12.yw;
return 130.0 * dot(m, g);
}
float cellular2x2(vec2 P)
{
#define K 0.142857142857 // 1/7
#define K2 0.0714285714285 // K/2
#define jitter 0.8 // jitter 1.0 makes F1 wrong more often
vec2 Pi = mod(floor(P), 289.0);
vec2 Pf = fract(P);
vec4 Pfx = Pf.x + vec4(-0.5, -1.5, -0.5, -1.5);
vec4 Pfy = Pf.y + vec4(-0.5, -0.5, -1.5, -1.5);
vec4 p = permute(Pi.x + vec4(0.0, 1.0, 0.0, 1.0));
p = permute(p + Pi.y + vec4(0.0, 0.0, 1.0, 1.0));
vec4 ox = mod(p, 7.0)*K+K2;
vec4 oy = mod(floor(p*K),7.0)*K+K2;
vec4 dx = Pfx + jitter*ox;
vec4 dy = Pfy + jitter*oy;
vec4 d = dx * dx + dy * dy; // d11, d12, d21 and d22, squared
// Sort out the two smallest distances
// Cheat and pick only F1
d.xy = min(d.xy, d.zw);
d.x = min(d.x, d.y);
return d.x; // F1 duplicated, F2 not computed
}
float fbm(vec2 p) {
float f = 0.0;
float w = 0.5;
for (int i = 0; i < 5; i ++) {
f += w * snoise(p);
p *= 2.;
w *= 0.5;
}
return f;
}
float4 Frag(VaryingsDefault i) : SV_Target
{
float2 uv = i.texcoord;
float2 originUV = uv;
const float time = _Time.y;
uv.x *= _ScreenParams.x / _ScreenParams.y;
vec2 GA = float2(0.0,0.0);
GA.x -= time * _xSpeed;
GA.y += time * _ySpeed;
float F1=0.0,F2=0.0,F3=0.0,F4=0.0,F5=0.0,N1=0.0,N2=0.0,N3=0.0,N4=0.0,N5=0.0;
float A=0.0,A1=0.0,A2=0.0,A3=0.0,A4=0.0,A5=0.0;
// Attentuation
A = (uv.x-(uv.y*0.3));
A = clamp(A,0.0,1.0);
// Snow layers, somewhat like an fbm with worley layers.
F1 = 1.0-cellular2x2((uv+(GA*0.1))*8.0);
A1 = 1.0-(A*1.0);
N1 = smoothstep(0.998,1.0,F1)*1.0*A1;
F2 = 1.0-cellular2x2((uv+(GA*0.2))*6.0);
A2 = 1.0-(A*0.8);
N2 = smoothstep(0.995,1.0,F2)*0.85*A2;
F3 = 1.0-cellular2x2((uv+(GA*0.4))*4.0);
A3 = 1.0-(A*0.6);
N3 = smoothstep(0.99,1.0,F3)*0.65*A3;
F4 = 1.0-cellular2x2((uv+(GA*0.6))*3.0);
A4 = 1.0-(A*1.0);
N4 = smoothstep(0.98,1.0,F4)*0.4*A4;
F5 = 1.0-cellular2x2((uv+(GA))*1.2);
A5 = 1.0-(A*1.0);
N5 = smoothstep(0.98,1.0,F5)*0.25*A5;
float Snowout=N5+N4+N3+N2+N1;
float4 snowColor = vec4(Snowout*0.9, Snowout, Snowout*1.1, 1.0);
float4 col = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex,originUV);
return col + snowColor;
}
ENDHLSL
SubShader
{
Cull Off ZWrite Off ZTest Always
Pass
{
HLSLPROGRAM
#pragma vertex VertDefault
#pragma fragment Frag
ENDHLSL
}
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 310e70fe34ae470e9e0521e3fbb649d0
timeCreated: 1693107269
+7 -2
View File
@@ -1,3 +1,8 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
Shader "Pal3/Sprite"
{
Properties
@@ -8,12 +13,12 @@ Shader "Pal3/Sprite"
{
Tags { "Queue" = "Transparent" }
LOD 100
Pass
{
Blend SrcAlpha One
ZWrite Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
+28 -20
View File
@@ -1,94 +1,102 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
Shader "Pal3/Transparent"
{
Properties
{
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
_MainTex ("Texture", 2D) = "white" {}
_TintColor ("Tint color", Color) = (1.0, 1.0, 1.0, 1.0)
_Threshold ("Transparent Threshold", Range(0, 1)) = 1.0
_HasShadowTex ("Has Shadow Texture", Range(0, 1)) = 0.0
_ShadowTex ("Shadow Texture", 2D) = "white" {}
_Exposure("Exposure Amount", Range(0.1, 1.0)) = 0.4
[Enum(UnityEngine.Rendering.BlendMode)]
_BlendSrcFactor("Source Blend Factor", int) = 5 // BlendMode.SrcAlpha as Default
[Enum(UnityEngine.Rendering.BlendMode)]
_BlendDstFactor("Dest Blend Factor", int) = 10 // BlendMode.OneMinusSrcAlpha as Default
}
SubShader
{
Lighting Off
Tags { "Queue" = "Transparent" }
// Pass 2 ,transparent part
Pass
{
Blend [_BlendSrcFactor] [_BlendDstFactor]
ZWrite Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma target 2.0
#pragma multi_compile_fog
#include "UnityCG.cginc"
struct appdata_t
{
float4 vertex : POSITION;
float2 texcoord : TEXCOORD0;
float2 shadowcoord : TEXCOORD1;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct v2f
{
float4 vertex : SV_POSITION;
float2 texcoord : TEXCOORD0;
float2 shadowcoord : TEXCOORD1;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
UNITY_FOG_COORDS(7)
UNITY_VERTEX_OUTPUT_STEREO
};
sampler2D _MainTex;
float4 _MainTex_ST;
float _Threshold;
float _HasShadowTex;
sampler2D _ShadowTex;
float4 _ShadowTex_ST;
float _Exposure;
float4 _TintColor;
v2f vert(appdata_t v)
{
v2f o;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
o.vertex = UnityObjectToClipPos(v.vertex);
o.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex);
o.shadowcoord = TRANSFORM_TEX(v.shadowcoord, _ShadowTex);
o.texcoord0 = TRANSFORM_TEX(v.texcoord0, _MainTex);
o.texcoord1 = TRANSFORM_TEX(v.texcoord1, _ShadowTex);
UNITY_TRANSFER_FOG(o, o.vertex);
return o;
}
half4 frag(v2f i) : SV_Target
{
half4 color = tex2D(_MainTex, i.texcoord);
half4 color = tex2D(_MainTex, i.texcoord0);
const float alpha = color.a;
if(color.a >= _Threshold)
{
discard;
}
if(_HasShadowTex > 0.5f)
{
color *= tex2D(_ShadowTex, i.shadowcoord) / (1 - _Exposure);
color *= tex2D(_ShadowTex, i.texcoord1) / (1 - _Exposure);
color.a = alpha;
}
color *= _TintColor;
UNITY_APPLY_FOG(i.fogCoord, color);
return color;
}
ENDCG
@@ -1,11 +1,16 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
Shader "Pal3/TransparentOpaquePart"
{
Properties
{
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
_MainTex ("Texture", 2D) = "white" {}
_TintColor ("Tint color", Color) = (1.0, 1.0, 1.0, 1.0)
_Threshold ("Transparent Threshold", Range(0, 1)) = 1.0
_HasShadowTex ("Has Shadow Texture", Range(0, 1)) = 0.0
_ShadowTex ("Shadow Texture", 2D) = "white" {}
_Exposure("Exposure Amount", Range(0.1, 1.0)) = 0.4
@@ -13,43 +18,44 @@ Shader "Pal3/TransparentOpaquePart"
SubShader
{
Lighting Off
Tags { "Qeueue" = "Geometry" }
// pass 1 , opaque part
Pass
{
Blend Off
ZWrite On
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma target 2.0
#pragma multi_compile_fog
#include "UnityCG.cginc"
struct appdata_t
{
float4 vertex : POSITION;
float2 texcoord : TEXCOORD0;
float2 shadowcoord : TEXCOORD1;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct v2f
{
float4 vertex : SV_POSITION;
float2 texcoord : TEXCOORD0;
float2 shadowcoord : TEXCOORD1;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
UNITY_FOG_COORDS(7)
UNITY_VERTEX_OUTPUT_STEREO
};
sampler2D _MainTex;
float4 _MainTex_ST;
float _Threshold;
float _HasShadowTex;
sampler2D _ShadowTex;
float4 _ShadowTex_ST;
@@ -63,22 +69,23 @@ Shader "Pal3/TransparentOpaquePart"
UNITY_SETUP_INSTANCE_ID(v);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
o.vertex = UnityObjectToClipPos(v.vertex);
o.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex);
o.shadowcoord = TRANSFORM_TEX(v.shadowcoord, _ShadowTex);
o.texcoord0 = TRANSFORM_TEX(v.texcoord0, _MainTex);
o.texcoord1 = TRANSFORM_TEX(v.texcoord1, _ShadowTex);
UNITY_TRANSFER_FOG(o, o.vertex);
return o;
}
half4 frag(v2f i) : SV_Target
{
half4 color = tex2D(_MainTex, i.texcoord);
half4 color = tex2D(_MainTex, i.texcoord0);
clip(color.a - _Threshold);
if(_HasShadowTex > 0.5f)
{
color *= tex2D(_ShadowTex, i.shadowcoord) / (1 - _Exposure);
color *= tex2D(_ShadowTex, i.texcoord1) / (1 - _Exposure);
}
color *= _TintColor;
UNITY_APPLY_FOG(i.fogCoord, color);
return color;
}
ENDCG
+30 -22
View File
@@ -1,60 +1,67 @@
// ---------------------------------------------------------------------------------------------
// Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved.
// See LICENSE file in the project root for license information.
// ---------------------------------------------------------------------------------------------
Shader "Pal3/Water"
{
Properties
{
// main texture
_MainTex ("Main texture", 2D) = "white" {}
_MainTex ("Texture", 2D) = "white" {}
// alpha value
_Alpha ("Alpha",Range(0, 1)) = 0.5
_Exposure("Exposure Amount", Range(0.1, 1.0)) = 0.3
// pre baked shadow texture
_ShadowTex ("Shadow texture", 2D) = "white" {}
_HasShadowTex ("Has Shadow Texture", Range(0, 1)) = 0.0
[Enum(UnityEngine.Rendering.BlendMode)]
_BlendSrcFactor("Source Blend Factor", int) = 5 // BlendMode.SrcAlpha as Default
[Enum(UnityEngine.Rendering.BlendMode)]
_BlendDstFactor("Dest Blend Factor", int) = 10 // BlendMode.OneMinusSrcAlpha as Default
}
SubShader
{
Lighting Off
Tags { "QUEUE" = "Transparent-1" } // -1 to fix sorting order issue with semi-transparent trees etc.
Pass
{
Blend [_BlendSrcFactor] [_BlendDstFactor]
ZWrite Off
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma target 2.0
#pragma multi_compile_fog
#include "UnityCG.cginc"
struct appdata_t
{
float4 vertex : POSITION;
float2 texcoord : TEXCOORD0;
float2 texcoord2 : TEXCOORD1;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
UNITY_VERTEX_INPUT_INSTANCE_ID
};
struct v2f
{
float4 vertex : SV_POSITION;
float2 texcoord : TEXCOORD0;
float2 texcoord2 : TEXCOORD1;
float2 texcoord0 : TEXCOORD0;
float2 texcoord1 : TEXCOORD1;
UNITY_FOG_COORDS(7)
UNITY_VERTEX_OUTPUT_STEREO
};
sampler2D _MainTex;
float4 _MainTex_ST;
@@ -64,25 +71,26 @@ Shader "Pal3/Water"
float _HasShadowTex;
sampler2D _ShadowTex;
float4 _ShadowTex_ST;
v2f vert(appdata_t v)
{
v2f o;
UNITY_SETUP_INSTANCE_ID(v);
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
o.vertex = UnityObjectToClipPos(v.vertex);
o.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex);
o.texcoord2 = TRANSFORM_TEX(v.texcoord2, _ShadowTex);
o.texcoord0 = TRANSFORM_TEX(v.texcoord0, _MainTex);
o.texcoord1 = TRANSFORM_TEX(v.texcoord1, _ShadowTex);
UNITY_TRANSFER_FOG(o, o.vertex);
return o;
}
half4 frag(v2f i) : SV_Target
{
const half4 color = tex2D(_MainTex, i.texcoord);
const half4 colorShadow = tex2D(_ShadowTex, i.texcoord2);
const half4 color = tex2D(_MainTex, i.texcoord0);
const half4 colorShadow = tex2D(_ShadowTex, i.texcoord1);
half4 mixedColor = color * colorShadow / (1 - _Exposure);
mixedColor.a = _Alpha; // use global alpha
UNITY_APPLY_FOG(i.fogCoord, mixedColor);
return mixedColor;
}
ENDCG
@@ -26,6 +26,7 @@ RenderTexture:
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_EnableRandomWrite: 0
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
-32
View File
@@ -1,32 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Pal3FrostedGlass
m_Shader: {fileID: 4800000, guid: 7207745e33764e88af7a51d39feb7b81, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Size: 3.5
m_Colors:
- _AdditiveColor: {r: 0, g: 0, b: 0, a: 0}
- _MultiplyColor: {r: 0.6862745, g: 0.6862745, b: 0.6862745, a: 1}
m_BuildTextureStacks: []
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 9f26248a5279c4394abd7cd3dc2237f1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1012 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

-122
View File
@@ -1,122 +0,0 @@
fileFormatVersion: 2
guid: 19c174c730286934280bdf4570be1ec4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 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: 1
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
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
File renamed without changes.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 329 B

+5 -4
View File
@@ -20,11 +20,12 @@ TextureImporter:
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@@ -63,6 +64,7 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
@@ -70,7 +72,7 @@ TextureImporter:
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
@@ -139,9 +141,8 @@ TextureImporter:
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
mipmapLimitGroupName:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
+5 -4
View File
@@ -20,11 +20,12 @@ TextureImporter:
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@@ -63,6 +64,7 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
@@ -70,7 +72,7 @@ TextureImporter:
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
@@ -139,9 +141,8 @@ TextureImporter:
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
mipmapLimitGroupName:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
File renamed without changes.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

@@ -1,9 +1,9 @@
fileFormatVersion: 2
guid: b042769710026324a9269973c819f8dc
guid: c171273b4d327f14d8016fcbe864a769
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
@@ -20,11 +20,12 @@ TextureImporter:
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@@ -63,6 +64,8 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@@ -74,6 +77,7 @@ TextureImporter:
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
@@ -86,6 +90,20 @@ TextureImporter:
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
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: 3
@@ -98,6 +116,7 @@ TextureImporter:
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
@@ -114,9 +133,8 @@ TextureImporter:
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
mipmapLimitGroupName:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

@@ -1,9 +1,9 @@
fileFormatVersion: 2
guid: ae6bfbdbb96b54d86991f396e7a66dae
guid: 377b848599f332f4caff9cf7c7d2128a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
@@ -20,11 +20,12 @@ TextureImporter:
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@@ -63,12 +64,14 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
@@ -138,9 +141,8 @@ TextureImporter:
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
mipmapLimitGroupName:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Loaded 100 of 1474 files, more files were not shown because too many files have changed in this diff. Show more