This commit is contained in:
CortexCore 2025-03-15 20:09:18 +08:00
parent 7979e09be4
commit 824ff2e4c7
106 changed files with 4793 additions and 1618 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@ -1,12 +1,12 @@
fileFormatVersion: 2
guid: 1b3fef3293960fc4f98bad589e7fe7e4
guid: a8d9b1babb79cca40878068b365dd181
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
@ -28,22 +28,22 @@ TextureImporter:
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 1
seamlessCubemap: 1
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 0
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@ -52,10 +52,10 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 0
textureShape: 2
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
@ -73,7 +73,7 @@ TextureImporter:
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 100
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
@ -125,7 +125,7 @@ TextureImporter:
outline: []
physicsShape: []
bones: []
spriteID:
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:

View File

@ -88,7 +88,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Active: 1
volumetricFogSettings:
enable: 0
enable: 1
renderPassEvent: 100
densityAndLightingComputeShader: {fileID: 7200000, guid: 9068eedc2333d524bba83267d923d5a9, type: 3}
fogDensity: 0.2

View File

@ -62,7 +62,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e021b4c809a781e468c2988c016ebbea, type: 3}
m_Name: ColorLookup
m_EditorClassIdentifier:
active: 1
active: 0
texture:
m_OverrideState: 1
m_Value: {fileID: 2800000, guid: 8c0cdd4f39befe14b87bf44dad8b96bc, type: 3}
@ -102,7 +102,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 66f335fb1ffd8684294ad653bf1c7564, type: 3}
m_Name: ColorAdjustments
m_EditorClassIdentifier:
active: 1
active: 0
postExposure:
m_OverrideState: 1
m_Value: 1
@ -161,7 +161,7 @@ MonoBehaviour:
active: 1
mode:
m_OverrideState: 1
m_Value: 1
m_Value: 2
neutralHDRRangeReductionMode:
m_OverrideState: 0
m_Value: 2

View File

@ -12,6 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 495d5296549fa86488795de870c7aae4, type: 3}
m_Name: Assets/Artists/Configs/scriptable_player_animations.asset
m_EditorClassIdentifier:
tags: []
idleAnimations:
_serializedList:
- Key:
@ -77,13 +78,59 @@ MonoBehaviour:
- Key: 1
Value: {fileID: -2141252149630718149, guid: f5f88ba834ff2f845893f706ccfca542, type: 3}
knockedAnimations:
_serializedList: []
knockingAnimations: []
deathAnimations: []
seatAnimations: []
_serializedList:
- Key:
x: 0
y: 0
Value: {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
ladderAnimations:
_serializedList:
- Key: 0
Value: {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
hitAnimations:
_serializedList:
- Key:
x: 0
y: 0
Value: {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
knockingAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
deathAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
seatAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
ladderEnterAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
ladderExitAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
stepUpAnimations:
- {fileID: -2993534804863918692, guid: b3f40610e0721964c9679e65bd5a61bd, type: 3}
slidingAnimations:
- {fileID: 965086860733634941, guid: 224fd581a54ad3048b7ea3cd00db7941, type: 3}
climbAnimations:
- {fileID: -998496362607748373, guid: 0ad48af31f611b94fba9833e4fc50476, type: 3}
climbUpAnimations:
- {fileID: -2993534804863918692, guid: b3f40610e0721964c9679e65bd5a61bd, type: 3}
climbingAnimations:
_serializedList: []
openParachuteAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
parachuteAnimations:
_serializedList:
- Key:
x: 0
y: 0
Value: {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
parachuteLandAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
freeFallAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
swimmingAnimations:
_serializedList:
- Key: 0
Value: {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
vaultAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
references:
version: 2
RefIds: []

View File

@ -26,7 +26,7 @@ RenderSettings:
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 0}
m_SkyboxMaterial: {fileID: 2100000, guid: a687823355eb47c40bb6c4998e78731d, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
@ -577,6 +577,8 @@ GameObject:
- component: {fileID: 1538247099}
- component: {fileID: 1538247098}
- component: {fileID: 1538247097}
- component: {fileID: 1538247102}
- component: {fileID: 1538247101}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
@ -652,6 +654,39 @@ Transform:
- {fileID: 1723278027}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1538247101
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1538247096}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 054d7fc7589c04d4a8412a6f82b32d6c, type: 3}
m_Name:
m_EditorClassIdentifier:
worldNode:
rid: 7572707465095282692
references:
version: 2
RefIds:
- rid: 7572707465095282692
type: {class: UXCosmeticsWorldProxy, ns: Net.Project.B.UX, asm: Net.Project.B.UX.Unity}
data:
--- !u!114 &1538247102
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1538247096}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 230e015069b45484f9c85d1aba1e901c, type: 3}
m_Name:
m_EditorClassIdentifier:
debug: 0
--- !u!1001 &1723278026
PrefabInstance:
m_ObjectHideFlags: 0

View File

@ -19,7 +19,8 @@
"GUID:ba8323a5a01afc24188ded7f4b05db8a",
"GUID:44495f3f3cb105748baf59ecacd464c6",
"GUID:6efaa16b661faf94188fd63eda46f87c",
"GUID:ecc5a2501a2c44d4cb8366674714f3d9"
"GUID:ecc5a2501a2c44d4cb8366674714f3d9",
"GUID:68e8cf1a3c026044da8fe2f07f7de963"
],
"includePlatforms": [],
"excludePlatforms": [],

View File

