This commit is contained in:
2025-07-16 23:04:04 +02:00
parent 5751cfec80
commit c8b66ed3af
212 changed files with 9332 additions and 1812 deletions

View File

@@ -15,7 +15,7 @@ MonoBehaviour:
m_DefaultGroup: 64326db70156abe409df70a80bc62dc5
m_currentHash:
serializedVersion: 2
Hash: aab44a0d1164f0a9fb166437f4cc9ec3
Hash: 00000000000000000000000000000000
m_OptimizeCatalogSize: 0
m_BuildRemoteCatalog: 0
m_CatalogRequestsTimeout: 0
@@ -105,6 +105,7 @@ MonoBehaviour:
- world
- actor
- game_mode
- item
m_SchemaTemplates: []
m_GroupTemplateObjects:
- {fileID: 11400000, guid: ce67ab8e01be15442bd2911cedb156c4, type: 2}

View File

@@ -15,11 +15,25 @@ MonoBehaviour:
m_GroupName: Jelycho Core
m_GUID: 64326db70156abe409df70a80bc62dc5
m_SerializeEntries:
- m_GUID: 25696e225f604c542bd24bec74319866
m_Address: Assets/jelycho/Worlds/dev/world_dev.asset
- m_GUID: 0258297780346e648b9fca3bb5f89543
m_Address: Assets/jelycho/Items/item_egg.prefab
m_ReadOnly: 0
m_SerializedLabels:
- world
- actor
- item
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: 2fb503c7c7d54464f9bc16d97113b9e8
m_Address: Assets/jelycho/Prefabs/beacon_0.prefab
m_ReadOnly: 0
m_SerializedLabels:
- actor
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: 50a5e87baaedf5b46ba52646e8e88b74
m_Address: Assets/jelycho/Prefabs/Items/item_dagger.prefab
m_ReadOnly: 0
m_SerializedLabels:
- actor
- item
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: abb7fe7f372ba7640b0ab138239c7f78
m_Address: Assets/jelycho/Main/scn_main_menu.unity
@@ -35,7 +49,14 @@ MonoBehaviour:
- m_GUID: be292ae0883a3be4090cdc42a4c7c131
m_Address: Assets/jelycho/actors/player/a_player.prefab
m_ReadOnly: 0
m_SerializedLabels: []
m_SerializedLabels:
- actor
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: cc37529a52919b443aa04c484902cb68
m_Address: Assets/jelycho/core/enemies/Zombie/actor_zombie.prefab
m_ReadOnly: 0
m_SerializedLabels:
- actor
FlaggedDuringContentUpdateRestriction: 0
m_ReadOnly: 0
m_Settings: {fileID: 11400000, guid: 93969247b34433f44bfa755967945828, type: 2}

View File

@@ -15,15 +15,11 @@ MonoBehaviour:
m_GroupName: Jelycho Dev
m_GUID: 9d65553015c8f6e47b61ba7892ccbb3e
m_SerializeEntries:
- m_GUID: 2fb503c7c7d54464f9bc16d97113b9e8
m_Address: Assets/jelycho/Prefabs/beacon_0.prefab
- m_GUID: 25696e225f604c542bd24bec74319866
m_Address: Assets/jelycho/Worlds/dev/world_dev.asset
m_ReadOnly: 0
m_SerializedLabels: []
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: 50a5e87baaedf5b46ba52646e8e88b74
m_Address: Assets/jelycho/Prefabs/Items/item_dagger.prefab
m_ReadOnly: 0
m_SerializedLabels: []
m_SerializedLabels:
- world
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: 9ad3292f4f1ed8e4fb37da9cdd43b38b
m_Address: Assets/jelycho/maps/dev/scn_map_dev.unity

View File

@@ -24,23 +24,8 @@ MonoBehaviour:
SourcePrefabToOverride: {fileID: 0}
SourceHashToOverride: 0
OverridingTargetPrefab: {fileID: 0}
- Override: 0
Prefab: {fileID: 3913326941885152303, guid: d8656ef49bb69e647b019ff5e4d68209, type: 3}
SourcePrefabToOverride: {fileID: 0}
SourceHashToOverride: 0
OverridingTargetPrefab: {fileID: 0}
- Override: 0
Prefab: {fileID: 1321683558189709310, guid: 2cc631d24ab41194ebdeffff7faf62a5, type: 3}
SourcePrefabToOverride: {fileID: 0}
SourceHashToOverride: 0
OverridingTargetPrefab: {fileID: 0}
- Override: 0
Prefab: {fileID: 6086846679135428685, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
SourcePrefabToOverride: {fileID: 0}
SourceHashToOverride: 0
OverridingTargetPrefab: {fileID: 0}
- Override: 0
Prefab: {fileID: 611922230303722876, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
SourcePrefabToOverride: {fileID: 0}
SourceHashToOverride: 0
OverridingTargetPrefab: {fileID: 0}

View File

@@ -409,3 +409,39 @@ MonoBehaviour:
BackgroundTexture: {fileID: 0}
IsBackgroundRecursive: 0
IsHidden: 0
- Type: 1
Key: Assets/jelycho/core/player
Ordinal: 33
Priority: 0
IconType: 170
SmallIcon: {fileID: 0}
LargeIcon: {fileID: 0}
IsIconRecursive: 0
BackgroundType: 170
BackgroundTexture: {fileID: 0}
IsBackgroundRecursive: 0
IsHidden: 0
- Type: 1
Key: Assets/jelycho/core/Items
Ordinal: 34
Priority: 0
IconType: 130
SmallIcon: {fileID: 0}
LargeIcon: {fileID: 0}
IsIconRecursive: 0
BackgroundType: 130
BackgroundTexture: {fileID: 0}
IsBackgroundRecursive: 0
IsHidden: 0
- Type: 1
Key: Assets/jelycho/core/enemies
Ordinal: 35
Priority: 0
IconType: 10
SmallIcon: {fileID: 0}
LargeIcon: {fileID: 0}
IsIconRecursive: 0
BackgroundType: 10
BackgroundTexture: {fileID: 0}
IsBackgroundRecursive: 0
IsHidden: 0

View File

@@ -21,4 +21,4 @@ MonoBehaviour:
m_SubObjectGUID:
m_SubObjectType:
m_EditorAssetChanged: 0
steamAppID: 480
steamAppID: 3881650

View File

@@ -1,707 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 10
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 13
m_BakeOnSceneLoad: 0
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0}
m_LightingSettings: {fileID: 0}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &330585543
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 330585546}
- component: {fileID: 330585545}
- component: {fileID: 330585544}
- component: {fileID: 330585547}
- component: {fileID: 330585548}
m_Layer: 0
m_Name: camera_main
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &330585544
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 330585543}
m_Enabled: 1
--- !u!20 &330585545
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 330585543}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
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_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.12
far clip plane: 500
field of view: 70
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &330585546
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 330585543}
serializedVersion: 2
m_LocalRotation: {x: 0.51805025, y: -0.000028491486, z: 0.000016934791, w: 0.8553502}
m_LocalPosition: {x: 0.000034647062, y: 1.4547659, z: 0.33647728}
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 &330585547
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 330585543}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_RenderShadows: 1
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
m_Cameras: []
m_RendererIndex: -1
m_VolumeLayerMask:
serializedVersion: 2
m_Bits: 1
m_VolumeTrigger: {fileID: 0}
m_VolumeFrameworkUpdateModeOption: 2
m_RenderPostProcessing: 1
m_Antialiasing: 0
m_AntialiasingQuality: 2
m_StopNaN: 0
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
m_AllowHDROutput: 1
m_UseScreenCoordOverride: 0
m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
m_TaaSettings:
m_Quality: 3
m_FrameInfluence: 0.1
m_JitterScale: 1
m_MipBias: 0
m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0
--- !u!114 &330585548
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 330585543}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 72ece51f2901e7445ab60da3685d6b5f, type: 3}
m_Name:
m_EditorClassIdentifier:
ShowDebugText: 0
ShowCameraFrustum: 1
IgnoreTimeScale: 0
WorldUpOverride: {fileID: 0}
ChannelMask: -1
UpdateMethod: 1
BlendUpdateMethod: 1
LensModeOverride:
Enabled: 0
DefaultMode: 2
DefaultBlend:
Style: 1
Time: 2
CustomCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
CustomBlends: {fileID: 0}
--- !u!1 &379890219
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 379890220}
- component: {fileID: 379890221}
- component: {fileID: 379890222}
m_Layer: 0
m_Name: ConsoleVC
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &379890220
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 379890219}
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: 1468139327}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &379890221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 379890219}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 19102, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_PanelSettings: {fileID: 11400000, guid: c4c93f1ef3cc3324696c439305139cbb, type: 2}
m_ParentUI: {fileID: 0}
sourceAsset: {fileID: 9197481963319205126, guid: 15eee085e73feee4eba58c073b1455c5, type: 3}
m_SortingOrder: 0
m_WorldSpaceSizeMode: 1
m_WorldSpaceWidth: 1920
m_WorldSpaceHeight: 1080
--- !u!114 &379890222
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 379890219}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a6131b8af74b4894ba7b95b12286bc66, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Document: {fileID: 379890221}
--- !u!1 &599568088
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 599568090}
- component: {fileID: 599568089}
m_Layer: 0
m_Name: RainbowHierarchyRuleset
m_TagString: EditorOnly
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &599568089
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 599568088}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 848a85510b808ee4994e553f35ca73bd, type: 3}
m_Name:
m_EditorClassIdentifier:
Rules:
- Type: 0
Name:
GameObject: {fileID: 647954086}
Ordinal: 0
Priority: 0
IconType: 0
IconTexture: {fileID: 0}
IsIconRecursive: 0
BackgroundType: 1000
BackgroundTexture: {fileID: 0}
IsBackgroundRecursive: 0
IsHidden: 0
--- !u!4 &599568090
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 599568088}
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!1 &647954086
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 647954090}
- component: {fileID: 647954089}
- component: {fileID: 647954088}
- component: {fileID: 647954087}
m_Layer: 0
m_Name: scene_context
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &647954087
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 647954086}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4238ea1a17e342e583cdd929103a22c6, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &647954088
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 647954086}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 351d6b8577644d599058e76fa02a11c0, type: 3}
m_Name:
m_EditorClassIdentifier:
<Camera>k__BackingField: {fileID: 330585545}
--- !u!114 &647954089
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 647954086}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8dd28652b58c4d689ab3f2f9354d7589, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Installers:
- {fileID: 647954087}
--- !u!4 &647954090
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 647954086}
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!1 &735095186
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 735095188}
- component: {fileID: 735095187}
m_Layer: 0
m_Name: Runtime Network Stats Monitor
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &735095187
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 735095186}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 17737e0516da2445b9b0077ae2bd9b4f, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Visible: 1
m_MaxRefreshRate: 30
<CustomStyleSheet>k__BackingField: {fileID: 0}
<PanelSettingsOverride>k__BackingField: {fileID: 0}
<Position>k__BackingField:
<OverridePosition>k__BackingField: 1
m_PositionLeftToRight: 0
m_PositionTopToBottom: 0
<Configuration>k__BackingField: {fileID: 11400000, guid: 8f1b4e3792d8446399527749cfb591a2, type: 2}
--- !u!4 &735095188
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 735095186}
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!1 &1468139325
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1468139327}
- component: {fileID: 1468139326}
m_Layer: 0
m_Name: ui_console
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1468139326
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1468139325}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ca844a0157054677b2f129fdbf6ddc45, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ConsoleVC: {fileID: 379890222}
m_ToggleAction: {fileID: 11400000, guid: 1c5aabf95d7e5d949af83d0a4c686e95, type: 2}
--- !u!4 &1468139327
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1468139325}
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:
- {fileID: 379890220}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1493735122
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1493735124}
- component: {fileID: 1493735123}
m_Layer: 0
m_Name: dev_tools
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1493735123
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1493735122}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0ea9757c83234daaae0d4227ac495da2, type: 3}
m_Name:
m_EditorClassIdentifier:
m_DebugOverlayView: {fileID: 1809244332}
--- !u!4 &1493735124
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1493735122}
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:
- {fileID: 1809244330}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1809244329
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1809244330}
- component: {fileID: 1809244331}
- component: {fileID: 1809244332}
m_Layer: 0
m_Name: ui_debug_overlay
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1809244330
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1809244329}
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: 1493735124}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1809244331
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1809244329}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 19102, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_PanelSettings: {fileID: 11400000, guid: c4c93f1ef3cc3324696c439305139cbb, type: 2}
m_ParentUI: {fileID: 0}
sourceAsset: {fileID: 9197481963319205126, guid: efa5e4d1b21059c448f8a23fbe41890a, type: 3}
m_SortingOrder: 0
m_WorldSpaceSizeMode: 1
m_WorldSpaceWidth: 1920
m_WorldSpaceHeight: 1080
--- !u!114 &1809244332
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1809244329}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f18f4d0e8d914fdca81f98faf0e1546f, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Document: {fileID: 1809244331}
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 647954090}
- {fileID: 330585546}
- {fileID: 1468139327}
- {fileID: 1493735124}
- {fileID: 599568090}
- {fileID: 735095188}

