This commit is contained in:
CortexCore
2025-04-18 20:27:57 +08:00
parent 5324d73239
commit 1226b6f0c5
26 changed files with 17059 additions and 28590 deletions

View File

@@ -95,7 +95,8 @@ MonoBehaviour:
Value: {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
knockingAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
revivedAnimations: []
revivedAnimations:
- {fileID: 1827226128182048838, guid: 3406cf51171cd5a40a2ff8deaaaf7814, type: 3}
deathAnimations:
- {fileID: 1827226128182048838, guid: a4b8f2deec6a99945987cfc59b1b4e54, type: 3}
seatAnimations:

View File

@@ -0,0 +1,96 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4746647303878859510
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5464174157170553553}
m_Layer: 0
m_Name: player_ragdoll
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5464174157170553553
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4746647303878859510}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -38.483845, y: 0.95354, z: 24.162369}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3979663760521025939}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &3978035310675864179
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 5464174157170553553}
m_Modifications:
- target: {fileID: 4020996693717984, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4020996693717984, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4020996693717984, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4020996693717984, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4020996693717984, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4020996693717984, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4020996693717984, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 199167130600116412, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 199802392133735146, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 199819885978416856, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 199940705928113672, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
--- !u!4 &3979663760521025939 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4020996693717984, guid: 4cf45cdce36e66e4a93614abb5ae7821, type: 3}
m_PrefabInstance: {fileID: 3978035310675864179}
m_PrefabAsset: {fileID: 0}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1bb801c6861e58d4886582e5ea5a08b1
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -10,6 +10,7 @@ using Net.BITKit.Localization;
using Net.Like.Xue.Tokyo.UX;
using Net.Project.B.AI;
using Net.Project.B.Chat;
using Net.Project.B.Health;
using Net.Project.B.PDA;
using Net.Project.B.UX;
using Project.B.Player;
@@ -84,9 +85,16 @@ namespace Net.Like.Xue.Tokyo
await global::Project.B.Program.BuildServiceProvider(serviceProvider,destroyCancellationToken);
serviceProvider.QueryComponents(out AIHumanService aiHumanService);
{
serviceProvider.QueryComponents(out AIHumanService aiHumanService);
aiHumanService.DamageOnBreakDialogue = 30;
}
{
serviceProvider.QueryComponents(out PlayerAutoHealController healController);
healController.Enabled = false;
}
var uxService = serviceProvider.GetRequiredService<IUXService>();

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Dreamteck.Splines.Primitives;
using UnityEngine;
using Object = System.Object;
using Random = UnityEngine.Random;
namespace Net.Like.Xue.Tokyo
{
public class ReplaceModel : MonoBehaviour
{
[SerializeField] private Animator animator;
[SerializeField] private Transform[] models;
private void Start()
{
for (var i = 0; i < transform.childCount; i++)
{
DestroyImmediate(transform.GetChild(0));
}
var index = Random.Range(0, transform.childCount);
var newModel =models[index];
newModel = Instantiate(newModel, transform);
if (newModel.TryGetComponent<Animator>(out var x))
{
DestroyImmediate(x);
}
animator.Rebind();
}
}
}

View File

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

View File

@@ -11,6 +11,12 @@ Button {
border-left-width: 1px;
}
ProgressBar .unity-text-element {
color: rgba(255, 255, 255, 0.96);
-unity-text-outline-width: 1px;
-unity-text-outline-color: rgba(0, 0, 0, 0.5);
}
Button:hover {
color: rgb(0, 0, 0);
border-left-color: rgba(255, 255, 255, 0.78);
@@ -37,7 +43,7 @@ Button:active {
background-color: rgba(255, 255, 255, 0.5);
}
Label {
.unity-text-element {
-unity-font-definition: url("project://database/Assets/Artists/Arts/Fonts/Meiryo%20UI%20W53%20Regular%20SDF.asset?fileID=11400000&guid=80d4eed6ab6a2c248b81331b3aab1c8c&type=2#Meiryo UI W53 Regular SDF");
}

View File

@@ -35,7 +35,7 @@
<ui:VisualElement name="quest-container" style="position: absolute; top: 32px; right: 32px;">
<ui:Instance template="ux_quest_template" name="ux_quest_template" style="padding-top: 16px; padding-right: 32px; padding-bottom: 6px; padding-left: 32px;" />
</ui:VisualElement>
<ui:Label tabindex="-1" text="互动/双方向性" parse-escape-sequences="true" display-tooltip-when-elided="true" name="interaction-tips" class="flex-center tl" style="padding-top: 8px; padding-right: 16px; padding-bottom: 8px; padding-left: 16px; position: absolute; left: 50%; top: 50%; color: rgb(255, 255, 255); border-left-width: 4px; border-left-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); text-shadow: 0 0 1px rgb(0, 0, 0);" />
<ui:Label tabindex="-1" text="互动/双方向性" parse-escape-sequences="true" display-tooltip-when-elided="true" name="interaction-tips" class="flex-center" style="position: absolute; left: 52%; top: 50%; color: rgb(255, 255, 255); text-shadow: 0 0 1px rgb(0, 0, 0);" />
<ui:VisualElement name="dialogue-choose-container" style="position: absolute; top: 40%; right: 8%;">
<ui:Instance template="ux_dialogue_choose_template" name="ux_dialogue_choose_template" />
<ui:Instance template="ux_dialogue_choose_template" name="ux_dialogue_choose_template" />