@ -13,8 +13,11 @@ using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.UIElements;
using System.Linq;
using AHD2TimeOfDay;
using BITKit.Entities;
using BITKit.Mod;
using BITKit.StateMachine;
using Microsoft.Extensions.Logging;
using Net.BITKit.Localization;
using Project.B.CharacterController;
using Project.B.Entities;
@ -25,6 +28,7 @@ namespace Net.Like.Xue.Tokyo.UX
{
public class UXEscMenu : UIToolKitPanel,IDisposable
{
private readonly ILogger<UXEscMenu> _logger;
private readonly IPlayerFactory _playerFactory;
private readonly IEntitiesService _entitiesService;
private readonly ILocalizationService _localizationService;
@ -48,13 +52,15 @@ namespace Net.Like.Xue.Tokyo.UX
private Toggle _enableChsToggle;
[UXBindPath("enable-tps-toggle")]
private Toggle _enableTpsToggle;
[UXBindPath("time-slider")]
private Slider _timeSlider;
private VisualTreeAsset _template;
[Inject]
private IPlayerCharacterController _playerCharacterController;
public UXEscMenu(IUXService uxService, IUXDialogue uxDialogue, IGameMapService gameMapService, IUXKeyMap<InputAction> uxKeyMap, IDialogueService dialogueService, ILocalizationService localizationService, IEntitiesService entitiesService, IPlayerFactory playerFactory) : base(uxService)
public UXEscMenu(IUXService uxService, IUXDialogue uxDialogue, IGameMapService gameMapService, IUXKeyMap<InputAction> uxKeyMap, IDialogueService dialogueService, ILocalizationService localizationService, IEntitiesService entitiesService, IPlayerFactory playerFactory, ILogger<UXEscMenu> logger) : base(uxService)
{
_uxDialogue = uxDialogue;
_gameMapService = gameMapService;
@ -63,6 +69,7 @@ namespace Net.Like.Xue.Tokyo.UX
_localizationService = localizationService;
_entitiesService = entitiesService;
_playerFactory = playerFactory;
_logger = logger;
OnInitiated += Initiated;
OnInitiatedAsync += InitiatedAsync;
@ -73,6 +80,8 @@ namespace Net.Like.Xue.Tokyo.UX
playerFactory.OnEntityCreated += OnEntityCreated;
}
private UniTask OnEntityCreated(string arg1, IEntity arg2)
{
arg2.Inject(this);
@ -90,6 +99,29 @@ arg2.Inject(this);
{
_template =await ModService.LoadAsset<VisualTreeAsset>("ui_esc_menu_dialogue-template");
_dialogueContainer.Clear();
_timeSlider.RegisterValueChangedCallback(OnTime);
}
public override void OnStateEntry(IState old)
{
base.OnStateEntry(old);
var enable = _entitiesService.QueryComponents<TODController>().Length > 0;
_timeSlider.SetEnabled(enable);
_timeSlider.tooltip = enable ? string.Empty : "这个地图没有开启昼夜系统";
}
private void OnTime(ChangeEvent<float> evt)
{
var controllers = _entitiesService.QueryComponents<TODController>();
foreach (var todController in controllers)
{
var par = todController.todGlobalParameters;
par.CurrentTime = evt.newValue;
todController.todGlobalParameters = par;
todController.SetGlobalParameters();
}
}
private UniTask OnDialogueStart(IDialogueData arg)
@ -170,7 +202,7 @@ arg2.Inject(this);
_enableChsToggle.RegisterValueChangedCallback(x =>
{
_uxDialogue.SubtitleLanguage = x.newValue ? "zh-CN" : string.Empty;
_uxDialogue.SubtitleLanguages = x.newValue ? _localizationService.LocalizedStrings.Keys.ToArray() : null;
});
_enableTpsToggle.RegisterValueChangedCallback(x =>

View File

@ -19,6 +19,7 @@
<ui:VisualElement style="flex-grow: 1;">
<ui:Toggle label="对话显示双语中文" name="enable-chs-toggle" />
<ui:Toggle label="开启第三人称" name="enable-tps-toggle" />
<ui:Slider label="时间" high-value="24" name="time-slider" />
</ui:VisualElement>
<ui:Button text="返回游戏" parse-escape-sequences="true" display-tooltip-when-elided="true" name="return-button" />
</ui:VisualElement>

View File

@ -1,13 +1,18 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<Style src="project://database/Assets/Artists/UX/Style.uss?fileID=7433441132597879392&amp;guid=506d41b7c5d56a44bb5845e69055a5eb&amp;type=3#Style" />
<ui:VisualElement class="flex-center" style="min-width: 512px; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; background-color: rgb(255, 255, 255); border-top-left-radius: 14px; border-top-right-radius: 14px; border-bottom-right-radius: 14px; border-bottom-left-radius: 14px; align-items: stretch;">
<ui:VisualElement picking-mode="Ignore" name="VisualElement--0" style="background-color: rgb(0, 255, 46); height: 384px; width: 384px; -unity-background-scale-mode: scale-and-crop;" />
<ui:VisualElement style="height: 200px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; align-items: center; justify-content: center;">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--0" style="font-size: 48px; color: rgb(0, 0, 0);" />
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--1" style="font-size: 32px; color: rgb(0, 0, 0);" />
<ui:VisualElement class="flex-center">
<ui:VisualElement style="padding-top: 32px; padding-right: 32px; padding-bottom: 32px; padding-left: 32px; background-color: rgb(255, 255, 255); border-top-left-radius: 14px; border-top-right-radius: 14px; border-bottom-right-radius: 14px; border-bottom-left-radius: 14px; align-items: stretch; width: 364px;">
<ui:VisualElement picking-mode="Ignore" name="VisualElement--0" style="background-color: rgb(0, 255, 46); height: 300px; width: 300px; -unity-background-scale-mode: scale-and-crop;" />
<ui:VisualElement style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; align-items: center; justify-content: center; width: 100%;">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--0" style="font-size: 48px; color: rgb(0, 0, 0); width: 100%; -unity-text-align: upper-center;" />
<ui:Label tabindex="-1" text="1231231231231231231231" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--1" style="font-size: 32px; color: rgba(0, 0, 0, 0.78); white-space: normal; text-overflow: clip;" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="flex-direction: row; justify-content: space-around; margin-top: 8px;">
<ui:Button text="打开" parse-escape-sequences="true" display-tooltip-when-elided="true" name="open-button" style="flex-grow: 1;" />
<ui:Button text="删除" parse-escape-sequences="true" display-tooltip-when-elided="true" name="delete-button" style="flex-grow: 1;" />
</ui:VisualElement>
<ui:Button text="删除" parse-escape-sequences="true" display-tooltip-when-elided="true" style="border-left-color: rgba(0, 0, 0, 0.78); border-right-color: rgba(0, 0, 0, 0.78); border-top-color: rgba(0, 0, 0, 0.78); border-bottom-color: rgba(0, 0, 0, 0.78); color: rgb(0, 0, 0);" />
</ui:VisualElement>
<ui:VisualElement picking-mode="Ignore" name="VisualElement--1" class="root" style="background-color: rgb(255, 255, 255); display: none;" />
</ui:UXML>

View File

@ -1,7 +1,7 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<ui:VisualElement style="flex-grow: 1; width: 200px; height: 300px; background-color: rgb(255, 255, 255); padding-top: 11px; padding-right: 11px; padding-bottom: 11px; padding-left: 11px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; margin-top: 16px; margin-right: 16px; margin-bottom: 16px; margin-left: 16px;">
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button--0" style="background-image: url(&quot;project://database/Assets/Arts/Airport%20-%20terminal%20for%20airplanes/Airport%20-%20terminal%20for%20airplanes_1080p_24.02.2025_23-24-27.jpg?fileID=21300000&amp;guid=08952e0a283756b46ab71aac583c920c&amp;type=3#Airport - terminal for airplanes_1080p_24.02.2025_23-24-27&quot;); -unity-background-scale-mode: scale-and-crop; height: 234px;" />
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--0" style="position: absolute; left: -4px; right: -4px; bottom: -4px; font-size: 24px; color: rgb(0, 0, 0); -unity-text-align: middle-center;" />
<ui:VisualElement style="flex-grow: 1; width: 200px; background-color: rgb(255, 255, 255); padding-top: 8px; padding-right: 8px; padding-left: 8px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; margin-top: 16px; margin-right: 16px; margin-bottom: 16px; margin-left: 16px; border-left-color: rgba(0, 0, 0, 0.5); border-right-color: rgba(0, 0, 0, 0.5); border-top-color: rgba(0, 0, 0, 0.5); border-bottom-color: rgba(0, 0, 0, 0.5); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px;">
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button--0" style="background-image: url(&quot;project://database/Assets/Arts/Airport%20-%20terminal%20for%20airplanes/Airport%20-%20terminal%20for%20airplanes_1080p_24.02.2025_23-24-27.jpg?fileID=21300000&amp;guid=08952e0a283756b46ab71aac583c920c&amp;type=3#Airport - terminal for airplanes_1080p_24.02.2025_23-24-27&quot;); -unity-background-scale-mode: scale-and-crop; height: 200px;" />
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--0" style="font-size: 24px; color: rgb(0, 0, 0); -unity-text-align: middle-center; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;" />
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--1" style="display: none;" />
</ui:VisualElement>
</ui:UXML>

View File

@ -2,7 +2,7 @@
<ui:Template name="ui_snapshots-template" src="project://database/Assets/Artists/UX/ui_snapshots-template.uxml?fileID=9197481963319205126&amp;guid=9b71e9702c169d446b535ade7bcb52b4&amp;type=3#ui_snapshots-template" />
<Style src="project://database/Assets/Artists/UX/Style.uss?fileID=7433441132597879392&amp;guid=506d41b7c5d56a44bb5845e69055a5eb&amp;type=3#Style" />
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<ui:VisualElement name="VisualElement" class="flex-center" style="background-color: rgb(24, 24, 24); width: 88%; height: 80%; border-top-left-radius: 28px; border-top-right-radius: 28px; border-bottom-right-radius: 28px; border-bottom-left-radius: 28px; padding-top: 24px; padding-right: 24px; padding-bottom: 24px; padding-left: 24px;">
<ui:VisualElement name="VisualElement" picking-mode="Ignore" style="border-top-left-radius: 28px; border-top-right-radius: 28px; border-bottom-right-radius: 28px; border-bottom-left-radius: 28px; padding-top: 20px; padding-right: 129px; padding-bottom: 72px; padding-left: 129px; background-image: url(&quot;project://database/Assets/Artists/Arts/Textures/texture_book_container.png?fileID=21300000&amp;guid=a8d9b1babb79cca40878068b365dd181&amp;type=3#texture_book_container&quot;); position: absolute; left: 32px; top: 32px; right: 32px; bottom: 32px;">
<ui:ScrollView name="ScrollView">
<ui:VisualElement name="snapshots-container" style="flex-direction: row; flex-wrap: wrap;">
<ui:Instance template="ui_snapshots-template" name="ui_snapshots-template" />

View File

@ -4,7 +4,7 @@
<ui:Label tabindex="-1" text=":" parse-escape-sequences="true" display-tooltip-when-elided="true" style="margin-top: 4px; margin-right: 4px; margin-bottom: 4px; margin-left: 4px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-align: middle-left;" />
<ui:VisualElement style="flex-grow: 1;">
<ui:Label tabindex="-1" text="Statement" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--1" style="white-space: normal; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-align: middle-left;" />
<ui:Label tabindex="-1" text="Subtitle" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--2" style="white-space: normal; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-align: middle-left; color: rgb(255, 164, 0);" />
<ui:Label tabindex="-1" text="Subtitle" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Label--2" style="white-space: normal; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; -unity-text-align: middle-left; color: rgb(255, 164, 0); font-size: 14px;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@ GameObject:
- component: {fileID: 3956321354858485081}
m_Layer: 0
m_Name: LB
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -95,7 +95,7 @@ GameObject:
- component: {fileID: 6781984623641320996}
m_Layer: 0
m_Name: Collider
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -218,6 +218,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 230e015069b45484f9c85d1aba1e901c, type: 3}
m_Name:
m_EditorClassIdentifier:
debug: 0
--- !u!114 &6788301604595195086
MonoBehaviour:
m_ObjectHideFlags: 0
@ -242,7 +243,7 @@ MonoBehaviour:
seatObject: {fileID: 7182689426421886685}
steeringWheelColliders:
- {fileID: 7930271636097243460}
- {fileID: 7930271636097243460}
- {fileID: 3443666043944334013}
driveWheelColliders:
- {fileID: 7930271636097243460}
- {fileID: 3443666043944334013}
@ -389,7 +390,7 @@ GameObject:
- component: {fileID: 3443666043944334013}
m_Layer: 0
m_Name: RT
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -460,7 +461,7 @@ GameObject:
- component: {fileID: 7700118668146691817}
m_Layer: 0
m_Name: Mesh Collider
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -522,7 +523,7 @@ GameObject:
- component: {fileID: 1162617600982730654}
m_Layer: 0
m_Name: Wheel Collider
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -772,7 +773,7 @@ GameObject:
- component: {fileID: 4570767712090285041}
m_Layer: 0
m_Name: LB
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -950,7 +951,7 @@ GameObject:
- component: {fileID: 7930271636097243460}
m_Layer: 0
m_Name: LT
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -1022,7 +1023,7 @@ GameObject:
- component: {fileID: 3045390863915496158}
m_Layer: 0
m_Name: LT
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -1105,7 +1106,7 @@ GameObject:
- component: {fileID: 7918050730151084153}
m_Layer: 0
m_Name: RT
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -1188,7 +1189,7 @@ GameObject:
- component: {fileID: 607684884451072103}
m_Layer: 0
m_Name: RB
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -1377,7 +1378,7 @@ GameObject:
- component: {fileID: 8145125177921984013}
m_Layer: 0
m_Name: RT
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -1450,7 +1451,7 @@ GameObject:
- component: {fileID: 6025766908339745101}
m_Layer: 0
m_Name: w2
m_TagString: Untagged
m_TagString: IgnoreSelf
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@ -1554,10 +1555,22 @@ PrefabInstance:
propertyPath: managedReferences[7572707192357519362].Rigidbody
value:
objectReference: {fileID: 3964648083974690241}
- target: {fileID: 794105033654095496, guid: f5692551e69d33749b247e88a15c9ef6, type: 3}
propertyPath: managedReferences[7572707192357519362].hidePlayer
value: 1
objectReference: {fileID: 0}
- target: {fileID: 794105033654095496, guid: f5692551e69d33749b247e88a15c9ef6, type: 3}
propertyPath: managedReferences[7572707192357519362].cameraDistance
value: 8
objectReference: {fileID: 0}
- target: {fileID: 1570469374308913984, guid: f5692551e69d33749b247e88a15c9ef6, type: 3}
propertyPath: m_Name
value: node_world_seat
objectReference: {fileID: 0}
- target: {fileID: 1570469374308913984, guid: f5692551e69d33749b247e88a15c9ef6, type: 3}
propertyPath: m_TagString
value: IgnoreSelf
objectReference: {fileID: 0}
- target: {fileID: 1613880648422463962, guid: f5692551e69d33749b247e88a15c9ef6, type: 3}
propertyPath: m_Size.x
value: 1.3916626

View File

@ -1,140 +0,0 @@
fileFormatVersion: 2
guid: 6258db4c5e855044b870a48a618b7c7a
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
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
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 1
seamlessCubemap: 1
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 0
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
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: 2
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 100
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 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
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
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
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -96,7 +96,7 @@ LightmapSettings:
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 112000008, guid: f1b4d0be8f84f5c429d255ddceeb1a91, type: 2}
m_LightingDataAsset: {fileID: 112000004, guid: f1b4d0be8f84f5c429d255ddceeb1a91, type: 2}
m_LightingSettings: {fileID: 0}
--- !u!196 &4
NavMeshSettings:
@ -29702,7 +29702,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5493762063358138333, guid: bdc2cad3939d6d2488b85722a332a1e8, type: 3}
propertyPath: m_LocalPosition.x
value: -84.35
value: -85.73
objectReference: {fileID: 0}
- target: {fileID: 5493762063358138333, guid: bdc2cad3939d6d2488b85722a332a1e8, type: 3}
propertyPath: m_LocalPosition.y
@ -29710,7 +29710,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5493762063358138333, guid: bdc2cad3939d6d2488b85722a332a1e8, type: 3}
propertyPath: m_LocalPosition.z
value: -74.15
value: -79.03
objectReference: {fileID: 0}
- target: {fileID: 5493762063358138333, guid: bdc2cad3939d6d2488b85722a332a1e8, type: 3}
propertyPath: m_LocalRotation.w
@ -61311,124 +61311,6 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 1385274980502891779, guid: 0280dfb914a1d1049893d0b1734e57e6, type: 3}
m_PrefabInstance: {fileID: 704850217}
m_PrefabAsset: {fileID: 0}
--- !u!1 &705507993
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 705507995}
- component: {fileID: 705507994}
- component: {fileID: 705507996}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 2800000, guid: 585b05936498bdf43a7f21bf75d5abc0, type: 3}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!108 &705507994
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705507993}
m_Enabled: 1
serializedVersion: 10
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
m_Intensity: 4
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 8.27e-43, y: 0, z: 0, w: 0.0000000012947003}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ShadowRadius: 0
m_ShadowAngle: 33.3
--- !u!4 &705507995
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705507993}
serializedVersion: 2
m_LocalRotation: {x: 0.016600713, y: 0.90560836, z: -0.42229202, w: 0.035600353}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 50.000004, y: 175.498, z: 0}
--- !u!114 &705507996
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705507993}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Version: 3
m_UsePipelineSettings: 1
m_AdditionalLightsShadowResolutionTier: 2
m_LightLayerMask: 1
m_RenderingLayers: 1
m_CustomShadowLayers: 0
m_ShadowLayerMask: 1
m_ShadowRenderingLayers: 1
m_LightCookieSize: {x: 1, y: 1}
m_LightCookieOffset: {x: 0, y: 0}
m_SoftShadowQuality: 0
--- !u!1001 &707566184
PrefabInstance:
m_ObjectHideFlags: 0
@ -351155,6 +351037,5 @@ SceneRoots:
- {fileID: 691699952}
- {fileID: 458484307}
- {fileID: 1354954396}
- {fileID: 705507995}
- {fileID: 1899637053}
- {fileID: 2125728163}