View File

@@ -0,0 +1,52 @@
using RebootKit.Engine.Main;
using RebootKit.Engine.Simulation;
using UnityEngine;
using UnityEngine.AddressableAssets;
using Logger = RebootKit.Engine.Foundation.Logger;
namespace RebootReality.jelycho {
public class ActorSpawner : Actor {
static readonly Logger s_Logger = new Logger(nameof(ActorSpawner));
[SerializeField] AssetReferenceGameObject m_ActorPrefabReference;
[TriInspector.InfoBox("If empty will use this object transform as spawn point.")]
[SerializeField] Transform[] m_SpawnPoints;
protected override IActorData CreateActorData() {
return new NoActorData();
}
protected override void OnActorCommandServer(ActorCommand actorCommand) {
base.OnActorCommandServer(actorCommand);
if (actorCommand.CommandID == (ushort) ActorSpawnerCommands.SpawnActor) {
(Vector3 spawnPoint, Quaternion spawnRotation) = GetSpawnPoint();
RR.SpawnActor(m_ActorPrefabReference, spawnPoint, spawnRotation);
}
}
public void SpawnActor() {
if (m_ActorPrefabReference == null) {
s_Logger.Error("ActorPrefabReference is not set. Cannot spawn actor.");
return;
}
SendActorCommand((ushort) ActorSpawnerCommands.SpawnActor);
}
(Vector3, Quaternion) GetSpawnPoint() {
if (m_SpawnPoints.Length == 0) {
return (transform.position, transform.rotation);
}
int index = Random.Range(0, m_SpawnPoints.Length);
return (m_SpawnPoints[index].position, m_SpawnPoints[index].rotation);
}
}
public enum ActorSpawnerCommands : ushort {
None = 0x0000,
SpawnActor = 0x0001,
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 96676410d3db4402b69bc504218db929
timeCreated: 1752274642

View File

@@ -7,6 +7,9 @@ using UnityEngine.Events;
namespace RebootReality.jelycho {
public class ButtonActor : Actor, IInteractable {
[SerializeField] Transform m_Graphics;
[SerializeField] float m_CooldownDuration = 0.5f;
DateTime m_LastPressTime;
public UnityEvent pressed = new UnityEvent();
@@ -16,6 +19,12 @@ namespace RebootReality.jelycho {
protected override void OnActorCommandServer(ActorCommand actorCommand) {
if (actorCommand.CommandID == (ushort) ButtonActorCommands.Press) {
if (DateTime.UtcNow - m_LastPressTime < TimeSpan.FromSeconds(m_CooldownDuration)) {
return;
}
m_LastPressTime = DateTime.UtcNow;
SendActorEvent((ushort) ButtonActorEvents.Pressed);
pressed?.Invoke();
}

View File

@@ -0,0 +1,21 @@
using RebootKit.Engine.Simulation;
using Unity.Netcode;
using UnityEngine;
namespace RebootReality.jelycho.Enemies {
public class ZombieActorData : IActorData {
public void Serialize(FastBufferWriter writer) {
}
public void Deserialize(FastBufferReader reader) {
}
}
public class ZombieActor : Actor {
[SerializeField] Animator m_Animator;
protected override IActorData CreateActorData() {
return new ZombieActorData();
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 82c11d5cbdd64c2ab63010901162299e
timeCreated: 1752364002

View File

@@ -60,6 +60,24 @@ namespace RebootReality.jelycho.Items {
s_Logger.Error($"Item {actor.name} is not in the inventory.");
return false;
}
public ItemActor TryDropOne(int slotIndex) {
if (slotIndex < 0 || slotIndex >= m_Items.Length) {
s_Logger.Error($"Slot index {slotIndex} is out of range.");
return null;
}
if (m_Items[slotIndex].Actors.Count == 0) {
s_Logger.Error($"No items in slot {slotIndex} to drop.");
return null;
}
ItemActor actor = m_Items[slotIndex].Actors[0];
m_Items[slotIndex].Actors.RemoveAt(0);
OnItemDropped?.Invoke(actor);
OnSlotUpdated?.Invoke(slotIndex);
return actor;
}
public int GetQuantity(int slotIndex) {
if (slotIndex < 0 || slotIndex >= m_Items.Length) {
@@ -78,7 +96,6 @@ namespace RebootReality.jelycho.Items {
return m_Items[slotIndex].Actors[0];
}
s_Logger.Error($"No items in slot {slotIndex}.");
return null;
}

View File

@@ -1,11 +1,24 @@
using System;
using Unity.Collections;
using System.ComponentModel.DataAnnotations;
using UnityEngine;
namespace RebootReality.jelycho.Items {
public enum ItemType {
Neutral = 0,
Egg = 1,
Sword = 2,
}
[Serializable]
public struct ItemConfig {
public FixedString32Bytes itemID;
public class ItemConfig {
public ItemType itemType = ItemType.Neutral;
public Sprite icon;
[MaxLength(32)] public string characterEquippedMountSlotName = "hand_right";
[Header("Chargeable")]
public bool isChargeable = false;
public float chargeDuration = 0.5f;
public float chargeCooldown = 1.0f;
}
}

View File

@@ -8,6 +8,7 @@ using RebootReality.jelycho.Player.HUD;
using Unity.Collections;
using Unity.Netcode;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.Assertions;
using Logger = RebootKit.Engine.Foundation.Logger;
@@ -23,11 +24,11 @@ namespace RebootReality.jelycho.Main {
public class JelychoGame : Game {
static readonly Logger s_Logger = new Logger(nameof(JelychoGame));
[Header("Player")]
[SerializeField] PlayerController m_PlayerControllerPrefab;
[SerializeField] PlayerActor m_PlayerActorPrefab;
[SerializeField] AssetReferenceGameObject m_PlayerActorPrefab;
readonly List<PlayerState> m_PlayerStates = new List<PlayerState>();
void Awake() { }
@@ -35,18 +36,19 @@ namespace RebootReality.jelycho.Main {
public override void OnDestroy() {
base.OnDestroy();
}
protected override void OnPlayerBecameReady(ulong clientID) {
s_Logger.Info($"Player {clientID} became ready");
PlayerActor actor = Instantiate(m_PlayerActorPrefab);
actor.name = $"PlayerActor_{clientID}";
actor.NetworkObject.SpawnAsPlayerObject(clientID);
if (IsServer) {
PlayerActor actor =
RR.SpawnActor(m_PlayerActorPrefab, Vector3.zero, Quaternion.identity) as PlayerActor;
PlayerState playerState = GetPlayerState(clientID);
Assert.IsNotNull(playerState);
playerState.Actor = actor;
playerState.Controller.SetActorClientRpc(actor.NetworkObjectId);
PlayerState playerState = GetPlayerState(clientID);
Assert.IsNotNull(playerState);
playerState.Actor = actor;
playerState.Controller.PossessActor(actor);
}
}
public override void OnNetworkSpawn() {
@@ -119,7 +121,7 @@ namespace RebootReality.jelycho.Main {
RR.WriteToConsole($" {worldConfigAsset.Config.name}");
}
}
[RCCMD("connect_dev", "Connects to a local server for development purposes")]
public static void ConnectToLocalServer(string[] args) {
RR.WriteToConsole("Connecting to server...");

View File

@@ -1,30 +1,35 @@
using RebootKit.Engine.Main;
using RebootReality.jelycho.Main;
using UnityEngine;
using UnityEngine.UIElements;
namespace RebootReality.jelycho.MainMenu {
public class MainMenuController : MonoBehaviour {
const string k_ButtonPlay = "btn-play";
const string k_ButtonSettings = "btn-settings";
const string k_ButtonQuit = "btn-quit";
const string k_ButtonHost = "rr-menu__main-btn-host";
const string k_ButtonJoinLocalHost = "rr-menu__main-btn-join-localhost";
const string k_ButtonSettings = "rr-menu__main-btn-settings";
const string k_ButtonQuit = "rr-menu__main-btn-quit";
const string k_PanelMain = "panel-main";
const string k_PanelSettings = "panel-settings";
const string k_PanelMain = "rr-menu__panel-main";
const string k_PanelSettings = "rr-menu__panel-settings";
[SerializeField] UIDocument m_Document;
void OnEnable() {
VisualElement root = m_Document.rootVisualElement;
Button playButton = root.Q<Button>(k_ButtonPlay);
Button hostButton = root.Q<Button>(k_ButtonHost);
Button joinLocalhostButton = root.Q<Button>(k_ButtonJoinLocalHost);
Button settingsButton = root.Q<Button>(k_ButtonSettings);
Button quitButton = root.Q<Button>(k_ButtonQuit);
playButton.RegisterCallback<ClickEvent>(e => {
hostButton.RegisterCallback<ClickEvent>(e => {
RR.StartHost();
RR.SetServerWorld("dev");
});
joinLocalhostButton.RegisterCallback<ClickEvent>(e => {
RR.Connect();
});
settingsButton.RegisterCallback<ClickEvent>(e => OpenSettings());
quitButton.RegisterCallback<ClickEvent>(e => Application.Quit());

View File

@@ -1,33 +1,18 @@
using System;
using R3;
using R3;
using RebootKit.Engine.Extensions;
using RebootKit.Engine.Foundation;
using RebootKit.Engine.Main;
using RebootKit.Engine.Simulation;
using RebootKit.Engine.Simulation.Sensors;
using RebootReality.jelycho.Items;
using Unity.Collections;
using Unity.Mathematics;
using Unity.Netcode;
using UnityEngine;
using Logger = RebootKit.Engine.Foundation.Logger;
namespace RebootReality.jelycho.Player {
public struct PlayerActorState : INetworkSerializable {
public Vector3 Position;
public Vector3 Velocity;
public float LookPitch;
public float LookYaw;
public bool IsGrounded;
public void NetworkSerialize<T>(BufferSerializer<T> serializer) where T : IReaderWriter {
serializer.SerializeValue(ref Position);
serializer.SerializeValue(ref Velocity);
serializer.SerializeValue(ref LookPitch);
serializer.SerializeValue(ref LookYaw);
serializer.SerializeValue(ref IsGrounded);
}
}
public class PlayerActor : NetworkBehaviour {
public class PlayerActor : Actor {
static readonly Logger s_Logger = new Logger(nameof(PlayerActor));
[SerializeField] Animator m_Animator;
@@ -73,20 +58,25 @@ namespace RebootReality.jelycho.Player {
[SerializeField] LayerMask m_BeaconPlacementLayerMask = 0;
[SerializeField] float m_BeaconPlacementMaxDistance = 15.0f;
[SerializeField] float m_NormalDotUpThreshold = 0.5f;
[Header("Sensors")]
[SerializeField] GenericSensor<IInteractable> m_InteractablesSensor;
[SerializeField] SingleRaySensor<IInteractable> m_InteractablesSensor;
[Header("Network")]
[SerializeField] float m_MinTeleportDistance = 0.5f;
[SerializeField] float m_ItemPickupDistance = 2.0f;
bool m_IsSetupAsOwner = false;
float m_SyncRemoteStateTimer = 0.0f;
RemotePlayerActorState m_RemoteState;
PlayerActorState m_NetworkState;
[Header("Inventory")]
[SerializeField] int m_InventorySize = 10;
public Inventory Inventory { get; private set; }
ItemActor m_EquippedItem;
public ReactiveProperty<int> SelectedInventorySlot { get; private set; } = new ReactiveProperty<int>(0);
public float3 LookDirection {
@@ -106,26 +96,418 @@ namespace RebootReality.jelycho.Player {
}
}
protected override IActorData CreateActorData() {
return new PlayerActorData { };
}
void Awake() {
Inventory = new Inventory(m_InventorySize);
// @NOTE: By default player actor should be set up as remote
SetupAsRemote();
}
void Start() {
m_CameraSpring.Initialize();
}
void Update() {
if (!IsSpawned) {
void OnEnable() {
Inventory.OnItemPickedUp += OnItemPickedUp;
Inventory.OnItemDropped += OnItemDropped;
}
void OnDisable() {
Inventory.OnItemPickedUp -= OnItemPickedUp;
Inventory.OnItemDropped -= OnItemDropped;
}
//
// @MARK: Actor
//
public override void ServerTick(float deltaTime) {
base.ServerTick(deltaTime);
// Update actor data
// PlayerActorData data = DataAs<PlayerActorData>();
// IsDataDirty = true;
NativeArray<byte> remoteStateData = DataSerializationUtils.Serialize(m_RemoteState);
SendActorEvent((ushort) PlayerActorEvents.UpdatedRemoteState, remoteStateData);
}
public override void ClientTick(float deltaTime) {
base.ClientTick(deltaTime);
if (m_IsSetupAsOwner) {
TickCamera();
UpdateAnimator(m_Locomotion.Velocity);
SenseInteractable();
m_SyncRemoteStateTimer -= deltaTime;
if (m_SyncRemoteStateTimer <= 0.0f) {
m_SyncRemoteStateTimer = 1.0f / RR.TickRate.IndexValue;
RemotePlayerActorState remoteState = new RemotePlayerActorState {
Position = transform.position,
Velocity = m_Locomotion.Velocity,
LookPitch = m_Camera.Pitch,
LookYaw = m_Camera.Yaw,
IsGrounded = m_Locomotion.IsGrounded
};
NativeArray<byte> data = DataSerializationUtils.Serialize(remoteState);
SendActorCommand((ushort) PlayerActorCommands.UpdateRemoteState, data);
}
} else {
InterpolateActorState(deltaTime);
}
TickCharacterRotation();
}
protected override void OnActorCommandServer(ActorCommand actorCommand) {
base.OnActorCommandServer(actorCommand);
// @TODO: SECURITY, Check if commands come from the owner
if (actorCommand.CommandID == (ushort) PlayerActorCommands.UpdateRemoteState) {
RemotePlayerActorState remoteState = new RemotePlayerActorState();
DataSerializationUtils.Deserialize(actorCommand.Data, ref remoteState);
m_RemoteState = remoteState;
} else if (actorCommand.CommandID == (ushort) PlayerActorCommands.PickupItem) {
PlayerActorPickupItemCommand command = new PlayerActorPickupItemCommand();
DataSerializationUtils.Deserialize(actorCommand.Data, ref command);
Actor itemActor = RR.FindSpawnedActor(command.ItemActorID);
if (itemActor is ItemActor item) {
if (math.distancesq(itemActor.transform.position, m_HeadBoneTransform.position) <=
m_ItemPickupDistance * m_ItemPickupDistance) {
if (Inventory.TryPickup(item)) {
s_Logger.Info($"Item {item.name} picked up successfully by player {name}.");
UpdateEquippedItem();
} else {
s_Logger.Info($"Failed to pick up item {item.name}. Inventory is full.");
}
} else {
s_Logger.Info($"Item actor {item.name} is too far away to pick up.");
}
} else {
s_Logger.Error($"Item actor with ID {command.ItemActorID} not found.");
}
} else if (actorCommand.CommandID == (ushort) PlayerActorCommands.SelectItemSlot) {
PlayerActorSelectItemSlotCommand command = new PlayerActorSelectItemSlotCommand();
DataSerializationUtils.Deserialize(actorCommand.Data, ref command);
if (command.SlotIndex < 0 || command.SlotIndex >= Inventory.SlotsCount) {
s_Logger.Error($"Invalid slot index {command.SlotIndex}. Must be between 0 and {Inventory.SlotsCount - 1}.");
return;
}
SelectedInventorySlot.Value = command.SlotIndex;
UpdateEquippedItem();
} else if (actorCommand.CommandID == (ushort) PlayerActorCommands.DropItem) {
PlayerActorDropItemCommand command = new PlayerActorDropItemCommand();
DataSerializationUtils.Deserialize(actorCommand.Data, ref command);
if (command.Count == 1) {
Inventory.TryDropOne(command.InventorySlotIndex);
} else {
s_Logger.Error("DropItem command with count != 1 is not supported yet.");
}
}
}
protected override void OnActorEventClient(ActorEvent actorEvent) {
base.OnActorEventClient(actorEvent);
if (actorEvent.EventID == (ushort) PlayerActorEvents.UpdatedRemoteState) {
RemotePlayerActorState remoteState = new RemotePlayerActorState();
DataSerializationUtils.Deserialize(actorEvent.Data, ref remoteState);
m_RemoteState = remoteState;
} else if (actorEvent.EventID == (ushort) PlayerActorEvents.PrimaryEquippedItemChanged) {
PlayerActorPrimaryEquippedItemChangedEvent itemChangedEvent =
new PlayerActorPrimaryEquippedItemChangedEvent();
DataSerializationUtils.Deserialize(actorEvent.Data, ref itemChangedEvent);
if (itemChangedEvent.ItemActorID == 0) {
m_EquippedItem = null;
} else {
Actor itemActor = RR.FindSpawnedActor(itemChangedEvent.ItemActorID);
if (itemActor is ItemActor item) {
s_Logger.Info($"Primary equipped item changed to {item.name} for player {name}.");
m_EquippedItem = item;
} else {
s_Logger.Error($"Primary equipped item with ID {itemChangedEvent.ItemActorID} not found.");
}
}
}
}
//
// @MARK: Controller API
//
public void SetSprint(bool isSprinting) {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot set sprint state when not set up as owner.");
return;
}
m_Locomotion.SetSprint(isSprinting);
}
public void Jump() {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot jump when not set up as owner.");
return;
}
m_Locomotion.Jump();
}
public void Look(Vector2 input) {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot look when not set up as owner.");
return;
}
m_Camera.Rotate(input.x, input.y);
}
public void SetMoveInput(Vector2 input) {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot set move input when not set up as owner.");
return;
}
if (IsOwner) {
OwnerTick();
} else {
RemoteTick();
float3 direction = Quaternion.AngleAxis(m_Camera.Yaw, Vector3.up) *
new float3(input.x, 0.0f, input.y);
m_Locomotion.SetWishDirection(direction);
}
public void StartDrag() {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot start dragging when not set up as owner.");
return;
}
// Character rotation
GameObject pickedGameObject = m_Camera.Sensor.Sense();
if (pickedGameObject != null && pickedGameObject.TryGetComponent(out Rigidbody rigidbody)) {
m_PhysicsDragger.Grab(rigidbody);
}
}
public void StopDrag() {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot stop dragging when not set up as owner.");
return;
}
m_PhysicsDragger.Drop();
}
public void DropItem() {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot drop item when not set up as owner.");
return;
}
if (m_EquippedItem != null) {
PlayerActorDropItemCommand command = new PlayerActorDropItemCommand {
InventorySlotIndex = SelectedInventorySlot.Value,
Count = 1
};
SendActorCommand((ushort) PlayerActorCommands.DropItem, ref command);
}
}
public void PrimaryAction() {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot perform primary action when not set up as owner.");
return;
}
// if (!IsOwner()) {
// s_Logger.Error("Only the owner can perform primary actions.");
// return;
// }
// if (TryGetBeaconPosition(out Vector3 beaconPosition)) {
// SetAnimatorTriggerRpc(AnimatorParamHashes.Throw);
//
// if (RR.World.Context is WorldContext worldContext) {
// worldContext.BaseManager.TrySpawnBeacon(beaconPosition);
// }
// }
}
public void SecondaryAction() {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot perform secondary action when not set up as owner.");
return;
}
m_Animator.SetTrigger(AnimatorParamHashes.Block);
}
public void Interact() {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot perform interaction when not set up as owner.");
return;
}
if (m_TargetInteractable.Value is ItemActor itemActor) {
Pickup(itemActor);
} else if (m_TargetInteractable.Value is not null) {
m_TargetInteractable.Value.Interact();
// SetAnimatorTriggerRpc(AnimatorParamHashes.Throw);
}
}
//
// @MARK: Owner
//
public void SetupAsOwner() {
m_Camera.enabled = true;
m_Camera.Camera.enabled = true;
m_Locomotion.enabled = true;
if (TryGetComponent(out Rigidbody rbody)) {
rbody.isKinematic = false;
}
m_IsSetupAsOwner = true;
}
void TickCamera() {
// Camera Stuff
m_Camera.Tick();
if (m_Locomotion.IsGrounded &&
m_Locomotion.SpeedXZ >= m_Locomotion.runSpeed * m_EnableCameraBobbingPercentThreshold) {
if (m_Locomotion.IsSprinting) {
m_TargetCameraBobbing = m_SprintCameraBobbing;
} else {
m_TargetCameraBobbing = m_RunCameraBobbing;
}
} else {
m_TargetCameraBobbing = m_IdleCameraBobbing;
}
m_CurrentCameraBobbing = Mathf.MoveTowards(m_CurrentCameraBobbing,
m_TargetCameraBobbing,
m_CameraBobbingTransitionSpeed * Time.deltaTime);
m_Camera.SetBobbing(m_CurrentCameraBobbing);
m_CameraSpring.UpdateSpring(Time.deltaTime,
m_CharacterForwardTransform.up,
m_CharacterForwardTransform.right,
m_CharacterForwardTransform.forward);
}
void SenseInteractable() {
IInteractable interactable = m_InteractablesSensor.Sense();
if (interactable != m_TargetInteractable.Value) {
m_TargetInteractable.Value = interactable;
}
}
//
// @MARK: Remote
//
void SetupAsRemote() {
m_Camera.enabled = false;
m_Camera.Camera.enabled = false;
m_Locomotion.enabled = false;
if (TryGetComponent(out Rigidbody rbody)) {
rbody.isKinematic = true;
}
m_IsSetupAsOwner = false;
}
void InterpolateActorState(float deltaTime) {
Vector3 targetPosition = m_RemoteState.Position;
if ((transform.position - m_RemoteState.Position).sqrMagnitude <
m_MinTeleportDistance * m_MinTeleportDistance) {
targetPosition = Vector3.MoveTowards(transform.position,
m_RemoteState.Position,
m_Locomotion.runSpeed * deltaTime);
}
m_Locomotion.WarpTo(targetPosition);
m_Camera.Pitch = m_RemoteState.LookPitch;
m_Camera.Yaw = m_RemoteState.LookYaw;
UpdateAnimator(m_RemoteState.Velocity);
}
//
// @MARK: Server
//
void OnItemDropped(ItemActor item) {
if (!RR.IsServer()) {
return;
}
UpdateEquippedItem();
item.SetHidden(false);
item.UnMount();
item.transform.position = m_HeadBoneTransform.position + m_HeadBoneTransform.forward * 1.0f;
item.transform.rotation = Quaternion.LookRotation(m_HeadBoneTransform.forward, Vector3.up);
}
void OnItemPickedUp(ItemActor item) {
if (!RR.IsServer()) {
return;
}
item.SetHidden(true);
}
void UpdateEquippedItem() {
if (!RR.IsServer()) {
s_Logger.Error("Only the server can update selected item.");
return;
}
ItemActor itemActor = Inventory.GetFirstItem(SelectedInventorySlot.Value);
if (itemActor == m_EquippedItem) {
return;
}
if (m_EquippedItem != null) {
m_EquippedItem.SetHidden(true);
}
m_EquippedItem = itemActor;
if (m_EquippedItem != null) {
m_EquippedItem.SetHidden(false);
m_EquippedItem.MountTo(this, "hand_right");
}
PlayerActorPrimaryEquippedItemChangedEvent itemChangedEvent =
new PlayerActorPrimaryEquippedItemChangedEvent {
ItemActorID = m_EquippedItem != null ? m_EquippedItem.ActorID : 0
};
SendActorEvent((ushort) PlayerActorEvents.PrimaryEquippedItemChanged, ref itemChangedEvent);
}
public void WarpTo(Vector3 position) {
if (!RR.IsServer()) {
s_Logger.Error("Only the server can warp players.");
return;
}
m_Locomotion.WarpTo(position);
}
//
// @MARK: Common
//
void TickCharacterRotation() {
float3 targetCharacterForward = math.normalize(LookDirection.With(y: 0.0f));
float3 currentCharacterForward = math.normalize(m_CharacterForwardTransform.forward.With(y: 0.0f));
@@ -167,220 +549,9 @@ namespace RebootReality.jelycho.Player {
m_HeadAimTargetTransform.position = (float3) m_HeadBoneTransform.position + LookDirection * 5.0f;
}
// @MARK: NetworkBehaviour callbacks
public override void OnNetworkSpawn() {
base.OnNetworkSpawn();
if (IsServer) {
Inventory.OnItemPickedUp += OnItemPickedUp;
Inventory.OnItemDropped += OnItemDropped;
}
if (IsOwner) {
SetupAsOwner();
RR.ClientTick += SyncActorState;
} else {
SetupAsRemote();
}
}
public override void OnNetworkDespawn() {
base.OnNetworkDespawn();
if (IsServer) {
Inventory.OnItemPickedUp -= OnItemPickedUp;
Inventory.OnItemDropped -= OnItemDropped;
}
if (IsOwner) {
RR.ClientTick -= SyncActorState;
}
}
public override void OnGainedOwnership() {
base.OnGainedOwnership();
SetupAsOwner();
}
public override void OnLostOwnership() {
base.OnLostOwnership();
SetupAsRemote();
}
// @MARK: API to be used by owner
public void SetSprint(bool isSprinting) {
m_Locomotion.SetSprint(isSprinting);
}
public void Jump() {
m_Locomotion.Jump();
}
public void Look(Vector2 input) {
m_Camera.Rotate(input.x, input.y);
}
public void SetMoveInput(Vector2 input) {
float3 direction = Quaternion.AngleAxis(m_Camera.Yaw, Vector3.up) *
new float3(input.x, 0.0f, input.y);
m_Locomotion.SetWishDirection(direction);
}
public void StartDrag() {
GameObject pickedGameObject = m_Camera.Sensor.Sense();
if (pickedGameObject != null && pickedGameObject.TryGetComponent(out Rigidbody rigidbody)) {
m_PhysicsDragger.Grab(rigidbody);
}
}
public void StopDrag() {
m_PhysicsDragger.Drop();
}
public void PrimaryAction() {
if (!IsOwner) {
s_Logger.Error("Only the owner can perform primary actions.");
return;
}
// if (TryGetBeaconPosition(out Vector3 beaconPosition)) {
// SetAnimatorTriggerRpc(AnimatorParamHashes.Throw);
//
// if (RR.World.Context is WorldContext worldContext) {
// worldContext.BaseManager.TrySpawnBeacon(beaconPosition);
// }
// }
}
public void SecondaryAction() {
if (!IsOwner) {
s_Logger.Error("Only the owner can perform secondary actions.");
return;
}
m_Animator.SetTrigger(AnimatorParamHashes.Block);
}
public void Interact() {
if (!IsOwner) {
s_Logger.Error("Only the owner can perform interactions.");
return;
}
if (m_TargetInteractable.Value is ItemActor itemActor) {
Pickup(itemActor);
} else if (m_TargetInteractable.Value is not null) {
m_TargetInteractable.Value.Interact();
SetAnimatorTriggerRpc(AnimatorParamHashes.Throw);
}
}
// @MARK: Owner
void SetupAsOwner() {
m_Camera.enabled = true;
m_Camera.Camera.enabled = true;
m_Locomotion.enabled = true;
if (TryGetComponent(out Rigidbody rbody)) {
rbody.isKinematic = false;
}
}
void OwnerTick() {
// Camera Stuff
m_Camera.Tick();
if (m_Locomotion.IsGrounded &&
m_Locomotion.SpeedXZ >= m_Locomotion.runSpeed * m_EnableCameraBobbingPercentThreshold) {
if (m_Locomotion.IsSprinting) {
m_TargetCameraBobbing = m_SprintCameraBobbing;
} else {
m_TargetCameraBobbing = m_RunCameraBobbing;
}
} else {
m_TargetCameraBobbing = m_IdleCameraBobbing;
}
m_CurrentCameraBobbing = Mathf.MoveTowards(m_CurrentCameraBobbing,
m_TargetCameraBobbing,
m_CameraBobbingTransitionSpeed * Time.deltaTime);
m_Camera.SetBobbing(m_CurrentCameraBobbing);
m_CameraSpring.UpdateSpring(Time.deltaTime,
m_CharacterForwardTransform.up,
m_CharacterForwardTransform.right,
m_CharacterForwardTransform.forward);
UpdateAnimator(m_Locomotion.Velocity);
IInteractable interactable = m_InteractablesSensor.Sense();
if (interactable != m_TargetInteractable.Value) {
m_TargetInteractable.Value = interactable;
}
}
void SyncActorState() {
PlayerActorState state = new PlayerActorState {
Position = transform.position,
LookPitch = m_Camera.Pitch,
LookYaw = m_Camera.Yaw,
IsGrounded = m_Locomotion.IsGrounded,
Velocity = m_Locomotion.Velocity
};
UpdatePlayerStateRpc(state);
}
[Rpc(SendTo.NotMe)]
void UpdatePlayerStateRpc(PlayerActorState state) {
if (IsOwner) {
return;
}
m_NetworkState = state;
}
// @MARK: Remote
void SetupAsRemote() {
m_Camera.enabled = false;
m_Camera.Camera.enabled = false;
m_Locomotion.enabled = false;
if (TryGetComponent(out Rigidbody rbody)) {
rbody.isKinematic = true;
}
}
void RemoteTick() {
Vector3 targetPosition = m_NetworkState.Position;
if ((transform.position - m_NetworkState.Position).sqrMagnitude <
m_MinTeleportDistance * m_MinTeleportDistance) {
targetPosition = Vector3.MoveTowards(transform.position,
m_NetworkState.Position,
m_Locomotion.runSpeed * Time.deltaTime);
}
m_Locomotion.WarpTo(targetPosition);
m_Camera.Pitch = m_NetworkState.LookPitch;
m_Camera.Yaw = m_NetworkState.LookYaw;
UpdateAnimator(m_NetworkState.Velocity);
}
// @MARK: Server
void OnItemDropped(ItemActor item) {
item.SetHidden(false);
}
void OnItemPickedUp(ItemActor item) {
item.SetHidden(true);
}
//
// @MARK: Sensors
//
bool TryGetBeaconPosition(out Vector3 position) {
Ray ray = new Ray(m_Camera.Camera.transform.position, m_Camera.Camera.transform.forward);
if (Physics.Raycast(ray, out RaycastHit hit, m_BeaconPlacementMaxDistance, m_BeaconPlacementLayerMask) &&
@@ -393,69 +564,57 @@ namespace RebootReality.jelycho.Player {
return false;
}
// @MARK: Networked methods
[ServerRpc(RequireOwnership = false)]
public void WarpToServerRpc(Vector3 position) {
WarpToClientRpc(position);
}
[ClientRpc]
void WarpToClientRpc(Vector3 position) {
if (IsOwner) {
m_Locomotion.WarpTo(position);
} else {
transform.position = position;
}
}
//
// @MARK: Inventory
//
void Pickup(ItemActor actor) {
PickupItemRpc(actor.ActorID);
}
[Rpc(SendTo.Server)]
void PickupItemRpc(ulong actorID) {
Actor actor = RR.FindSpawnedActor(actorID);
if (actor is null) {
s_Logger.Error($"Actor with ID {actorID} not found for pickup.");
if (!m_IsSetupAsOwner) {
s_Logger.Error("Cannot pick up items when not set up as owner.");
return;
}
if (actor is ItemActor itemActor) {
if (Inventory.TryPickup(itemActor)) {
SetAnimatorTriggerRpc(AnimatorParamHashes.Attack);
}
}
PlayerActorPickupItemCommand command = new PlayerActorPickupItemCommand {
ItemActorID = actor.ActorID
};
SendActorCommand((ushort) PlayerActorCommands.PickupItem, ref command);
}
public void SelectPreviousItemSlot() {
if (!IsOwner) {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Only the owner can change inventory selection.");
return;
}
if (SelectedInventorySlot.Value > 0) {
SelectedInventorySlot.Value--;
} else {
SelectedInventorySlot.Value = Inventory.SlotsCount - 1;
}
PlayerActorSelectItemSlotCommand command = new PlayerActorSelectItemSlotCommand();
command.SlotIndex = SelectedInventorySlot.Value;
SendActorCommand((ushort) PlayerActorCommands.SelectItemSlot, ref command);
}
public void SelectNextItemSlot() {
if (!IsOwner) {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Only the owner can change inventory selection.");
return;
}
if (SelectedInventorySlot.Value < Inventory.SlotsCount - 1) {
SelectedInventorySlot.Value++;
} else {
SelectedInventorySlot.Value = 0;
}
PlayerActorSelectItemSlotCommand command = new PlayerActorSelectItemSlotCommand();
command.SlotIndex = SelectedInventorySlot.Value;
SendActorCommand((ushort) PlayerActorCommands.SelectItemSlot, ref command);
}
public void SelectItemSlot(int slotIndex) {
if (!IsOwner) {
if (!m_IsSetupAsOwner) {
s_Logger.Error("Only the owner can change inventory selection.");
return;
}
@@ -466,13 +625,15 @@ namespace RebootReality.jelycho.Player {
}
SelectedInventorySlot.Value = slotIndex;
PlayerActorSelectItemSlotCommand command = new PlayerActorSelectItemSlotCommand();
command.SlotIndex = SelectedInventorySlot.Value;
SendActorCommand((ushort) PlayerActorCommands.SelectItemSlot, ref command);
}
//
// @MARK: Animations
[Rpc(SendTo.Everyone)]
void SetAnimatorTriggerRpc(int hash) {
m_Animator.SetTrigger(hash);
}
//
struct AnimatorParamHashes {
public static readonly int VelocityForwardNormalized = Animator.StringToHash("VelocityForwardNormalized");
@@ -507,4 +668,114 @@ namespace RebootReality.jelycho.Player {
m_Animator.SetInteger(AnimatorParamHashes.Holding, 1);
}
}
public class PlayerActorData : IActorData {
public void Serialize(FastBufferWriter writer) { }
public void Deserialize(FastBufferReader reader) { }
}
public struct RemotePlayerActorState : IActorData {
public Vector3 Position;
public Vector3 Velocity;
public float LookPitch;
public float LookYaw;
public bool IsGrounded;
public void Serialize(FastBufferWriter writer) {
writer.WriteValue(Position);
writer.WriteValue(Velocity);
writer.WriteValue(LookPitch);
writer.WriteValue(LookYaw);
writer.WriteValue(IsGrounded);
}
public void Deserialize(FastBufferReader reader) {
reader.ReadValue(out Position);
reader.ReadValue(out Velocity);
reader.ReadValue(out LookPitch);
reader.ReadValue(out LookYaw);
reader.ReadValue(out IsGrounded);
}
}
// @MARK: Player Actor Commands
enum PlayerActorCommands : ushort {
None = 0x0000,
UpdateRemoteState = 0x0001,
PickupItem = 0x0002,
DropItem = 0x0003,
EquipItem = 0x0004,
SelectItemSlot = 0x0005,
}
struct PlayerActorPickupItemCommand : IActorData {
public ulong ItemActorID;
public void Serialize(FastBufferWriter writer) {
writer.WriteValue(ItemActorID);
}
public void Deserialize(FastBufferReader reader) {
reader.ReadValue(out ItemActorID);
}
}
struct PlayerActorDropItemCommand : IActorData {
public int InventorySlotIndex;
public int Count;
public void Serialize(FastBufferWriter writer) {
writer.WriteValue(InventorySlotIndex);
writer.WriteValue(Count);
}
public void Deserialize(FastBufferReader reader) {
reader.ReadValue(out InventorySlotIndex);
reader.ReadValue(out Count);
}
}
struct PlayerActorEquipItemCommand : IActorData {
public int InventorySlotIndex;
public void Serialize(FastBufferWriter writer) {
writer.WriteValue(InventorySlotIndex);
}
public void Deserialize(FastBufferReader reader) {
reader.ReadValue(out InventorySlotIndex);
}
}
struct PlayerActorSelectItemSlotCommand : IActorData {
public int SlotIndex;
public void Serialize(FastBufferWriter writer) {
writer.WriteValue(SlotIndex);
}
public void Deserialize(FastBufferReader reader) {
reader.ReadValue(out SlotIndex);
}
}
// @MARK: Player Actor Events
enum PlayerActorEvents : ushort {
None = 0x0000,
PrimaryEquippedItemChanged = 0x0001,
UpdatedRemoteState = 0x0002,
}
struct PlayerActorPrimaryEquippedItemChangedEvent : IActorData {
public ulong ItemActorID;
public void Serialize(FastBufferWriter writer) {
writer.WriteValue(ItemActorID);
}
public void Deserialize(FastBufferReader reader) {
reader.ReadValue(out ItemActorID);
}
}
}

View File

@@ -2,11 +2,10 @@
using R3;
using RebootKit.Engine.Foundation;
using RebootKit.Engine.Main;
using RebootKit.Engine.Simulation;
using RebootReality.jelycho.Player.HUD;
using Unity.Mathematics;
using Unity.Netcode;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.InputSystem;
using Logger = RebootKit.Engine.Foundation.Logger;
@@ -49,49 +48,48 @@ namespace RebootReality.jelycho.Player {
}
}
[ClientRpc]
public void SetActorClientRpc(ulong networkObjectID) {
if (NetworkManager.Singleton.SpawnManager.SpawnedObjects.TryGetValue(networkObjectID,
out NetworkObject networkObject)) {
m_Actor = networkObject.GetComponent<PlayerActor>();
s_Logger.Info($"Found Player Actor NetworkObject ID: {networkObjectID}");
protected override void OnPossessActor(Actor actor) {
if (actor is PlayerActor playerActor) {
m_Actor = playerActor;
} else {
s_Logger.Error($"Failed to find PlayerActor with NetworkObject ID: {networkObjectID}");
m_Actor = null;
}
if (m_Actor is null) {
s_Logger.Error($"Tried to possess non-PlayerActor: {actor.GetType().Name}");
return;
}
if (IsServer) {
if (RR.World.Context is WorldContext worldContext) {
m_Actor.WarpToServerRpc(worldContext.PlayerSpawnPoint.position);
}
}
if (IsOwner) {
m_Actor.SetupAsOwner();
m_OwnerActorDisposableBag.Dispose();
m_OwnerActorDisposableBag = new DisposableBag();
m_Actor.TargetInteractable.Subscribe(interactable => {
if (m_TargetInteractableLabelDisposable != null) {
m_TargetInteractableLabelDisposable.Dispose();
m_TargetInteractableLabelDisposable = null;
}
if (interactable is MonoBehaviour mb) {
if (interactable is Actor interactableActor) {
m_TargetInteractableLabelDisposable =
m_HUD.ObjectsLabels.CreateLabel(mb.transform, mb.name);
m_HUD.ObjectsLabels.CreateLabel(interactableActor.transform,
interactableActor.ActorName);
}
})
.AddTo(ref m_OwnerActorDisposableBag);
m_HUD.SetPlayerActor(m_Actor);
}
if (IsServer) {
if (RR.World.Context is WorldContext worldContext) {
m_Actor.WarpTo(worldContext.PlayerSpawnPoint.position);
}
}
}
[ClientRpc]
public void SetNullActorClientRpc() {
protected override void OnUnpossessActor(Actor actor) {
base.OnUnpossessActor(actor);
m_OwnerActorDisposableBag.Dispose();
m_OwnerActorDisposableBag = new DisposableBag();
m_Actor = null;
@@ -126,6 +124,10 @@ namespace RebootReality.jelycho.Player {
m_Actor.StopDrag();
}
if (m_Config.dropItemActionReference.action.WasReleasedThisFrame()) {
m_Actor.DropItem();
}
if (m_Config.primaryActionReference.action.WasReleasedThisFrame()) {
m_Actor.PrimaryAction();
}
@@ -137,7 +139,7 @@ namespace RebootReality.jelycho.Player {
if (m_Config.interactActionReference.action.WasReleasedThisFrame()) {
m_Actor.Interact();
}
for (int i = 0; i < m_Config.inventorySlotSelectActionReferences.Length; i++) {
if (m_Config.inventorySlotSelectActionReferences[i].action.WasReleasedThisFrame()) {
m_Actor.SelectItemSlot(i);
@@ -163,10 +165,11 @@ namespace RebootReality.jelycho.Player {
public InputActionReference jumpActionReference;
public InputActionReference sprintActionReference;
public InputActionReference dragObjectActionReference;
public InputActionReference dropItemActionReference;
public InputActionReference primaryActionReference;
public InputActionReference secondaryActionReference;
public InputActionReference interactActionReference;
public InputActionReference[] inventorySlotSelectActionReferences;
public InputActionReference inventorySlotChangeActionReference;
}

View File

@@ -97,13 +97,9 @@ namespace RebootReality.jelycho.Player {
}
GUI.Label(new Rect(0, 0, Screen.width, Screen.height),
$"Wish Direction: {m_WishDir}\n" +
$"Is Grounded: {m_Motor.GroundingStatus.IsStableOnGround}\n" +
$"Is Jump Requested: {m_IsJumpRequested}\n" +
$"Is Grounded: {m_Motor.GroundingStatus.IsStableOnGround.ToString()}\n" +
$"Motor Velocity: {m_Motor.Velocity}, magnitude: {m_Motor.Velocity.magnitude}\n" +
$"Motor Base Velocity: {m_Motor.BaseVelocity}, magnitude: {m_Motor.BaseVelocity.magnitude}\n" +
$"Last Velocity: {m_LastVelocity}, magnitude: {math.length(m_LastVelocity)}\n" +
$"XZ Last Velocity: {m_LastVelocity.With(y: 0.0f).magnitude}",
$"XZ Motor Velocity: {m_Motor.Velocity.With(y: 0.0f).magnitude}",
s_debugLabelStyle);
}

View File

@@ -4,7 +4,7 @@ using UnityEngine;
namespace RebootReality.jelycho.Player {
[Serializable]
public struct GenericSensor : ISensor {
public struct SingleRaySensor : ISensor {
[SerializeField] Transform m_Origin;
[SerializeField] LayerMask m_LayerMask;
[SerializeField] float m_MaxDistance;
@@ -21,7 +21,7 @@ namespace RebootReality.jelycho.Player {
}
[Serializable]
public struct GenericSensor<T> : ISensor<T> where T : class {
public class SingleRaySensor<T> : ISensor<T> where T : class {
[SerializeField] Transform m_Origin;
[SerializeField] LayerMask m_LayerMask;
[SerializeField] float m_MaxDistance;

View File

@@ -12,7 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 19101, guid: 0000000000000000e000000000000000, type: 0}
m_Name: panel_main_menu
m_EditorClassIdentifier:
themeUss: {fileID: -4733365628477956816, guid: 5dd55e8f9f3419144b6d6fc3fcc478d0, type: 3}
themeUss: {fileID: -4733365628477956816, guid: a7c99a92cc7eadd48a1db98ac4325cde, type: 3}
m_DisableNoThemeWarning: 0
m_TargetTexture: {fileID: 0}
m_RenderMode: 0

View File

@@ -187,14 +187,75 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 202632437}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 1.544, z: 2.299}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 2056930096}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!1001 &418187980
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 611922230303722876, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_Name
value: beacon_0 (1)
objectReference: {fileID: 0}
- target: {fileID: 1553563146403112987, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: <ActorID>k__BackingField
value: 4895188804959898491
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.x
value: 2.79383
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.y
value: 0.0007227367
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.z
value: -5.9512157
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
--- !u!1 &540973261
GameObject:
m_ObjectHideFlags: 0
@@ -240,6 +301,476 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &730057281
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 730057283}
- component: {fileID: 730057282}
m_Layer: 0
m_Name: RainbowHierarchyRuleset
m_TagString: EditorOnly
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &730057282
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 730057281}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 848a85510b808ee4994e553f35ca73bd, type: 3}
m_Name:
m_EditorClassIdentifier:
Rules:
- Type: 0
Name:
GameObject: {fileID: 2057166759}
Ordinal: 0
Priority: 0
IconType: 0
IconTexture: {fileID: 0}
IsIconRecursive: 0
BackgroundType: 9000
BackgroundTexture: {fileID: 0}
IsBackgroundRecursive: 0
IsHidden: 0
--- !u!4 &730057283
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 730057281}
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!1001 &886831761
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 611922230303722876, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_Name
value: beacon_0
objectReference: {fileID: 0}
- target: {fileID: 1553563146403112987, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: <ActorID>k__BackingField
value: 5043347495284350053
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.x
value: 5.861919
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.y
value: 0.0007227367
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.z
value: -17.38
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
--- !u!1 &1200843806
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1200843810}
- component: {fileID: 1200843809}
- component: {fileID: 1200843808}
- component: {fileID: 1200843807}
m_Layer: 0
m_Name: Plane
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!64 &1200843807
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1200843806}
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: 5
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &1200843808
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1200843806}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a1e17f3aaa1b87645ace00876ad676c8, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1200843809
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1200843806}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &1200843810
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1200843806}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 50, y: 1, z: 50}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1421980546
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1421980549}
- component: {fileID: 1421980548}
- component: {fileID: 1421980547}
m_Layer: 0
m_Name: Spot Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1421980547
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1421980546}
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!108 &1421980548
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1421980546}
m_Enabled: 1
serializedVersion: 11
m_Type: 0
m_Color: {r: 0.40792987, g: 0.8396226, b: 0.44993114, a: 1}
m_Intensity: 57.24
m_Range: 11.459797
m_SpotAngle: 85.5729
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: 0
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: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ForceVisible: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
m_LightUnit: 1
m_LuxAtDistance: 1
m_EnableSpotReflector: 1
--- !u!4 &1421980549
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1421980546}
serializedVersion: 2
m_LocalRotation: {x: 0.9449387, y: -0, z: -0, w: 0.32724756}
m_LocalPosition: {x: 0, y: 5.183, z: 4.808}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 141.796, y: 0, z: 0}
--- !u!1001 &1590418437
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -6995192488338000116, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: <ActorID>k__BackingField
value: 4992953661484919655
objectReference: {fileID: 0}
- target: {fileID: 6086846679135428685, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_Name
value: a_player
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7761779135599839476, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: be292ae0883a3be4090cdc42a4c7c131, type: 3}
--- !u!1001 &1653642626
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 611922230303722876, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_Name
value: beacon_0 (2)
objectReference: {fileID: 0}
- target: {fileID: 1553563146403112987, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: <ActorID>k__BackingField
value: 4778850149689214925
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.x
value: -7.366891
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.y
value: 0.0007227367
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalPosition.z
value: -13.436969
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5368312062609190479, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 2fb503c7c7d54464f9bc16d97113b9e8, type: 3}
--- !u!1 &1790220787
GameObject:
m_ObjectHideFlags: 0
@@ -463,6 +994,37 @@ Transform:
m_Children: []
m_Father: {fileID: 202632439}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2057166759
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2057166760}
m_Layer: 0
m_Name: environment
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2057166760
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2057166759}
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!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
@@ -471,3 +1033,11 @@ SceneRoots:
- {fileID: 1913189504}
- {fileID: 202632439}
- {fileID: 1790220789}
- {fileID: 730057283}
- {fileID: 2057166760}
- {fileID: 1200843810}
- {fileID: 886831761}
- {fileID: 418187980}
- {fileID: 1653642626}
- {fileID: 1590418437}
- {fileID: 1421980549}

View File

@@ -1,5 +1,51 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-8602636236517020801
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: 2
gaussianStart:
m_OverrideState: 0
m_Value: 10
gaussianEnd:
m_OverrideState: 0
m_Value: 30
gaussianMaxRadius:
m_OverrideState: 0
m_Value: 1
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
@@ -14,6 +60,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
components:
- {fileID: 6626153305238109871}
- {fileID: -8602636236517020801}
--- !u!114 &6626153305238109871
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -32,10 +79,10 @@ MonoBehaviour:
m_Value: 1
threshold:
m_OverrideState: 1
m_Value: 0.64
m_Value: 0.9
intensity:
m_OverrideState: 1
m_Value: 9.35
m_Value: 1
scatter:
m_OverrideState: 0
m_Value: 0.7

View File

@@ -0,0 +1,13 @@
@import url("/Assets/UI Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss");
VisualElement {}
.main-menu-btn {
color: white;
font-size: 48px;
background-color: rgba(0, 0, 0, 0.5);
border-width: 0;
margin-left: 12px;
margin-right: 12px;
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a7c99a92cc7eadd48a1db98ac4325cde
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0

View File

@@ -1,14 +1,15 @@
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<engine:VisualElement name="root" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0.77);">
<engine:VisualElement name="panel-main" style="background-color: rgba(0, 0, 0, 0.25); width: 100%; height: 100%; align-items: center;">
<engine:VisualElement name="Logo" style="flex-grow: 1; width: 512px; height: 512px; background-image: url(&quot;project://database/Assets/RebootKit/Runtime/Engine/core_assets/logo/RR_Logo_Plain_4k.png?fileID=2800000&amp;guid=b6b4948176bf2744fad63f0df242f185&amp;type=3#RR_Logo_Plain_4k&quot;); transition-duration: 0.5s; margin-top: 100px; margin-bottom: 0; margin-right: 0; margin-left: 0; max-height: 512px; max-width: 512px;" />
<engine:VisualElement name="Buttons" style="flex-grow: 1; width: 1000px; padding-bottom: 0; justify-content: space-evenly; height: 216px; max-height: 300px; margin-top: 32px;">
<engine:Button text="Play" name="btn-play" />
<engine:Button text="Settings" name="btn-settings" />
<engine:Button text="Quit" name="btn-quit" />
<engine:VisualElement name="rr-menu__panel-main" style="background-color: rgba(0, 0, 0, 0.25); width: 100%; height: 100%; align-items: center;">
<engine:VisualElement name="rr-menu__logo" style="flex-grow: 1; width: 128px; height: 128px; background-image: url(&quot;project://database/Assets/RebootKit/Runtime/Engine/core_assets/logo/RR_Logo_Plain_4k.png?fileID=2800000&amp;guid=b6b4948176bf2744fad63f0df242f185&amp;type=3#RR_Logo_Plain_4k&quot;); transition-duration: 0.5s; margin-top: 0; margin-bottom: 0; margin-right: 0; margin-left: 0; max-height: 128px; max-width: 128px; position: absolute; left: 0; top: auto; bottom: 0; -unity-background-image-tint-color: rgba(255, 255, 255, 0.1);" />
<engine:VisualElement name="rr-menu__buttons" style="position: absolute; bottom: 16px; width: auto; margin-right: 16px; margin-left: 16px; height: auto; max-width: none; flex-direction: row;">
<engine:Button text="Host" name="rr-menu__main-btn-host" class="main-menu-btn" />
<engine:Button text="Join (localhost)" name="rr-menu__main-btn-join-localhost" class="main-menu-btn" />
<engine:Button text="Settings" name="rr-menu__main-btn-settings" class="main-menu-btn" />
<engine:Button text="Quit" name="rr-menu__main-btn-quit" class="main-menu-btn" />
</engine:VisualElement>
</engine:VisualElement>
<engine:VisualElement name="panel-settings" style="flex-grow: 1; width: 100%; height: 100%;">
<engine:VisualElement name="rr-menu__panel-settings" style="flex-grow: 1; width: 100%; height: 100%; display: none;">
<engine:Button text="Button" name="btn-back" />
</engine:VisualElement>
</engine:VisualElement>

View File

@@ -20,8 +20,8 @@ Material:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: m_beacon_egg
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Name: m_beacon_egg_liquid
m_Shader: {fileID: -6465566751694194690, guid: ac414276d5198d14da1b8fc6ebdb9494, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
@@ -30,8 +30,7 @@ Material:
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
stringTagMap: {}
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
@@ -117,11 +116,13 @@ Material:
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueControl: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _Speed: 0.2
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
@@ -132,5 +133,6 @@ Material:
- _Color: {r: 0.6558154, g: 0.745283, b: 0.29881626, a: 1}
- _EmissionColor: {r: 0.043091122, g: 0.0070683784, b: 0.1152689, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Tint: {r: 0.38974333, g: 0, b: 0.6415094, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1

View File

@@ -0,0 +1,140 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-8522174566643758713
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 9
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: m_beacon_egg_plant
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _ALPHATEST_ON
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2450
stringTagMap:
RenderType: TransparentCutout
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 1
- _AlphaToMask: 1
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 1
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueControl: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.145
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _Speed: 0.2
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.48469675, g: 0.5660378, b: 0.1628693, a: 0}
- _Color: {r: 0.4846967, g: 0.5660378, b: 0.16286927, a: 0}
- _EmissionColor: {r: 0.043091122, g: 0.0070683784, b: 0.1152689, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Tint: {r: 0.43867922, g: 0.56418276, b: 1, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 13561ecbc8acf00469a7962ce8d6ccd3
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: ac414276d5198d14da1b8fc6ebdb9494
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}

View File

@@ -29,7 +29,36 @@ ModelImporter:
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
clipAnimations:
- serializedVersion: 16
name: Swim
takeName: Swim
internalID: 5414490534771693905
firstFrame: 0
lastFrame: 999
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 1
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
isReadable: 0
meshes:
lODScreenPercentages: []
@@ -89,7 +118,7 @@ ModelImporter:
legStretch: 0.05
feetSpacing: 0
globalScale: 0.06
rootMotionBoneName:
rootMotionBoneName: Bone
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
@@ -97,7 +126,7 @@ ModelImporter:
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
avatarSetup: 1
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0

View File

@@ -0,0 +1,95 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1101 &-6039953695800124374
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 0}
m_Solo: 0
m_Mute: 0
m_IsExit: 1
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.984985
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1107 &-4250284614497248342
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -344849812335720734}
m_Position: {x: 437.5, y: 149.5, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -344849812335720734}
--- !u!1102 &-344849812335720734
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Swim
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -6039953695800124374}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 5414490534771693905, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: animator_Beacon_Seed_Embryo
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -4250284614497248342}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8ba89025037c7f946a34330013eddeeb
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,137 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: m_beacon_seed_embryo
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 2
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 0
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.6792453, g: 0.3124041, b: 0.09291565, a: 1}
- _Color: {r: 0.6792453, g: 0.31240407, b: 0.09291562, a: 1}
- _EmissionColor: {r: 50.512897, g: 9.292468, b: 9.292468, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!114 &4957194442633994768
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 9

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ebd2879834893f64fa3aa6f0442aff15
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,5 +1,6 @@
fileFormatVersion: 2
guid: 99c9720ab356a0642a771bea13969a05
guid: ac6e17d52255d5d47a0e00c3a2b836df
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:

View File

@@ -0,0 +1,5 @@
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<engine:VisualElement style="flex-grow: 1;">
<engine:Label text="ver. 0.1.0 (RR_DEBUG)" name="rr-dev__version_label" style="position: absolute; right: 0; bottom: 0; -unity-text-align: upper-right; font-size: 14px; -unity-font-style: bold; -unity-font-definition: url(&quot;project://database/Assets/TextMesh%20Pro/Fonts/LiberationSans.ttf?fileID=12800000&amp;guid=e3265ab4bf004d28a9537516768c1c75&amp;type=3#LiberationSans&quot;); color: rgba(255, 255, 255, 0.7); -unity-text-outline-width: 1px; -unity-text-outline-color: rgba(0, 0, 0, 0.99); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.59);" />
</engine:VisualElement>
</engine:UXML>

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: c2f32d01bf5f9d644aee3c2a41b14a66
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}

File diff suppressed because it is too large Load Diff

View File

@@ -1,152 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5935223051646499148
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3087783944934017836}
- component: {fileID: 7659908188926375571}
- component: {fileID: 8828257924038919546}
m_Layer: 0
m_Name: actor_zombie
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3087783944934017836
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5935223051646499148}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -1.41, y: 0.5, z: 4.31}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4564832037225125545}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7659908188926375571
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5935223051646499148}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: efc25d13716540beb6fc3f803e94385e, type: 3}
m_Name:
m_EditorClassIdentifier:
<ActorGuid>k__BackingField:
A: 3207044454
B: 1180533930
C: 682404538
D: 3278378171
m_NavMeshAgent: {fileID: 8828257924038919546}
m_Animator: {fileID: 7618303149670763731}
--- !u!195 &8828257924038919546
NavMeshAgent:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5935223051646499148}
m_Enabled: 1
m_AgentTypeID: 0
m_Radius: 0.22
m_Speed: 3.5
m_Acceleration: 8
avoidancePriority: 50
m_AngularSpeed: 120
m_StoppingDistance: 0.1
m_AutoTraverseOffMeshLink: 1
m_AutoBraking: 1
m_AutoRepath: 1
m_Height: 1.79
m_BaseOffset: 0
m_WalkableMask: 4294967295
m_ObstacleAvoidanceType: 4
--- !u!1001 &4094673592508035394
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 3087783944934017836}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_Name
value: Y Bot@T-Pose
objectReference: {fileID: 0}
- target: {fileID: 5866666021909216657, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: ed07376a401151c47a47c0dfb496fc99, type: 2}
- target: {fileID: 5866666021909216657, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
propertyPath: m_ApplyRootMotion
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
--- !u!4 &4564832037225125545 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
m_PrefabInstance: {fileID: 4094673592508035394}
m_PrefabAsset: {fileID: 0}
--- !u!95 &7618303149670763731 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 5866666021909216657, guid: 5bbd4cdbafde87d49885adfbdd79e3dd, type: 3}
m_PrefabInstance: {fileID: 4094673592508035394}
m_PrefabAsset: {fileID: 0}

View File

View File

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 105 KiB

View File

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB

View File

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 129 KiB

View File

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 136 KiB

View File

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 134 KiB

View File

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 161 KiB

View File

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 161 KiB

View File

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View File

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View File

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View File

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View File

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 131 KiB

View File

@@ -12,7 +12,7 @@ GameObject:
- component: {fileID: 3623051023707969355}
- component: {fileID: 695493513755002537}
- component: {fileID: 3445042364824966478}
m_Layer: 0
m_Layer: 8
m_Name: item_dagger
m_TagString: Untagged
m_Icon: {fileID: 0}
@@ -49,43 +49,20 @@ MonoBehaviour:
m_EditorClassIdentifier:
<SourceActorPath>k__BackingField:
<ActorID>k__BackingField: 4851955581397251236
m_ActorName:
m_ActorName: DEV Dagger
actorRigidbody: {fileID: 695493513755002537}
m_OverrideActorColliders: []
m_SetKinematicOnMount: 1
m_DisableCollidersOnMount: 1
transformSyncMode: 59
m_AttachmentSockets: []
<Config>k__BackingField:
itemID:
utf8LengthInBytes: 0
bytes:
offset0000:
byte0000: 0
byte0001: 0
byte0002: 0
byte0003: 0
byte0004: 0
byte0005: 0
byte0006: 0
byte0007: 0
byte0008: 0
byte0009: 0
byte0010: 0
byte0011: 0
byte0012: 0
byte0013: 0
byte0014: 0
byte0015: 0
byte0016: 0
byte0017: 0
byte0018: 0
byte0019: 0
byte0020: 0
byte0021: 0
byte0022: 0
byte0023: 0
byte0024: 0
byte0025: 0
byte0026: 0
byte0027: 0
byte0028: 0
byte0029: 0
itemType: 2
icon: {fileID: -137324388, guid: 72d716a5a5f582f43b585b9599f6ecf2, type: 3}
characterEquippedMountSlotName: hand_right
isChargeable: 0
chargeDuration: 0.5
chargeCooldown: 1
--- !u!54 &695493513755002537
Rigidbody:
m_ObjectHideFlags: 0
@@ -112,7 +89,7 @@ Rigidbody:
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
m_CollisionDetection: 1
--- !u!65 &3445042364824966478
BoxCollider:
m_ObjectHideFlags: 0
@@ -202,6 +179,10 @@ PrefabInstance:
propertyPath: m_Name
value: Enemy_Weapon_Dagger
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: dc24d2edc994e6845a7c3f1174bc20ac, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []

View File

@@ -0,0 +1,310 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8301825931372056919
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8666319967645993957}
- component: {fileID: 7929351721218922398}
- component: {fileID: 6762445103522978435}
- component: {fileID: 1953172795149118101}
m_Layer: 8
m_Name: item_egg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8666319967645993957
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8301825931372056919}
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:
- {fileID: 552649915395398865}
- {fileID: 6886993297686581235}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7929351721218922398
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8301825931372056919}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4ee344364fab4988921fe13bc0bb2784, type: 3}
m_Name:
m_EditorClassIdentifier:
<SourceActorPath>k__BackingField:
<ActorID>k__BackingField: 5061208986541388439
m_ActorName: Egg
actorRigidbody: {fileID: 6762445103522978435}
m_OverrideActorColliders: []
m_SetKinematicOnMount: 1
m_DisableCollidersOnMount: 1
transformSyncMode: 59
m_AttachmentSockets: []
<Config>k__BackingField:
itemType: 1
icon: {fileID: 22319203, guid: 72d716a5a5f582f43b585b9599f6ecf2, type: 3}
characterEquippedMountSlotName: hand_right
isChargeable: 0
chargeDuration: 0.5
chargeCooldown: 1
--- !u!54 &6762445103522978435
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8301825931372056919}
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: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 1
--- !u!135 &1953172795149118101
SphereCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8301825931372056919}
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_Radius: 0.05
m_Center: {x: 0, y: 0, z: 0}
--- !u!1001 &9518845739383610
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 8666319967645993957}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalRotation.x
value: -0.00000003774895
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 1dcb462ac201aad49aa87147ab03c936, type: 2}
- target: {fileID: 919132149155446097, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_Name
value: Beacon_Seed
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
--- !u!4 &552649915395398865 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: d6704d8f0eeb04445b8093b9b7662474, type: 3}
m_PrefabInstance: {fileID: 9518845739383610}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &6348169570668750872
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 8666319967645993957}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8401836415248118728, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: -7579103995338469470, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: -4487156662974281955, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: ebd2879834893f64fa3aa6f0442aff15, type: 2}
- target: {fileID: -2133700657759533270, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: -1566574393717776863, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: -1458132696257986518, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 21449079011365842, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 118080185376127835, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Name
value: Beacon_Seed_Embryo
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 1659567108731166629, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 5103525529608631244, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 5866666021909216657, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: 8ba89025037c7f946a34330013eddeeb, type: 2}
- target: {fileID: 5866666021909216657, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_ApplyRootMotion
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6977904360450031127, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 8675974533524261810, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
- target: {fileID: 9122942199675533794, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Layer
value: 8
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
--- !u!4 &6886993297686581235 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
m_PrefabInstance: {fileID: 6348169570668750872}
m_PrefabAsset: {fileID: 0}

View File

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

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8d8b800ff9ad4c54480ce70c571a3342
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -47,7 +47,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: f5b1ca118d5b4d689660039de71a6625, type: 3}
m_Name:
m_EditorClassIdentifier:
ShowTopMostFoldoutHeaderGroup: 1
<SourceActorPath>k__BackingField:
<ActorID>k__BackingField: 4616267090806191479
m_ActorName:
m_AttachmentSockets: []
m_Graphics: {fileID: 2346714148002668394}
<RopeConnectionPoint>k__BackingField: {fileID: 6137122062910868373}
--- !u!114 &2346714148002668394
@@ -406,6 +409,10 @@ PrefabInstance:
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 1dcb462ac201aad49aa87147ab03c936, type: 2}
- target: {fileID: 75491895046491531, guid: d45f4c581513f044689eb22d4704c151, type: 3}
propertyPath: 'm_Materials.Array.data[1]'
value:
objectReference: {fileID: 2100000, guid: 13561ecbc8acf00469a7962ce8d6ccd3, type: 2}
- target: {fileID: 919132149155446097, guid: d45f4c581513f044689eb22d4704c151, type: 3}
propertyPath: m_Name
value: Beacon
@@ -420,7 +427,10 @@ PrefabInstance:
objectReference: {fileID: 2100000, guid: 1926cfba2666a314ca441435bb583f39, type: 2}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: -5589203969274956612, guid: d45f4c581513f044689eb22d4704c151, type: 3}
insertIndex: -1
addedObject: {fileID: 2308339341351866705}
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d45f4c581513f044689eb22d4704c151, type: 3}
--- !u!4 &303763981901140674 stripped
@@ -473,3 +483,89 @@ MeshRenderer:
m_CorrespondingSourceObject: {fileID: -158522313859251472, guid: d45f4c581513f044689eb22d4704c151, type: 3}
m_PrefabInstance: {fileID: 269537330169902377}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &2846951283886864058
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 3590141156393107861}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalScale.x
value: 24.328356
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalScale.y
value: 24.328356
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalScale.z
value: 24.328356
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalPosition.x
value: -0.12638
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalPosition.y
value: -0.93
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalPosition.z
value: -0.026
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -4487156662974281955, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: ebd2879834893f64fa3aa6f0442aff15, type: 2}
- target: {fileID: 919132149155446097, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Name
value: Beacon_Seed_Embryo
objectReference: {fileID: 0}
- target: {fileID: 5866666021909216657, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: 8ba89025037c7f946a34330013eddeeb, type: 2}
- target: {fileID: 5866666021909216657, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
propertyPath: m_ApplyRootMotion
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
--- !u!4 &2308339341351866705 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 9fc81d29c9ebcbe4dba6e3317687f0b5, type: 3}
m_PrefabInstance: {fileID: 2846951283886864058}
m_PrefabAsset: {fileID: 0}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1963f2cdd61b66b42b587ec23d3b6e40
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,234 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5935223051646499148
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3087783944934017836}
- component: {fileID: 8352071028351746831}
- component: {fileID: 8828257924038919546}
m_Layer: 0
m_Name: actor_zombie
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3087783944934017836
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5935223051646499148}
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:
- {fileID: 8556237651298587407}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8352071028351746831
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5935223051646499148}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 82c11d5cbdd64c2ab63010901162299e, type: 3}
m_Name:
m_EditorClassIdentifier:
<SourceActorPath>k__BackingField:
<ActorID>k__BackingField: 5174038998949373988
m_ActorName: Zombie
m_AttachmentSockets: []
m_Animator: {fileID: 2332284181306165621}
--- !u!195 &8828257924038919546
NavMeshAgent:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5935223051646499148}
m_Enabled: 1
m_AgentTypeID: 0
m_Radius: 0.22
m_Speed: 3.5
m_Acceleration: 8
avoidancePriority: 50
m_AngularSpeed: 120
m_StoppingDistance: 0.1
m_AutoTraverseOffMeshLink: 1
m_AutoBraking: 1
m_AutoRepath: 1
m_Height: 1.79
m_BaseOffset: 0
m_WalkableMask: 4294967295
m_ObstacleAvoidanceType: 4
--- !u!1001 &8158101069038417124
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 3087783944934017836}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8596388577142912850, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 81299815df6be7d4ca654aff60b71f5e, type: 2}
- target: {fileID: -7547733204030175338, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 08e19dab1a066fc4c837941529974811, type: 2}
- target: {fileID: -6658497938237567018, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 08e19dab1a066fc4c837941529974811, type: 2}
- target: {fileID: -6442368477639947363, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 042be3ee75cbad446aee35a249c65714, type: 2}
- target: {fileID: -4396642182433536433, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 6f6bf6c40b9130843890124806980318, type: 2}
- target: {fileID: -1094870013247265488, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 81299815df6be7d4ca654aff60b71f5e, type: 2}
- target: {fileID: 579163500693744052, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 18ec204eed3e32947a0566e3beb61a33, type: 2}
- target: {fileID: 710183102880238943, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 740220410705241247, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 042be3ee75cbad446aee35a249c65714, type: 2}
- target: {fileID: 919132149155446097, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_Name
value: Character_Player
objectReference: {fileID: 0}
- target: {fileID: 1751384141052031026, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 08e19dab1a066fc4c837941529974811, type: 2}
- target: {fileID: 2674498840362988503, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 18ec204eed3e32947a0566e3beb61a33, type: 2}
- target: {fileID: 2729413168405115760, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 6f6bf6c40b9130843890124806980318, type: 2}
- target: {fileID: 2974574644326920799, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 687ec8bbe17a55f42a8cc5f6509aeb69, type: 2}
- target: {fileID: 4691356734749045086, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 08e19dab1a066fc4c837941529974811, type: 2}
- target: {fileID: 5866666021909216657, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: ed07376a401151c47a47c0dfb496fc99, type: 2}
- target: {fileID: 6445470562081106951, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: bd4a273039eeb24478a41c1ca3342080, type: 2}
- target: {fileID: 6647190717571849481, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 042be3ee75cbad446aee35a249c65714, type: 2}
- target: {fileID: 6777337534489714065, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 08e19dab1a066fc4c837941529974811, type: 2}
- target: {fileID: 7470169179194899816, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 08e19dab1a066fc4c837941529974811, type: 2}
- target: {fileID: 7833282959318594594, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 687ec8bbe17a55f42a8cc5f6509aeb69, type: 2}
- target: {fileID: 8335907118470890241, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 6f6bf6c40b9130843890124806980318, type: 2}
- target: {fileID: 8509722215188012327, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 042be3ee75cbad446aee35a249c65714, type: 2}
- target: {fileID: 8682389886489130434, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: bd4a273039eeb24478a41c1ca3342080, type: 2}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e74130c49b009364f90d176af44766be, type: 3}
--- !u!95 &2332284181306165621 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 5866666021909216657, guid: e74130c49b009364f90d176af44766be, type: 3}
m_PrefabInstance: {fileID: 8158101069038417124}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8556237651298587407 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: e74130c49b009364f90d176af44766be, type: 3}
m_PrefabInstance: {fileID: 8158101069038417124}
m_PrefabAsset: {fileID: 0}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a1b4143a204dcd44c846fc57faa70c1e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,136 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: m_human_boots_0
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 0
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.24528301, g: 0.054813884, b: 0.028924879, a: 1}
- _Color: {r: 0.24528295, g: 0.054813854, b: 0.028924879, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!114 &4507353353967158809
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 9

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bd4a273039eeb24478a41c1ca3342080
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

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