This commit is contained in:
2025-10-24 20:31:52 +02:00
parent 4229355a32
commit 20d3b46834
6 changed files with 320 additions and 224 deletions

View File

@@ -19,6 +19,9 @@ namespace MegaKoop.Game.Enemy
public class SteamEnemyController : MonoBehaviour
{
private static readonly List<Health> SharedHealthBuffer = new(32);
private static int nextEnemyNetworkId = StartingEnemyNetworkId;
private const int StartingEnemyNetworkId = 10000;
[Header("Movement")]
[SerializeField] private float moveSpeed = 3.5f;
@@ -49,6 +52,7 @@ namespace MegaKoop.Game.Enemy
private void Awake()
{
EnsureIdentity();
spawnPosition = transform.position;
if (navMeshAgent == null)
@@ -66,11 +70,6 @@ namespace MegaKoop.Game.Enemy
health = GetComponent<Health>();
}
if (identity == null)
{
identity = GetComponent<NetworkIdentity>();
}
if (networkTransform == null)
{
networkTransform = GetComponent<SteamNetworkTransform>();
@@ -89,6 +88,30 @@ namespace MegaKoop.Game.Enemy
retargetTimer = Random.Range(0f, Mathf.Max(0.05f, retargetInterval));
}
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
private static void ResetNetworkIdCounter()
{
nextEnemyNetworkId = StartingEnemyNetworkId;
}
private void EnsureIdentity()
{
if (identity == null)
{
identity = GetComponent<NetworkIdentity>();
}
if (identity == null)
{
return;
}
if (identity.NetworkId == 0)
{
identity.SetNetworkId(nextEnemyNetworkId++);
}
}
private void OnEnable()
{
networkManager = SteamCoopNetworkManager.Instance;

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a79d3f26acea4110aa80d048994e8b93

View File

@@ -10,6 +10,8 @@ namespace MegaKoop.Game.Networking
private SteamCoopNetworkManager networkManager;
private bool isRegistered;
private bool hasPendingBroadcast;
private float pendingNormalizedHealth;
private void Awake()
{
@@ -37,6 +39,13 @@ namespace MegaKoop.Game.Networking
{
health.NormalizedHealthChanged += OnHealthChanged;
}
if (health != null && identity != null && IsAuthority())
{
QueueBroadcast(health.CurrentHealth / health.MaxHealth);
}
FlushPendingBroadcast();
}
private void OnDisable()
@@ -51,6 +60,8 @@ namespace MegaKoop.Game.Networking
{
health.NormalizedHealthChanged -= OnHealthChanged;
}
networkManager = null;
}
private bool IsAuthority()
@@ -65,9 +76,8 @@ namespace MegaKoop.Game.Networking
return;
}
var message = new HealthSyncMessage(identity.NetworkId, normalized);
byte[] payload = HealthSyncMessage.Serialize(message);
networkManager.SendToAll(NetworkMessageType.HealthSync, payload, Steamworks.EP2PSend.k_EP2PSendReliable);
QueueBroadcast(normalized);
FlushPendingBroadcast();
}
private void HandleHealthSync(NetworkMessage message)
@@ -85,5 +95,44 @@ namespace MegaKoop.Game.Networking
health.ForceSetNormalizedHealth(syncMessage.NormalizedHealth);
}
private void QueueBroadcast(float normalized)
{
pendingNormalizedHealth = normalized;
hasPendingBroadcast = true;
}
private void FlushPendingBroadcast()
{
if (!hasPendingBroadcast)
{
return;
}
networkManager ??= SteamCoopNetworkManager.Instance;
if (networkManager == null || identity == null)
{
return;
}
if (!IsAuthority())
{
hasPendingBroadcast = false;
return;
}
var message = new HealthSyncMessage(identity.NetworkId, pendingNormalizedHealth);
byte[] payload = HealthSyncMessage.Serialize(message);
networkManager.SendToAll(NetworkMessageType.HealthSync, payload, Steamworks.EP2PSend.k_EP2PSendReliable);
hasPendingBroadcast = false;
}
private void LateUpdate()
{
if (hasPendingBroadcast)
{
FlushPendingBroadcast();
}
}
}
}

View File

@@ -152,7 +152,7 @@ namespace MegaKoop.Game.Networking
}
else if (trackedRigidbody != null)
{
velocity = trackedRigidbody.velocity;
velocity = trackedRigidbody.linearVelocity;
}
SteamCharacterStateCache.ReportLocalState(identity.NetworkId, targetTransform.position, targetTransform.rotation, velocity);

View File