View File

@ -741338,7 +741338,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 2147483647
m_IsActive: 1
m_IsActive: 0
--- !u!4 &1241313687
Transform:
m_ObjectHideFlags: 0

View File

@ -48887,7 +48887,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 2147483647
m_IsActive: 1
m_IsActive: 0
--- !u!4 &593365507
Transform:
m_ObjectHideFlags: 0
@ -127630,11 +127630,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1030992213, guid: abc00000000005344794262752684217, type: 3}
propertyPath: m_LocalPosition.y
value: -17.959007
value: -18.1
objectReference: {fileID: 0}
- target: {fileID: 1030992213, guid: abc00000000005344794262752684217, type: 3}
propertyPath: m_LocalPosition.z
value: -27.644379
value: -27.3
objectReference: {fileID: 0}
- target: {fileID: 1030992213, guid: abc00000000005344794262752684217, type: 3}
propertyPath: m_LocalRotation.w
@ -170129,11 +170129,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1030996987, guid: abc00000000009244361150151567230, type: 3}
propertyPath: m_LocalScale.z
value: 1
value: 0.65653
objectReference: {fileID: 0}
- target: {fileID: 1030996987, guid: abc00000000009244361150151567230, type: 3}
propertyPath: m_LocalPosition.x
value: 0
value: -0.83
objectReference: {fileID: 0}
- target: {fileID: 1030996987, guid: abc00000000009244361150151567230, type: 3}
propertyPath: m_LocalPosition.y
@ -170141,7 +170141,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1030996987, guid: abc00000000009244361150151567230, type: 3}
propertyPath: m_LocalPosition.z
value: 64.35562
value: 64.36
objectReference: {fileID: 0}
- target: {fileID: 1030996987, guid: abc00000000009244361150151567230, type: 3}
propertyPath: m_LocalRotation.w

