From 708a0121d3578a4335fd95251e714707b99fd18a Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:19:05 -0400 Subject: [PATCH] fix(Examples): Updated Tank prefabs with Cooldown --- Assets/Mirror/Examples/PlayerTest/TankReliable.prefab | 2 ++ Assets/Mirror/Examples/PlayerTest/TankUnreliable.prefab | 2 ++ .../Mirror/Examples/TankTheftAuto/Prefabs/TankReliable.prefab | 2 ++ .../Mirror/Examples/TankTheftAuto/Prefabs/TankUnreliable.prefab | 2 ++ 4 files changed, 8 insertions(+) diff --git a/Assets/Mirror/Examples/PlayerTest/TankReliable.prefab b/Assets/Mirror/Examples/PlayerTest/TankReliable.prefab index 976311b14..0cb000065 100644 --- a/Assets/Mirror/Examples/PlayerTest/TankReliable.prefab +++ b/Assets/Mirror/Examples/PlayerTest/TankReliable.prefab @@ -244,6 +244,7 @@ MonoBehaviour: AutoLevel: 108 ToggleUI: 117 controlOptions: 6 + cooldownTime: 1 maxTurretSpeed: 250 turretAcceleration: 10 maxPitchSpeed: 30 @@ -255,6 +256,7 @@ MonoBehaviour: turretSpeed: 0 pitchAngle: 0 pitchSpeed: 0 + lastShotTime: 0 turretUI: {fileID: 0} turretNTR: {fileID: 8662002890669114756} barrelNTR: {fileID: 4362334322449175123} diff --git a/Assets/Mirror/Examples/PlayerTest/TankUnreliable.prefab b/Assets/Mirror/Examples/PlayerTest/TankUnreliable.prefab index a392aea85..680f7eddf 100644 --- a/Assets/Mirror/Examples/PlayerTest/TankUnreliable.prefab +++ b/Assets/Mirror/Examples/PlayerTest/TankUnreliable.prefab @@ -244,6 +244,7 @@ MonoBehaviour: AutoLevel: 108 ToggleUI: 117 controlOptions: 6 + cooldownTime: 1 maxTurretSpeed: 250 turretAcceleration: 10 maxPitchSpeed: 30 @@ -255,6 +256,7 @@ MonoBehaviour: turretSpeed: 0 pitchAngle: 0 pitchSpeed: 0 + lastShotTime: 0 turretUI: {fileID: 0} turretNTR: {fileID: 8518206564796711397} barrelNTR: {fileID: 470423508858832317} diff --git a/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankReliable.prefab b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankReliable.prefab index 4d50230df..4e61f88e8 100644 --- a/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankReliable.prefab +++ b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankReliable.prefab @@ -267,6 +267,7 @@ MonoBehaviour: AutoLevel: 108 ToggleUI: 117 controlOptions: 6 + cooldownTime: 1 maxTurretSpeed: 250 turretAcceleration: 10 maxPitchSpeed: 30 @@ -278,6 +279,7 @@ MonoBehaviour: turretSpeed: 0 pitchAngle: 0 pitchSpeed: 0 + lastShotTime: 0 turretUI: {fileID: 0} turretNTR: {fileID: 1724966638944128536} barrelNTR: {fileID: -1561722988585270094} diff --git a/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankUnreliable.prefab b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankUnreliable.prefab index 452ed3d25..071430706 100644 --- a/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankUnreliable.prefab +++ b/Assets/Mirror/Examples/TankTheftAuto/Prefabs/TankUnreliable.prefab @@ -267,6 +267,7 @@ MonoBehaviour: AutoLevel: 108 ToggleUI: 117 controlOptions: 6 + cooldownTime: 1 maxTurretSpeed: 250 turretAcceleration: 10 maxPitchSpeed: 30 @@ -278,6 +279,7 @@ MonoBehaviour: turretSpeed: 0 pitchAngle: 0 pitchSpeed: 0 + lastShotTime: 0 turretUI: {fileID: 0} turretNTR: {fileID: 3555053558530271693} barrelNTR: {fileID: -1846505870324383132}