@@ -216,6 +216,75 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1001 &707200008
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1170732337855516, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_Name
value: Golem (2)
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.x
value: 2.9010339
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.z
value: 6.916527
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: GlobalObjectIdHash
value: 3532144235
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: SceneMigrationSynchronization
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: InScenePlacedSourceGlobalObjectIdHash
value: 2899175104
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
--- !u!1 &1124421571
GameObject:
m_ObjectHideFlags: 0
@@ -361,7 +430,7 @@ MonoBehaviour:
m_MinRegionArea: 2
m_NavMeshData: {fileID: 23800000, guid: 01f7d0e6f128a79a8ade52bc1643d6eb, type: 2}
m_BuildHeightMesh: 0
--- !u!1001 &1432618524
--- !u!1001 &1192450822
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
@@ -373,45 +442,33 @@ PrefabInstance:
propertyPath: m_Name
value: Golem
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.x
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.y
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.z
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.x
value: 6.7226114
value: 6.15328
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.y
value: 0.16999996
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.z
value: 8.0779085
value: 6.38624
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.w
value: -0.06743933
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.x
value: -0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.y
value: -0.9977234
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.z
value: -0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@@ -419,7 +476,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -187.734
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
@@ -427,7 +484,76 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: GlobalObjectIdHash
value: 2082327815
value: 1203006234
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: SceneMigrationSynchronization
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: InScenePlacedSourceGlobalObjectIdHash
value: 2899175104
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
--- !u!1001 &1204889094
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1170732337855516, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_Name
value: Golem (3)
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.x
value: 7.6896772
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.y
value: 0.00000047683716
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.z
value: 3.499114
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: GlobalObjectIdHash
value: 1757025478
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: SceneMigrationSynchronization
@@ -545,88 +671,7 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1770640151
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1170732337855516, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_Name
value: Golem (2)
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.x
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.y
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.z
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.x
value: 0.99
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.y
value: 0.11
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.z
value: 0.44
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.w
value: -0.06743933
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.y
value: -0.9977234
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -187.734
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: GlobalObjectIdHash
value: 1047745387
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: SceneMigrationSynchronization
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: InScenePlacedSourceGlobalObjectIdHash
value: 2899175104
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
--- !u!1001 &1801103367
--- !u!1001 &1778800386
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
@@ -638,45 +683,33 @@ PrefabInstance:
propertyPath: m_Name
value: Golem (4)
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.x
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.y
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.z
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.x
value: 12.48
value: 3.1143627
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.y
value: 0.16999996
value: 0.00000047683716
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.z
value: 4.77
value: 3.5081654
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.w
value: -0.06743933
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.x
value: -0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.y
value: -0.9977234
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.z
value: -0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@@ -684,7 +717,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -187.734
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
@@ -692,88 +725,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: GlobalObjectIdHash
value: 1912244675
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: SceneMigrationSynchronization
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: InScenePlacedSourceGlobalObjectIdHash
value: 2899175104
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
--- !u!1001 &1857588276
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1170732337855516, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_Name
value: Golem (3)
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.x
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.y
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalScale.z
value: 2.1307
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.x
value: 0.16
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.y
value: 0.16999996
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.z
value: 7.19
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.w
value: -0.06743933
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.y
value: -0.9977234
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -187.734
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: GlobalObjectIdHash
value: 1968154192
value: 2999581920
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: SceneMigrationSynchronization
@@ -880,6 +832,75 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1891444355
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1170732337855516, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_Name
value: Golem (1)
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.x
value: 10.28
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.y
value: 0.18399
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalPosition.z
value: 5.92069
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4526463827110206, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: GlobalObjectIdHash
value: 2901406092
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: SceneMigrationSynchronization
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6042376723608263729, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
propertyPath: InScenePlacedSourceGlobalObjectIdHash
value: 2899175104
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b5051c49d05768c73a8c42e1967fe4b2, type: 3}
--- !u!1001 &8888013435869854006
PrefabInstance:
m_ObjectHideFlags: 0
@@ -956,9 +977,10 @@ SceneRoots:
- {fileID: 1888194197}
- {fileID: 98592372}
- {fileID: 1124421575}
- {fileID: 1432618524}
- {fileID: 1801103367}
- {fileID: 1857588276}
- {fileID: 1770640151}
- {fileID: 8888013435869854006}
- {fileID: 1706180863}
- {fileID: 1192450822}
- {fileID: 1891444355}
- {fileID: 707200008}
- {fileID: 1204889094}
- {fileID: 1778800386}

File diff suppressed because one or more lines are too long