View File

@ -12,8 +12,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c9a67d267efc1e74cb6424b855defc7b, type: 3}
m_Name: Assets/Arts/Anime Tokyo/Demo Scenes/game_suburbs.asset
m_EditorClassIdentifier:
mapName: "\u8857\u9053"
description: "\u666E\u901A\u7684\u4E1C\u4EAC\u8857\u9053"
mapName: "\u90CA\u533A"
description: "\u5C45\u6C11\u533A"
author:
mapAddress: map_suburbs
overview: {fileID: 2800000, guid: 8de2e8ea76d2fbb4f946bfb49bab55fd, type: 3}
offset: {x: 0, y: 0}
size: 0

View File

@ -26,7 +26,7 @@ RenderSettings:
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.5943395, g: 0.6605698, b: 1, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: 302cf695b2b5abe4a9581ff5d339b6a4, type: 2}
m_SkyboxMaterial: {fileID: 2100000, guid: 387cc950a4d1ff746872c93dd6baeb2e, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
@ -8400,6 +8400,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 230e015069b45484f9c85d1aba1e901c, type: 3}
m_Name:
m_EditorClassIdentifier:
debug: 0
--- !u!1001 &145910682
PrefabInstance:
m_ObjectHideFlags: 0
@ -15626,69 +15627,6 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 5885428368370321166, guid: a290ab0aa35a4d543a9f0a67e7e3cc3f, type: 3}
m_PrefabInstance: {fileID: 251705505}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &254538540
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalPosition.x
value: 31.578712
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalPosition.y
value: 0.00000017881393
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalPosition.z
value: 41.119846
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
propertyPath: m_Name
value: model_yangdun--niudun
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
insertIndex: -1
addedObject: {fileID: 1612976587}
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
insertIndex: -1
addedObject: {fileID: 1612976586}
m_SourcePrefab: {fileID: 100100000, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
--- !u!1001 &256893326
PrefabInstance:
m_ObjectHideFlags: 0
@ -33719,112 +33657,6 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 7299635305358897533, guid: eb6bda5329834104ab5101695b341db4, type: 3}
m_PrefabInstance: {fileID: 510667566}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &511455269
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalPosition.x
value: 29.946978
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalPosition.y
value: 0.00000011920929
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalPosition.z
value: 40.98779
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
propertyPath: m_Name
value: yangdun_v3
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
insertIndex: -1
addedObject: {fileID: 511455272}
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
insertIndex: -1
addedObject: {fileID: 511455271}
m_SourcePrefab: {fileID: 100100000, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
--- !u!1 &511455270 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: d00105a4ef57b134393f0751a789bdaa, type: 3}
m_PrefabInstance: {fileID: 511455269}
m_PrefabAsset: {fileID: 0}
--- !u!114 &511455271
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 511455270}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c75c0dcb6d50eb64abd727a90406ca2b, type: 3}
m_Name:
m_EditorClassIdentifier:
_Animator: {fileID: 511455272}
_ActionOnDisable: 0
_PlayAutomatically: 1
_Animations:
- {fileID: -7955037871088759745, guid: 27d9e2694d711be42a8631acbc94a6d4, type: 3}
--- !u!95 &511455272
Animator:
serializedVersion: 5
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 511455270}
m_Enabled: 1
m_Avatar: {fileID: 9000000, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
m_Controller: {fileID: 0}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorStateOnDisable: 0
m_WriteDefaultValuesOnDisable: 0
--- !u!1001 &511532301
PrefabInstance:
m_ObjectHideFlags: 0
@ -34439,66 +34271,6 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 8303563339802647207, guid: 7ad01f90e53d5904fa2a801f5fed1953, type: 3}
m_PrefabInstance: {fileID: 516132886}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &516839185
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalPosition.x
value: 32.576195
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalPosition.y
value: 0.00000011920929
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalPosition.z
value: 40.91874
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
propertyPath: m_Name
value: model_yangdun
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
insertIndex: -1
addedObject: {fileID: 1316242174}
m_SourcePrefab: {fileID: 100100000, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
--- !u!1001 &517265879
PrefabInstance:
m_ObjectHideFlags: 0
@ -43236,112 +43008,6 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 8821207010615685300, guid: 0adcbb4e647f32949bdfafc860f9cef8, type: 3}
m_PrefabInstance: {fileID: 625104064}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &625455170
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalPosition.x
value: 29.09604
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalPosition.y
value: 0.00000011920929
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalPosition.z
value: 40.98075
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
propertyPath: m_Name
value: p3
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
insertIndex: -1
addedObject: {fileID: 625455173}
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
insertIndex: -1
addedObject: {fileID: 625455172}
m_SourcePrefab: {fileID: 100100000, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
--- !u!1 &625455171 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 6712e4f1f9c19074991fc3e3d8a50fa8, type: 3}
m_PrefabInstance: {fileID: 625455170}
m_PrefabAsset: {fileID: 0}
--- !u!114 &625455172
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 625455171}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c75c0dcb6d50eb64abd727a90406ca2b, type: 3}
m_Name:
m_EditorClassIdentifier:
_Animator: {fileID: 625455173}
_ActionOnDisable: 0
_PlayAutomatically: 1
_Animations:
- {fileID: -7955037871088759745, guid: 27d9e2694d711be42a8631acbc94a6d4, type: 3}
--- !u!95 &625455173
Animator:
serializedVersion: 5
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 625455171}
m_Enabled: 1
m_Avatar: {fileID: 9000000, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
m_Controller: {fileID: 0}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorStateOnDisable: 0
m_WriteDefaultValuesOnDisable: 0
--- !u!1001 &625516240
PrefabInstance:
m_ObjectHideFlags: 0
@ -52037,7 +51703,7 @@ Light:
serializedVersion: 10
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Color: {r: 0, g: 0.7230382, b: 1, a: 1}
m_Intensity: 0.5
m_Range: 10
m_SpotAngle: 30
@ -52045,7 +51711,7 @@ Light:
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: 3
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
@ -52080,7 +51746,7 @@ Light:
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_BounceIntensity: 0
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
@ -52096,7 +51762,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 739831700}
serializedVersion: 2
m_LocalRotation: {x: -0.23842163, y: -0.50380623, z: 0.34420973, w: -0.75554883}
m_LocalRotation: {x: 0.89687276, y: 0, z: 0, w: 0.44228867}
m_LocalPosition: {x: 14.054298, y: 7.067, z: -24.228985}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -92262,33 +91928,6 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 5121583359538358599, guid: c963dc9feabf1634eb8d5f70cced21f9, type: 3}
m_PrefabInstance: {fileID: 1311765853}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1316242171 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
m_PrefabInstance: {fileID: 516839185}
m_PrefabAsset: {fileID: 0}
--- !u!95 &1316242172 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 5866666021909216657, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
m_PrefabInstance: {fileID: 516839185}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1316242174
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1316242171}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c75c0dcb6d50eb64abd727a90406ca2b, type: 3}
m_Name:
m_EditorClassIdentifier:
_Animator: {fileID: 1316242172}
_ActionOnDisable: 0
_PlayAutomatically: 1
_Animations:
- {fileID: -7955037871088759745, guid: 27d9e2694d711be42a8631acbc94a6d4, type: 3}
--- !u!1001 &1318428143
PrefabInstance:
m_ObjectHideFlags: 0
@ -189004,49 +188643,6 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 6462358237325828064, guid: a72a3512da54b7748bd729d8c273b905, type: 3}
m_PrefabInstance: {fileID: 1612111630}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1612976584 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 686100d2ec6f48a4892c63ee0d9a5de1, type: 3}
m_PrefabInstance: {fileID: 254538540}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1612976586
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1612976584}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c75c0dcb6d50eb64abd727a90406ca2b, type: 3}
m_Name:
m_EditorClassIdentifier:
_Animator: {fileID: 1612976587}
_ActionOnDisable: 0
_PlayAutomatically: 1
_Animations:
- {fileID: -7955037871088759745, guid: 27d9e2694d711be42a8631acbc94a6d4, type: 3}
--- !u!95 &1612976587
Animator:
serializedVersion: 5
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1612976584}
m_Enabled: 1
m_Avatar: {fileID: 9000000, guid: cc8438b077fbcd145b723b9e8e91c79e, type: 3}
m_Controller: {fileID: 0}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorStateOnDisable: 0
m_WriteDefaultValuesOnDisable: 0
--- !u!1001 &1613056884
PrefabInstance:
m_ObjectHideFlags: 0
@ -209442,6 +209038,68 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 9097665309531235516, guid: f1fc65d5bd4e4594a86163eaf88e8e2e, type: 3}
m_PrefabInstance: {fileID: 1880873726}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1882949441
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1882949443}
- component: {fileID: 1882949442}
- component: {fileID: 1882949444}
m_Layer: 0
m_Name: TimeOfDaysController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1882949442
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1882949441}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5cc5ff230f5ab58468b15e270e924eb9, type: 3}
m_Name:
m_EditorClassIdentifier:
todGlobalParameters: {fileID: 11400000, guid: aad52ce56063ba44cab43553840a9fb8, type: 2}
MainLight: {fileID: 1918141542}
LensFlare: {fileID: 0}
isTimeFlow: 0
--- !u!4 &1882949443
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1882949441}
serializedVersion: 2
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: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1882949444
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1882949441}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 230e015069b45484f9c85d1aba1e901c, type: 3}
m_Name:
m_EditorClassIdentifier:
debug: 0
--- !u!1001 &1884154505
PrefabInstance:
m_ObjectHideFlags: 0
@ -213944,8 +213602,8 @@ Light:
serializedVersion: 10
m_Type: 1
m_Shape: 0
m_Color: {r: 0.6509433, g: 0.7518754, b: 1, a: 1}
m_Intensity: 2
m_Color: {r: 0.98406863, g: 0.7860207, b: 0.33167544, a: 1}
m_Intensity: 8
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
@ -214003,7 +213661,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1918141541}
serializedVersion: 2
m_LocalRotation: {x: -0.24095842, y: 0.75882596, z: -0.4381065, w: -0.4173547}
m_LocalRotation: {x: 0.89687276, y: 0, z: 0, w: 0.44228867}
m_LocalPosition: {x: -150.37766, y: 9.037246, z: 84.91737}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -233298,7 +232956,4 @@ SceneRoots:
- {fileID: 1066722765}
- {fileID: 1119518419}
- {fileID: 725540878}
- {fileID: 516839185}
- {fileID: 254538540}
- {fileID: 511455269}
- {fileID: 625455170}
- {fileID: 1882949443}

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: 9e346a267956eb3479c89010979a5a83
folderAsset: yes
DefaultImporter:
guid: 36402eb9c344b7f469fc4d39901d417f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 23800000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,8 @@
fileFormatVersion: 2
guid: 4f23b1d01b5fa044784cf0a3dd9794eb
AssemblyDefinitionImporter:
guid: 09409b4be2441694bb5d5400ea9a6afe
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 23800000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,33 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: f00ec0cbd352f5b47818976299a9e2b6, type: 3}
m_Name: tod_suburbs
m_EditorClassIdentifier:
timeFlowSpeed: 2
timeFlowScale: 10
_currentTime: 0
isTimeFlow: 0
timeOfDays: []
currentTimeOfDay: {fileID: 0}
_dayOrNight: 0
todElapsedTimeRatio: 0
todElapsedTime: 0
todFrameList: []
MainlightColor: {r: 0, g: 0, b: 0, a: 0}
MainlightIntensity: 0
MainlightDirection: {x: 0, y: 0, z: 0}
FogLightColor: {r: 0, g: 0, b: 0, a: 0}
FogLightIntensity: 0
HGCoefficient: 0
IblBrdfLut: {fileID: 0}
TimeOfDayData: {fileID: 11400000, guid: 31c67636ff6455949a6f1bde7f0025a3, type: 2}
materials: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 482a11d4a9e4eb040b5acf3938e79888
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -12,8 +12,8 @@ GameObject:
- component: {fileID: 8117932064742115350}
- component: {fileID: 6290481369640729820}
- component: {fileID: 4651605832428380250}
- component: {fileID: -2669531725899440407}
- component: {fileID: -7533844862485030377}
- component: {fileID: 4023770215751693286}
m_Layer: 0
m_Name: SM_wall_suburbs_01 (1)
m_TagString: Untagged
@ -108,26 +108,6 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 3.399529, y: 2.2074862, z: 0.3638386}
m_Center: {x: 0.006108165, y: 1.0637455, z: 0.0022012368}
--- !u!114 &-2669531725899440407
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5497974897156709641}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: db48a34ef668447439789f37091202ae, type: 3}
m_Name:
m_EditorClassIdentifier:
root: {fileID: 0}
type:
rid: -2
references:
version: 2
RefIds:
- rid: -2
type: {class: , ns: , asm: }
--- !u!114 &-7533844862485030377
MonoBehaviour:
m_ObjectHideFlags: 0
@ -140,8 +120,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 054d7fc7589c04d4a8412a6f82b32d6c, type: 3}
m_Name:
m_EditorClassIdentifier:
worldNodeService:
rid: 550035622059573591
worldNode:
rid: 550035622059573942
references:
@ -149,9 +127,6 @@ MonoBehaviour:
RefIds:
- rid: -2
type: {class: , ns: , asm: }
- rid: 550035622059573591
type: {class: WorldNodeService, ns: BITKit.WorldNode, asm: BITKit.WorldNode}
data:
- rid: 550035622059573942
type: {class: WorldInfoNode, ns: BITKit.WorldNode, asm: BITKit.WorldNode}
data:
@ -163,3 +138,16 @@ MonoBehaviour:
type: {class: Reference, ns: BITKit, asm: BITKit}
data:
value: "\u672A\u6807\u8BB0\u8BED\u8A00/\u304C\u3089\u304C\u3089"
--- !u!114 &4023770215751693286
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5497974897156709641}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 230e015069b45484f9c85d1aba1e901c, type: 3}
m_Name:
m_EditorClassIdentifier:
debug: 0

View File

@ -289,6 +289,59 @@ WheelCollider:
m_LayerOverridePriority: 0
m_Enabled: 1
m_ProvidesContacts: 0
--- !u!1 &3409231138426825967
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7909372357797701784}
- component: {fileID: 6332467067239195482}
m_Layer: 0
m_Name: Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7909372357797701784
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3409231138426825967}
serializedVersion: 2
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: 5493762063358138333}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &6332467067239195482
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3409231138426825967}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 1.7995752, y: 1.1648529, z: 4.3496094}
m_Center: {x: -0.004131496, y: 0.7335955, z: 0.008564711}
--- !u!1 &3479772068077094288
GameObject:
m_ObjectHideFlags: 0
@ -463,6 +516,7 @@ Transform:
- {fileID: 4644190375436657927}
- {fileID: 8404198062560166294}
- {fileID: 3323708794184731598}
- {fileID: 7909372357797701784}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5779194515783330935
@ -523,6 +577,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 230e015069b45484f9c85d1aba1e901c, type: 3}
m_Name:
m_EditorClassIdentifier:
debug: 0
--- !u!114 &7861979307165572026
MonoBehaviour:
m_ObjectHideFlags: 0
@ -806,6 +861,7 @@ GameObject:
m_Component:
- component: {fileID: 8404198062560166294}
- component: {fileID: 9181946679066936823}
- component: {fileID: 3053211837902447901}
m_Layer: 0
m_Name: Mesh Collider
m_TagString: IgnoreSelf
@ -850,6 +906,33 @@ MeshCollider:
m_Convex: 1
m_CookingOptions: 30
m_Mesh: {fileID: -5535246422639665549, guid: dbc981f52e49a12459778d1b63382121, type: 3}
--- !u!54 &3053211837902447901
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7827287928786272023}
serializedVersion: 4
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!1 &9149582454058788285
GameObject:
m_ObjectHideFlags: 0
@ -898,6 +981,14 @@ PrefabInstance:
propertyPath: managedReferences[7572707192357519362].Rigidbody
value:
objectReference: {fileID: 2530527896109555401}
- target: {fileID: 794105033654095496, guid: f5692551e69d33749b247e88a15c9ef6, type: 3}
propertyPath: managedReferences[7572707192357519362].hidePlayer
value: 1
objectReference: {fileID: 0}
- target: {fileID: 794105033654095496, guid: f5692551e69d33749b247e88a15c9ef6, type: 3}
propertyPath: managedReferences[7572707192357519362].cameraDistance
value: 4
objectReference: {fileID: 0}
- target: {fileID: 1207251289277488508, guid: f5692551e69d33749b247e88a15c9ef6, type: 3}
propertyPath: m_TagString
value: IgnoreSelf

View File

@ -12,7 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e021b4c809a781e468c2988c016ebbea, type: 3}
m_Name: ColorLookup
m_EditorClassIdentifier:
active: 1
active: 0
texture:
m_OverrideState: 1
m_Value: {fileID: 2800000, guid: 8c0cdd4f39befe14b87bf44dad8b96bc, type: 3}
@ -20,52 +20,6 @@ MonoBehaviour:
contribution:
m_OverrideState: 1
m_Value: 1
--- !u!114 &-4051134223660129355
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: c01700fd266d6914ababb731e09af2eb, type: 3}
m_Name: DepthOfField
m_EditorClassIdentifier:
active: 1
mode:
m_OverrideState: 1
m_Value: 1
gaussianStart:
m_OverrideState: 1
m_Value: 5.81
gaussianEnd:
m_OverrideState: 1
m_Value: 30
gaussianMaxRadius:
m_OverrideState: 1
m_Value: 0.97
highQualitySampling:
m_OverrideState: 0
m_Value: 0
focusDistance:
m_OverrideState: 0
m_Value: 10
aperture:
m_OverrideState: 0
m_Value: 5.6
focalLength:
m_OverrideState: 0
m_Value: 50
bladeCount:
m_OverrideState: 0
m_Value: 5
bladeCurvature:
m_OverrideState: 0
m_Value: 1
bladeRotation:
m_OverrideState: 0
m_Value: 0
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@ -83,7 +37,6 @@ MonoBehaviour:
- {fileID: -5682964868260359006}
- {fileID: 5613022926848435504}
- {fileID: 5336876406982169967}
- {fileID: -4051134223660129355}
--- !u!114 &5336876406982169967
MonoBehaviour:
m_ObjectHideFlags: 3
@ -127,7 +80,7 @@ MonoBehaviour:
active: 1
mode:
m_OverrideState: 1
m_Value: 1
m_Value: 2
neutralHDRRangeReductionMode:
m_OverrideState: 0
m_Value: 2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 507 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 462 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: fb85d097d9116f148b1da22c3156113c
guid: c6eeae11fa956f94eb8ddd2dfdc920df
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
@ -28,18 +28,18 @@ TextureImporter:
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 1
seamlessCubemap: 1
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 0
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
@ -55,7 +55,7 @@ TextureImporter:
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 2
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
@ -73,7 +73,7 @@ TextureImporter:
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 100
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -13,6 +13,7 @@ namespace BITKit.Entities
[DefaultExecutionOrder(-1)]
public class UnityEntity : MonoBehaviour,IEntity
{
[SerializeField] private bool debug;
private IEntitiesService _entitiesService;
private IEntity _entity;
@ -22,6 +23,11 @@ namespace BITKit.Entities
if (_entitiesService.Entities.ContainsKey(gameObject.GetInstanceID())) return;
if (debug)
{
}
var entity = new Entity()
{
Id = gameObject.GetInstanceID(),
@ -40,6 +46,8 @@ namespace BITKit.Entities
{
if(!component)continue;
var type = component.GetType();
entity.ServiceCollection.AddSingleton(type, component);
foreach (var x in type.GetInterfaces())
{

View File

@ -19,6 +19,7 @@ namespace BITKit.Mod
{
list.Add((T)obj);
}
}
return list;
}

View File

@ -5,7 +5,8 @@
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
"GUID:d8b63aba1907145bea998dd612889d6b",
"GUID:f51ebe6a0ceec4240a699833d6309b23",
"GUID:e0cd26848372d4e5c891c569017e11f1"
"GUID:e0cd26848372d4e5c891c569017e11f1",
"GUID:2665a8d13d1b3f18800f46e256720795"
],
"includePlatforms": [],
"excludePlatforms": [],

View File

@ -6,6 +6,8 @@ using System.Collections.Generic;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using BITKit;
using Unity.Burst;
using Unity.Mathematics;
namespace Net.BITKit.Quadtree
@ -22,23 +24,33 @@ namespace Net.BITKit.Quadtree
return _positions;
}
}
public IDictionary<int, float2> Sizes => _sizes;
private readonly Dictionary<int, float2> _positions;
private Memory<int> _memory;
private readonly ConcurrentQueue<(int, float2)> _queue;
private readonly Dictionary<int, float2> _sizes;
public Quadtree(float2 center, float2 size)
{
_sizes = new Dictionary<int, float2>();
_memory = new int[(int)math.max(size.x, size.y)];
_positions = new Dictionary<int, float2>();
_queue = new ConcurrentQueue<(int, float2)>();
Root = new QuadtreeNode(this,center, size);
}
public void Insert(in int objectId,in float2 position)
public void Insert(in int objectId,in float2 position,in float2 size = default)
{
_queue.Enqueue((objectId, position));
var root = Root;
if (size.x is not 0)
{
_sizes.TryAdd(objectId, size);
}
else
{
var root = Root;
InsertRecursive(ref root,in objectId,in position);
InsertRecursive(ref root,in objectId,in position);
}
}
private static void InsertRecursive(ref QuadtreeNode node,in int objectId,in float2 position)
@ -69,27 +81,36 @@ namespace Net.BITKit.Quadtree
var root = Root;
/*
var array = MemoryPool<int>.Shared.Rent(_positions.Count);
try
{
QueryRecursive(in root, in position, in radius, array.Memory.Span, ref index);
return array.Memory;
}
finally
{
array.Dispose();
}
*/
QueryRecursive(in root,in position,in radius, _memory.Span, ref index);
foreach (var (key,size) in _sizes)
{
var pos = _positions[key];
if (IsCircleInRect(pos, radius, position, size))
{
_memory.Span[index] = key;
index++;
}
}
return _memory[..index];
}
[BurstCompile]
private static bool IsCircleInRect(float2 point, float radius, float2 pos, float2 size)
{
var halfSize = size * 0.5f;
var min = pos - halfSize; // 矩形左下角
var max = pos + halfSize; // 矩形右上角
// 计算扩展后的包围盒
var expandedMin = min - radius;
var expandedMax = max + radius;
// 检查点是否在扩展的矩形内
return point.x >= expandedMin.x && point.x <= expandedMax.x &&
point.y >= expandedMin.y && point.y <= expandedMax.y;
}
private void Expansion()
{
while (_queue.TryDequeue(out var item))
@ -102,7 +123,7 @@ namespace Net.BITKit.Quadtree
_memory = new int[_positions.Count*2];
}
}
[BurstCompile]
private void QueryRecursive(in QuadtreeNode node,in float2 position,in float radius,Span<int> result,ref int index)
{
if (!Intersects(node.Center, node.Size, position, radius))
@ -132,7 +153,7 @@ namespace Net.BITKit.Quadtree
}
}
}
[BurstCompile]
private static bool Intersects(in float2 center,in float2 size,in float2 position,in float radius)
{
// 计算 AABB 的最小/最大点
@ -158,10 +179,14 @@ namespace Net.BITKit.Quadtree
if (_positions.TryGetValue(objectId, out var position) is false) return false;
_sizes.TryRemove(objectId);
var root = Root;
if (RemoveRecursive(ref root, objectId, position) is false) return false;
_positions.Remove(objectId);
return true;
}

View File

@ -5,6 +5,7 @@ using System.Threading;
using System.Threading.Tasks;
using Cysharp.Threading.Tasks;
using Unity.Mathematics;
using UnityEngine;
namespace BITKit.Tween
{
@ -35,7 +36,25 @@ namespace BITKit.Tween
return new TweenSequence();
}
public static async UniTask Lerp<T>(Action<T> setter,T from,T to,float duration, Func<T, T,float, T> lerp,CancellationToken cancellationToken = default)
public static async UniTask MoveToForward<T>(Action<T> setter, T from, T to, float delta,
Func<T, T, float, T> func, CancellationToken cancellationToken = default)
{
setter(from);
while (Equals(from,to) is false && cancellationToken.IsCancellationRequested is false)
{
from = func(from, to, delta*BITApp.Time.DeltaTime);
#if UNITY_5_3_OR_NEWER
await UniTask.NextFrame(cancellationToken);
#else
await UniTask.Yield();
#endif
setter(from);
}
if (cancellationToken.IsCancellationRequested is false)
setter(to);
}
public static async UniTask Lerp<T>(Action<T> setter,T from,T to,float duration, Func<T, T,float, T> func,CancellationToken cancellationToken = default)
{
var t = 0f;
var delta = 1f / duration;
@ -44,7 +63,7 @@ namespace BITKit.Tween
while (t < 1 && cancellationToken.IsCancellationRequested is false)
{
t = math.clamp(t + delta*BITApp.Time.DeltaTime, 0, 1);
var next = lerp(from, to, t);
var next = func(from, to, t);
#if UNITY_5_3_OR_NEWER
await UniTask.NextFrame(cancellationToken);
#else

View File

@ -57,6 +57,8 @@ namespace BITKit
}
public class BITAppForUnity : MonoBehaviour
{
public static event Action OnDrawGizmo;
public static event Action OnDrawGizmoSelected;
[Serializable]
public class OpenUrl
{
@ -224,5 +226,15 @@ namespace BITKit
{
return BITApp.State;
}
private void OnDrawGizmos()
{
OnDrawGizmo?.Invoke();
}
private void OnDrawGizmosSelected()
{
OnDrawGizmoSelected?.Invoke();
}
}
}

View File

@ -21,7 +21,7 @@ namespace Net.Project.B.Quadtree
for (var i = 0; i < 512*8; i++)
{
_quadtree.Insert(i,Random.insideUnitCircle * 512);
_quadtree.Insert(i,Random.insideUnitCircle * 512,Random.value>0.5f ? Random.insideUnitCircle * 8 :default);
}
_quadtree.Query(default, default);
@ -56,6 +56,12 @@ namespace Net.Project.B.Quadtree
var nodeCenter = quadtreeNode.Center;
var nodeSize = quadtreeNode.Size;
foreach (var (id,rectangle) in _quadtree.Sizes)
{
var pos = _quadtree.Positions[id];
Gizmos.DrawWireCube(new Vector3(pos.x,0,pos.y),new Vector3(rectangle.x,0,rectangle.y));
}
foreach (var id in quadtreeNode.Objects)
{
if (repeatedObject.Add(id) is false)

View File

@ -47,6 +47,9 @@
},
{
"m_Id": "7e2c0d4d25864d2191a1e0e89382cb9d"
},
{
"m_Id": "8227f9644b274f5ebf0d28d68ba889a6"
}
],
"m_GroupDatas": [],
@ -108,6 +111,34 @@
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8227f9644b274f5ebf0d28d68ba889a6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5661d3cd00db4886aa4c5a74d2bf7906"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8227f9644b274f5ebf0d28d68ba889a6"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6c2776abf1bb475387390d54ccac4274"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
@ -916,6 +947,43 @@
"m_Space": 4
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "8227f9644b274f5ebf0d28d68ba889a6",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1669.9998779296875,
"y": -185.33334350585938,
"width": 207.3333740234375,
"height": 134.6667022705078
}
},
"m_Slots": [
{
"m_Id": "c0c3d0b729c7436aab7c437b9d0b4d32"
}
],
"synonyms": [
"location"
],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 0,
"m_PositionSource": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
@ -1248,6 +1316,29 @@
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c0c3d0b729c7436aab7c437b9d0b4d32",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",

View File

@ -1,21 +0,0 @@
{
"name": "BITKit.Extensions.Polaris",
"rootNamespace": "",
"references": [
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
"GUID:9c184a1e5cc20654384071dfebc106ed",
"GUID:bdb069e155d2f944cb1bf28602b6d4c1",
"GUID:1193c2664d97cc049a6e4c486c6bce71"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [
"GRIFFIN"
],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -1,59 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Pinwheel.Griffin;
using Quadtree;
using UnityEngine;
namespace BITKit.OpenWorld
{
public class PolarisTerrainChunkService : WorldChunkService<PolarisTerrainChunkService>
{
private class ChunkData:IWorldChunkObject
{
public Collider Collider { get; set; }
public Bounds GetBounds() => Bounds;
public Bounds Bounds { get; set; }
public Node<IWorldChunkObject> ParentNode { get; set; }
public void QuadTree_Root_Initialized(IQuadtreeRoot<IWorldChunkObject, Node<IWorldChunkObject>> root)
{
}
public int Id { get; set; }
public int Lod
{
get => lod;
set
{
Collider.enabled = value is 0;
lod = value;
}
}
private int lod=-1;
}
[SerializeField] private GStylizedTerrain[] terrains;
protected override void Start()
{
base.Start();
var reporter = new StringBuilder();
foreach (var terrain in terrains)
{
reporter.AppendLine($"正在注册地形 {terrain.name},尺寸:{terrain.TerrainData.Geometry.Width}x{terrain.TerrainData.Geometry.Length}");
foreach (var chunk in terrain.GetChunks())
{
var data =new ChunkData()
{
Collider = chunk.MeshColliderComponent,
Bounds = chunk.MeshColliderComponent.bounds
};
data.Collider.enabled = false;
Register(data);
reporter.AppendLine($"注册地形碰撞体 {chunk.name},尺寸:{data.Bounds.size}");
}
}
Debug.Log(reporter);
OnTick(Time.deltaTime);
}
}
}

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 196335990c4123f46b440b909e1536d3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 097a5e6e5584dae47b9d289d3d0c2081
guid: 387cc950a4d1ff746872c93dd6baeb2e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 682e197b100d1d44fb0135463aa1e0ce
guid: 99ec6b3883ed76f49847ad798130f7f4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 37cc2555e5adf7447b08a6e9c7b1641f
guid: 52eed46fe54f48a4fa99d629c763fbb7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 96523d852b2341c46a4bbec71ebe3653
guid: 09dcb4bfe53fd8d4cae32b8577c50248
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 261d6df445480e1488f4c0d58bd14aa6
guid: 5bc3b48f758d4ff4fa224fa9d6523a61
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 3afccad3074fba04da783648e2c0436b
guid: a1d9d5b35e3e29b40b067d55c8310580
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 55f9d6dcbb6aa2c4c9b5d601bf3e17c4
guid: 183187c1e9c4666429560949521563b2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: d141bbf1f7b5809468271f8fe3abbce4
guid: 69b6d843a993b4f45a5175bca9625122
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: fdb592a23b23e234cb983a757a4224a5
guid: 6f81109445e8640479870da79ac869d2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 414a6b71cc72cd245b450ce4fc9c6268
guid: f8f6734848f69564db535963bd6f2531
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: b53b1473477499848a7dad950afc9c37
guid: 46112e06ea1af8d489a5b4be86b7f5c0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 9cd5a941127de604b8404ea95c0dac4a
guid: 6ed566b317969824a8647b5d05941012
TextScriptImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 8d0cf493a03513541ba17979e2a822ab
guid: dd01b0c92f2f9024e8f52216d1defa5c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 73a68b8b66935374b86e4fc4f47e39ec
guid: aaa1cd4bafa20604795e8749bab4c76c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: ef91cd6c6e7841242bef9e1503025bfc
guid: a7e2a144af62c5a43b84d7c09a887c30
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e1415ed6b1024e44eaf4a7a607d70d3b
guid: 23707a2e09f114e45b710611bc7f24be
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 56e4af266ef730a4b9fa4779f4544edc
guid: c6d8adf6bedceb34b9a078672d4f17c8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 885364f0ae4e338469a0d217581501e4
guid: 787a1297abd976642b4e33203d5ede03
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: fa0d7e868810ab746aa6dcebe2bbf871
guid: 15c9d10ebd591d6418cd7e2a36e4d945
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: eb4ba96ee91f98d40b968aaf939d9821
guid: 47aa87cc2b4eb1e4eb4892508d88073b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a01db1ff0def5f84a944e9c325bf1d30
guid: 70825751daac963479765431346caec3
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

Some files were not shown because too many files have changed in this diff Show More