added bot spawn

This commit is contained in:
AlexMamontow 2021-09-19 16:30:45 +03:00
parent fbc0dca031
commit 3ae4f04d7c
28 changed files with 4280 additions and 1177 deletions

View File

@ -0,0 +1,37 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class BotPanelController : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI amountText;
private void Start()
{
amountText.text = (GameData.gameMaxPlayers - 1).ToString();
}
public void OnIncreaseBtnClick()
{
GameData.gameMaxPlayers += 1;
if (GameData.gameMaxPlayers > GameData.possibleMaxPlayers)
{
GameData.gameMaxPlayers = GameData.possibleMaxPlayers;
}
amountText.text = (GameData.gameMaxPlayers - 1).ToString();
}
public void OnDecreaseBtnClick()
{
GameData.gameMaxPlayers -= 1;
if (GameData.gameMaxPlayers < 1)
{
GameData.gameMaxPlayers = 1;
}
amountText.text = (GameData.gameMaxPlayers - 1).ToString();
}
}

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -0,0 +1,968 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &8834890310836331925
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8765376296397408583}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4f17b3116b7cc98478f5665cf12a6c64, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &8834890310963677930
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8834890310963677931}
- component: {fileID: 8834890310963677942}
- component: {fileID: 8834890310963677929}
- component: {fileID: 8834890310963677928}
m_Layer: 0
m_Name: TestCharCanvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8834890310963677931
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890310963677930}
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_Children:
- {fileID: 2422948254826087546}
- {fileID: 78130537140300594}
m_Father: {fileID: 8834890311105204222}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 2160, y: 1080}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &8834890310963677942
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890310963677930}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!114 &8834890310963677929
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890310963677930}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 1
--- !u!114 &8834890310963677928
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890310963677930}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!1 &8834890311105204202
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8834890311105204222}
- component: {fileID: 8834890311105204209}
- component: {fileID: 8834890311105204208}
- component: {fileID: 8834890311105204211}
- component: {fileID: 8834890311105204210}
- component: {fileID: 8834890311105204213}
- component: {fileID: 8834890311105204212}
- component: {fileID: 8834890311105204215}
- component: {fileID: 8834890311105204214}
- component: {fileID: 8834890311105204200}
- component: {fileID: 8834890311105204203}
- component: {fileID: 8834890311105204223}
- component: {fileID: 8834890311105204201}
- component: {fileID: 8834890311105204220}
- component: {fileID: 8834890311105204219}
m_Layer: 0
m_Name: Ragnar
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8834890311105204222
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
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_Children:
- {fileID: 8281855696381006845}
- {fileID: 8834890310963677931}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!136 &8834890311105204209
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
m_Radius: 0.3
m_Height: 2
m_Direction: 1
m_Center: {x: 0, y: 1, z: 0}
--- !u!114 &8834890311105204208
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 87be083c521172a4392e6aeb23c1976c, type: 3}
m_Name:
m_EditorClassIdentifier:
controlType: 1
ownerIndex: 2
prevState: 0
currentState: 0
currentTile: {fileID: 0}
targetMoveTile: {fileID: 0}
currentActionTarget: {fileID: 0}
defaultAction: {fileID: 11400000, guid: 92504437725aa854c98196750a332319, type: 2}
currentAction: {fileID: 0}
enemies: []
--- !u!114 &8834890311105204211
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f701310aaea215a4d9e0c8646d3e1ecd, type: 3}
m_Name:
m_EditorClassIdentifier:
nextTileMoveTime: 0.5
moveDistance: 1
moveVFX: {fileID: 2981949465576753534}
--- !u!114 &8834890311105204210
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4b3c4882af86905429c1c42aabf068c1, type: 3}
m_Name:
m_EditorClassIdentifier:
enemyCaptureTime: 1
capVFX: {fileID: 1651852338557341938, guid: fa6c1fc3da7c8d24c85a88b00cf598d4, type: 3}
_ac: {fileID: 8834890311105204220}
--- !u!114 &8834890311105204213
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0b1e558538e66434b894cbb9a74b1ff6, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &8834890311105204212
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 87739d117b81042439f29002c1d854cc, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &8834890311105204215
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 47d48585e7d7ec5499adf21e4333cb9b, type: 3}
m_Name:
m_EditorClassIdentifier:
autoattackDistance: 3
--- !u!114 &8834890311105204214
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e11c25b2c2cf92046ba8fb0105c87ebf, type: 3}
m_Name:
m_EditorClassIdentifier:
maxAttackEnergy: 3.1
attackResetTime: 3
attackCost: 1
--- !u!114 &8834890311105204200
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5182c2cb5eef6d849b560f764c4a0ed6, type: 3}
m_Name:
m_EditorClassIdentifier:
startHealth: 50
currentHealth: 0
playerImpactVFX: {fileID: 2957420090356197408, guid: 5d1244f7b80cadd428a70173a01ce889,
type: 3}
groundImpactVFX: {fileID: 6794377120831721188, guid: 2e8dc25f6c4c6264e95bc99e5bffa3e5,
type: 3}
--- !u!114 &8834890311105204203
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e16f3b4bfc592754783116779d390d0f, type: 3}
m_Name:
m_EditorClassIdentifier:
maxBonusCount: 2
attackBonuses: []
protectBonuses: []
currentSelectedBonus: {fileID: 0}
--- !u!114 &8834890311105204223
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 754e9bf36b6ab0b40a8b71c58aa34b04, type: 3}
m_Name:
m_EditorClassIdentifier:
isAIActive: 1
botState: 0
leftInput: {x: 0, y: 0}
rightInput: {x: 0, y: 0}
agressiveTime: 5
attackTime: 2
updateBehaviourIn: 0.6
neutralCapDistance: 6
detectDistance: 4
bonusDetectDistance: 8
attackPlayerDistance: 4
bonusPlaceColdown: 4
protectionDistance: 4
_currentEnemy: {fileID: 0}
_currentTargetTile: {fileID: 0}
--- !u!114 &8834890311105204201
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8e62d497885c3fc408577c631ebd0aa8, type: 3}
m_Name:
m_EditorClassIdentifier:
updateRate: 0.01
_healthUI: {fileID: 1553902454525976294}
_attackEnergyUI: {fileID: 7394463592956814944}
--- !u!114 &8834890311105204220
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0da3aaf0cfc1fd8439fd1e9803e01cf1, type: 3}
m_Name:
m_EditorClassIdentifier:
jump_SFXs:
- {fileID: 8300000, guid: db2b24c43cc41514b85fb4a4950c1299, type: 3}
- {fileID: 8300000, guid: 14662fc30f12b7847929c0d90295de95, type: 3}
- {fileID: 8300000, guid: ed81a29d95a7c6843855e95917ff40ed, type: 3}
capture_SFXs:
- {fileID: 8300000, guid: 72cf5153f4959df4eb30db3dc01d4e24, type: 3}
hit_SFX: {fileID: 8300000, guid: 6c42231c18643dc4d9d8f8d15bc4735b, type: 3}
throw_SFX: {fileID: 8300000, guid: 9ea918c6c23577f4e885a8490d2f2046, type: 3}
ac: {fileID: 8834890311105204219}
--- !u!82 &8834890311105204219
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8834890311105204202}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 0
m_Volume: 0.3
m_Pitch: 1
Loop: 0
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 3
MaxDistance: 15
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0.2
value: 1
inSlope: -5.0019917
outSlope: -5.0019917
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.4
value: 0.5
inSlope: -1.2504979
outSlope: -1.2504979
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 0.8
value: 0.25
inSlope: -0.31262448
outSlope: -0.31262448
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0.10087891
inSlope: -0.20007975
outSlope: -0.20007975
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!1001 &8834890310216622063
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 8834890310963677931}
m_Modifications:
- target: {fileID: 8903131178090680179, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 7065c0c50f63c244abd2a7d4a6a32aa5,
type: 3}
- target: {fileID: 8903131178351670492, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_Name
value: UI_AttackEnergy
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_SizeDelta.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_SizeDelta.y
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 3.5
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 65b963944a468a74f8dc1ec6e73705ce, type: 3}
--- !u!224 &78130537140300594 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 8903131178351670493, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
m_PrefabInstance: {fileID: 8834890310216622063}
m_PrefabAsset: {fileID: 0}
--- !u!114 &7394463592956814944 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 2019227370455529871, guid: 65b963944a468a74f8dc1ec6e73705ce,
type: 3}
m_PrefabInstance: {fileID: 8834890310216622063}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: aa359e5293579a4479bf31f75ae45318, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &8834890310568194089
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1863569421941344051}
m_Modifications:
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalScale.x
value: 0.2999999
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalScale.y
value: 0.2999996
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalScale.z
value: 0.29999956
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalPosition.x
value: -0.20420946
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalPosition.y
value: -0.1845328
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalPosition.z
value: 0.0029967467
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalRotation.w
value: -0.39861962
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.5840417
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.3986247
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.58403426
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: -180
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2545629089687020066, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6620157803458436027, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
propertyPath: m_Name
value: JetPower
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4e0416f3bce04814ab587fa3c7febd52, type: 3}
--- !u!198 &2981949465576753534 stripped
ParticleSystem:
m_CorrespondingSourceObject: {fileID: 6051103767337335127, guid: 4e0416f3bce04814ab587fa3c7febd52,
type: 3}
m_PrefabInstance: {fileID: 8834890310568194089}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8834890311751205923
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 8834890310963677931}
m_Modifications:
- target: {fileID: 6574093770988502007, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 7065c0c50f63c244abd2a7d4a6a32aa5,
type: 3}
- target: {fileID: 6574093771786895448, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_Name
value: UI_Health
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_SizeDelta.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_SizeDelta.y
value: 100
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 4
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3bc8e1f8873504448af4907d1b7f219d, type: 3}
--- !u!224 &2422948254826087546 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 6574093771786895449, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
m_PrefabInstance: {fileID: 8834890311751205923}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1553902454525976294 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 8001568195936279237, guid: 3bc8e1f8873504448af4907d1b7f219d,
type: 3}
m_PrefabInstance: {fileID: 8834890311751205923}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: aa359e5293579a4479bf31f75ae45318, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &8834890311879508513
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 8834890311105204222}
m_Modifications:
- target: {fileID: -1148229131982139879, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: 9e1a6090cd4d65d4599676c24fcb5cff, type: 2}
- target: {fileID: -1148229131982139879, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_ApplyRootMotion
value: 1
objectReference: {fileID: 0}
- target: {fileID: 233917392663333734, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_Name
value: Ragnar
objectReference: {fileID: 0}
- target: {fileID: 233917392663333734, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b4e44fa43f796444bb2acc08a5dc9568, type: 3}
--- !u!1 &8765376296397408583 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 233917392663333734, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
m_PrefabInstance: {fileID: 8834890311879508513}
m_PrefabAsset: {fileID: 0}
--- !u!4 &1863569421941344051 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7153809033823405330, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
m_PrefabInstance: {fileID: 8834890311879508513}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8281855696381006845 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 609351601165668828, guid: b4e44fa43f796444bb2acc08a5dc9568,
type: 3}
m_PrefabInstance: {fileID: 8834890311879508513}
m_PrefabAsset: {fileID: 0}

View File

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

View File

@ -4859,7 +4859,7 @@ ParticleSystem:
serializedVersion: 7
lengthInSec: 3
simulationSpeed: 1
stopAction: 0
stopAction: 2
cullingMode: 3
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}

View File

@ -24179,7 +24179,7 @@ ParticleSystem:
serializedVersion: 7
lengthInSec: 3
simulationSpeed: 1
stopAction: 0
stopAction: 2
cullingMode: 3
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}

View File

@ -24179,7 +24179,7 @@ ParticleSystem:
serializedVersion: 7
lengthInSec: 3
simulationSpeed: 1
stopAction: 0
stopAction: 2
cullingMode: 3
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}

View File

@ -24179,7 +24179,7 @@ ParticleSystem:
serializedVersion: 7
lengthInSec: 3
simulationSpeed: 1
stopAction: 0
stopAction: 2
cullingMode: 3
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}

File diff suppressed because it is too large Load Diff

View File

@ -2799,6 +2799,139 @@ PrefabInstance:
m_RemovedComponents:
- {fileID: 4621458471676120662, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
--- !u!1 &588146955
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 588146956}
- component: {fileID: 588146959}
- component: {fileID: 588146958}
- component: {fileID: 588146957}
m_Layer: 5
m_Name: Btn_Decrease
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &588146956
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 588146955}
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_Children:
- {fileID: 1238581947}
m_Father: {fileID: 1799454951}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 118.65115, y: 0.00000071525574}
m_SizeDelta: {x: 237.3023, y: 209.3415}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &588146957
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 588146955}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 588146958}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1799454954}
m_TargetAssemblyTypeName: BotPanelController, Assembly-CSharp
m_MethodName: OnDecreaseBtnClick
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &588146958
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 588146955}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &588146959
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 588146955}
m_CullTransparentMesh: 1
--- !u!1 &616429789 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4991598031878838981, guid: fa5ecf8ffbe22c7459c44494cee176d9,
@ -3776,6 +3909,139 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &758185739
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 758185740}
- component: {fileID: 758185743}
- component: {fileID: 758185742}
- component: {fileID: 758185741}
m_Layer: 5
m_Name: Btn_Increase
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &758185740
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 758185739}
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_Children:
- {fileID: 994462953}
m_Father: {fileID: 1799454951}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -118.65112, y: 0.00000071525574}
m_SizeDelta: {x: 237.30225, y: 209.3415}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &758185741
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 758185739}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 758185742}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1799454954}
m_TargetAssemblyTypeName: BotPanelController, Assembly-CSharp
m_MethodName: OnIncreaseBtnClick
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &758185742
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 758185739}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &758185743
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 758185739}
m_CullTransparentMesh: 1
--- !u!1001 &759206019
PrefabInstance:
m_ObjectHideFlags: 0
@ -5418,6 +5684,140 @@ PrefabInstance:
m_RemovedComponents:
- {fileID: 4621458471676120662, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
--- !u!1 &994462952
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 994462953}
- component: {fileID: 994462955}
- component: {fileID: 994462954}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &994462953
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 994462952}
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_Children: []
m_Father: {fileID: 758185740}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &994462954
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 994462952}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: +1
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4281479730
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 100
m_fontSizeBase: 100
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 1
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &994462955
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 994462952}
m_CullTransparentMesh: 1
--- !u!1 &1003420330
GameObject:
m_ObjectHideFlags: 0
@ -5493,6 +5893,140 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1003420330}
m_CullTransparentMesh: 1
--- !u!1 &1029464724
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1029464725}
- component: {fileID: 1029464727}
- component: {fileID: 1029464726}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1029464725
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1029464724}
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_Children: []
m_Father: {fileID: 1799454951}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.00076294, y: -60.902}
m_SizeDelta: {x: 512.67, y: 121.8}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1029464726
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1029464724}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Number of bots
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 60
m_fontSizeBase: 60
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1029464727
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1029464724}
m_CullTransparentMesh: 1
--- !u!1 &1039789511 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4991598031878838981, guid: fa5ecf8ffbe22c7459c44494cee176d9,
@ -6720,6 +7254,140 @@ PrefabInstance:
m_RemovedComponents:
- {fileID: 4621458471676120662, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
--- !u!1 &1238581946
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1238581947}
- component: {fileID: 1238581949}
- component: {fileID: 1238581948}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1238581947
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1238581946}
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_Children: []
m_Father: {fileID: 588146956}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1238581948
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1238581946}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: -1
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4281479730
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 100
m_fontSizeBase: 100
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 1
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1238581949
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1238581946}
m_CullTransparentMesh: 1
--- !u!1001 &1252524476
PrefabInstance:
m_ObjectHideFlags: 0
@ -9207,6 +9875,99 @@ PrefabInstance:
m_RemovedComponents:
- {fileID: 4621458471676120662, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: fa5ecf8ffbe22c7459c44494cee176d9, type: 3}
--- !u!1 &1799454950
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1799454951}
- component: {fileID: 1799454953}
- component: {fileID: 1799454952}
- component: {fileID: 1799454954}
m_Layer: 5
m_Name: Panel_BotPrefs
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1799454951
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1799454950}
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_Children:
- {fileID: 588146956}
- {fileID: 758185740}
- {fileID: 1029464725}
- {fileID: 2027767343}
m_Father: {fileID: 1801607763}
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -121.805}
m_SizeDelta: {x: 987.27783, y: 243.61}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1799454952
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1799454950}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.392}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1799454953
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1799454950}
m_CullTransparentMesh: 1
--- !u!114 &1799454954
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1799454950}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a265063b1756b45408e45fc63d502f53, type: 3}
m_Name:
m_EditorClassIdentifier:
amountText: {fileID: 2027767344}
--- !u!1 &1801607759
GameObject:
m_ObjectHideFlags: 0
@ -9309,6 +10070,7 @@ RectTransform:
- {fileID: 131612031}
- {fileID: 675598631}
- {fileID: 1138818629}
- {fileID: 1799454951}
m_Father: {fileID: 0}
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -10963,6 +11725,140 @@ MonoBehaviour:
hCost: 0
fCost: 0
parent: {fileID: 0}
--- !u!1 &2027767342
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2027767343}
- component: {fileID: 2027767345}
- component: {fileID: 2027767344}
m_Layer: 5
m_Name: BotAmountText
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2027767343
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2027767342}
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_Children: []
m_Father: {fileID: 1799454951}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.0016174, y: 60.898}
m_SizeDelta: {x: 512.67, y: 121.8}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2027767344
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2027767342}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 0
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 60
m_fontSizeBase: 60
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &2027767345
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2027767342}
m_CullTransparentMesh: 1
--- !u!1 &2051976193 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4991598031878838981, guid: fa5ecf8ffbe22c7459c44494cee176d9,

View File

@ -87,7 +87,7 @@ public class AI_BotController : MonoBehaviour
{
return;
}
Debug.Log("try SJ");
//Debug.Log("try SJ");
TileInfo targetTile = adjTiles[UnityEngine.Random.Range(0, adjTiles.Count)];
Bonus chosenBonus;
chosenBonus = _playerBonuses.attackBonuses[UnityEngine.Random.Range(0, _playerBonuses.attackBonuses.Count)];
@ -240,13 +240,17 @@ public class AI_BotController : MonoBehaviour
}
foreach (var enemy in _playerState.enemies)
{
if (enemy == null)
{
continue;
}
if (!enemy.gameObject.activeSelf)
{
continue;
}
if (Vector3.Distance(_playerState.transform.position, enemy.transform.position) < protectionDistance)
{
Debug.Log("can place");
//Debug.Log("can place");
return true;
}
}
@ -299,6 +303,10 @@ public class AI_BotController : MonoBehaviour
{
foreach (PlayerState enemy in _playerState.enemies)
{
if (enemy == null)
{
continue;
}
if (!enemy.gameObject.activeSelf)
{
continue;
@ -355,6 +363,10 @@ public class AI_BotController : MonoBehaviour
{
foreach (PlayerState enemy in _playerState.enemies)
{
if (enemy == null)
{
continue;
}
if (!enemy.gameObject.activeSelf)
{
continue;
@ -401,7 +413,7 @@ public class AI_BotController : MonoBehaviour
private void PlaceProtectBonus(TileInfo currentTile)
{
Debug.Log("try protect");
//Debug.Log("try protect");
Bonus chosenBonus = _playerBonuses.protectBonuses[UnityEngine.Random.Range(0, _playerBonuses.protectBonuses.Count)];
List<TileInfo> targets = TileManagment.GetOwnerAdjacentTiles(currentTile, _playerState.ownerIndex);
TileInfo target = targets[UnityEngine.Random.Range(0, targets.Count)];

View File

@ -37,7 +37,7 @@ public class ActionTriggerSystem : MonoBehaviour
if (Vector3.Distance(_playerState.currentTile.tilePosition, enemy.transform.position) <= 1.1f*autoattackDistance*TileManagment.tileOffset)
{
targetPlayer = enemy;
Debug.Log("I see " + enemy.gameObject.name);
//Debug.Log("I see " + enemy.gameObject.name);
break;
}
}

View File

@ -19,6 +19,7 @@ public class Build : PlayerAction
public override void StartActionOperations(TileInfo targetTile, PlayerState currentPlayer)
{
base.StartActionOperations(targetTile, currentPlayer);
targetTile.canMove = false;
var spawnedTower = Instantiate(buildPref, targetTile.tilePosition, buildPref.transform.rotation);
int activeModelIndex = (int)currentPlayer.ownerIndex - 1;
spawnedTower.transform.GetChild(activeModelIndex).gameObject.SetActive(true);

View File

@ -32,6 +32,6 @@ public class PlayerAction : ScriptableObject
public virtual void FinishActionOperations(PlayerState currentPlayer)
{
Debug.Log("final action");
//Debug.Log("final action");
}
}

View File

@ -51,7 +51,7 @@ public class CaptureController : MonoBehaviour
private void TryToCaptureTile()
{
TileInfo tile = _playerState.currentTile;
Debug.Log("try cap");
//Debug.Log("try cap");
if (_playerState.ownerIndex != tile.tileOwnerIndex)
{
_playerState.SetNewState(CharacterState.Capture);

View File

@ -0,0 +1,161 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class CharSpawner : MonoBehaviour
{
//public float minSpawnRate = 5f, maxSpawnRate = 10f;
public float updateRate = 1f;
public List<GameObject> charPrefs;
public static Action OnPlayerSpawned;
private void Awake()
{
//DeathChecker.OnPlayerDeathPermanent += SetupNewPlayerSpawn;
}
private void Start()
{
SpawStartEnemies();
InvokeRepeating("CheckForSpawn", 1f, updateRate);
}
private void SetupNewPlayerSpawn(/*PlayerState deadPlayer*/)
{
TileOwner lastDeadOwnerIndex = GameManager.deadOwners[GameManager.deadOwners.Count-1];
foreach (var pref in charPrefs)
{
var prefIndex = pref.GetComponent<PlayerState>().ownerIndex;
bool canSpawnThisPref = true;
if (prefIndex == lastDeadOwnerIndex)
{
continue;
}
foreach (var enemy in GameManager.activePlayers)
{
if (prefIndex == enemy.ownerIndex )
{
canSpawnThisPref = false;
}
}
if (canSpawnThisPref)
{
Debug.Log("spawn normal");
//StartCoroutine(SpawnTask(minSpawnRate, maxSpawnRate, pref));
SpawnEnemy(pref);
return;
}
}
int oldPlayerIndex = (int)lastDeadOwnerIndex - 2;
Debug.Log("spawn rest");
//StartCoroutine(SpawnTask(minSpawnRate, maxSpawnRate, charPrefs[oldPlayerIndex]));
SpawnEnemy(charPrefs[oldPlayerIndex]);
}
private IEnumerator SpawnTask(float minRate, float maxRate, GameObject prefToSpawn)
{
float delay = UnityEngine.Random.Range(minRate, maxRate);
yield return new WaitForSeconds(delay);
SpawnEnemy(prefToSpawn);
}
private void SpawnEnemy(GameObject pref)
{
int enemyIndex = charPrefs.IndexOf(pref);
SpawnEnemy(enemyIndex);
}
private void SpawnEnemy(int enemyIndex)
{
//Debug.Log("try");
int maxSpawnTries = TileManagment.levelTiles.Count;
TileInfo targetPos = TileManagment.GetRandomOwnerTile(TileOwner.Neutral);
List<TileInfo> adjNeutralTiles = TileManagment.GetOwnerAdjacentTiles(targetPos, TileOwner.Neutral); //try random Tile
if (adjNeutralTiles.Count < 6)
{
int startTileIndex = TileManagment.charTiles[(int)TileOwner.Neutral].IndexOf(targetPos);
for (int i = startTileIndex + 1; i < TileManagment.charTiles[(int)TileOwner.Neutral].Count; i++)
{
targetPos = TileManagment.levelTiles[i];
adjNeutralTiles = TileManagment.GetOwnerAdjacentTiles(targetPos, TileOwner.Neutral);
if (adjNeutralTiles.Count == 6)
{
break;
}
}
}
if (adjNeutralTiles.Count < 6)
{
int startTileIndex = TileManagment.charTiles[(int)TileOwner.Neutral].IndexOf(targetPos);
for (int i = startTileIndex - 1; i >0; i--)
{
targetPos = TileManagment.levelTiles[i];
adjNeutralTiles = TileManagment.GetOwnerAdjacentTiles(targetPos, TileOwner.Neutral);
if (adjNeutralTiles.Count == 6)
{
break;
}
}
}
if (adjNeutralTiles.Count < 6)
{
return;
}
//Debug.Log("inst");
var enemy = Instantiate(charPrefs[enemyIndex], targetPos.tilePosition, charPrefs[enemyIndex].transform.rotation).GetComponent<PlayerState>();
TileManagment.ChangeTileOwnerSilent(targetPos, enemy);
foreach (var tile in adjNeutralTiles)
{
TileManagment.ChangeTileOwnerSilent(tile, enemy);
}
GameManager.activePlayers.Add(enemy);
GameManager.players.Add(enemy);
OnPlayerSpawned?.Invoke();
}
private void SpawStartEnemies()
{
int numberOfEnemies = GameData.gameMaxPlayers - 1;
for (int i = 0; i < numberOfEnemies; i++)
{
SpawnEnemy(i);
}
/*for (int i = 0; i < TileManagment.charTiles.Count; i++)
{
List<GameObject> charTreeList = new List<GameObject>();
charTrees.Add(charTreeList); //init empty lists for character trees
Queue<GameObject> charTreeQueue = new Queue<GameObject>(TileManagment.levelTiles.Count);
spawningTrees.Add(charTreeQueue);
}*/
}
private void CheckForSpawn()
{
Debug.Log("active players "+ GameManager.activePlayers.Count);
if (GameManager.activePlayers.Count < GameData.gameMaxPlayers)
{
SetupNewPlayerSpawn();
}
}
}

View File

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

View File

@ -100,7 +100,7 @@ public class DeathChecker : MonoBehaviour
public void MakeDeadPermanent(PlayerState player)
{
int playerIndex = GameManager.players.IndexOf(player);
lastDeathTime[playerIndex] = Time.time;
//lastDeathTime[playerIndex] = Time.time;
//GameManager.UpdatePlayers(player);
OnPlayerDeathPermanent?.Invoke(player);
@ -187,7 +187,7 @@ public class DeathChecker : MonoBehaviour
TileManagment.SetEasyCapState(playerTiles, true);
player.SetDead();
Debug.Log("player " + player.name + " dead");
//Debug.Log("player " + player.name + " dead");
if (deathParticles)
{
@ -206,6 +206,9 @@ public class DeathChecker : MonoBehaviour
StartCoroutine(GoToMenuAfter(3f));
}
//////////////////////////PLAYER DEATH//////////////
CharSpawner.OnPlayerSpawned -= player.ResetEnemies;
Destroy(player.gameObject); //for test purp
}
private IEnumerator GoToMenuAfter(float time)

View File

@ -7,6 +7,8 @@ public class GameData : MonoBehaviour
{
public static int coins = 0;
public static int playerLevel = 5;
public static int gameMaxPlayers = 3;
public static int possibleMaxPlayers = 4;
public static Action OnCoinsCollected;
public static void AddCoin(int amount)

View File

@ -12,7 +12,7 @@ public class GameManager : MonoBehaviour
public static List<PlayerState> tempDeadPlayers = new List<PlayerState>();
public static List<PlayerState> deadPlayers = new List<PlayerState>();
//public List<PlayerState>playersNOnStatic = new List<PlayerState>();
public static List<TileOwner> deadOwners = new List<TileOwner>();
public static int coinsPerTree = 50;
@ -63,7 +63,13 @@ public class GameManager : MonoBehaviour
{
Debug.Log("destroyed perm " + deadPlayer.name);
activePlayers.Remove(deadPlayer);
deadPlayers.Add(deadPlayer);
players.Remove(deadPlayer);
foreach (var player in activePlayers)
{
player.ResetEnemies();
}
deadOwners.Add(deadPlayer.ownerIndex);
//deadPlayers.Add(deadPlayer);
}
private List<PlayerState> FindPlayers()

View File

@ -31,7 +31,7 @@ public class TileManagment : MonoBehaviour
//OnInitialized = null;
//OnAnyTileCaptured = null;
InitTileManager();
Debug.Log("tile offset is " + tileOffset + " points");
//Debug.Log("tile offset is " + tileOffset + " points");
}
private void InitTileManager()
@ -109,6 +109,24 @@ public class TileManagment : MonoBehaviour
}
public static void ChangeTileOwnerSilent(TileInfo tile, PlayerState newPlayer)
{
tile.easyCaptureForAll = false;
TileOwner newOwner = newPlayer.ownerIndex;
TileOwner oldOwner = tile.tileOwnerIndex;
tile.tileOwnerIndex = newOwner;
tile.GetComponent<Renderer>().material = tileMaterialsStatic[(int)tile.tileOwnerIndex];
charTiles[(int)newOwner].Add(tile);
charTiles[(int)oldOwner].Remove(tile);
//OnAnyTileCaptured?.Invoke(newPlayer);
//CheckSurroundedTiles(levelTiles, newOwner, oldOwner);
//SetAllPLayersTilesCapState(GameManager.activePlayers);
}
public static void AssignBuildingToTile(TileInfo tile, GameObject building)
{
tile.buildingOnTile = building;
@ -193,6 +211,19 @@ public class TileManagment : MonoBehaviour
}
}
public static TileInfo GetRandomOwnerTile(TileOwner owner)
{
int targetOwner = (int)owner;
var searchingTiles = charTiles[targetOwner];
while (searchingTiles.Count == 0 || targetOwner != (int)owner)
{
searchingTiles = charTiles[targetOwner];
}
int randomTileIndex = UnityEngine.Random.Range(0, searchingTiles.Count);
TileInfo ownerTile = searchingTiles[randomTileIndex];
return ownerTile;
}
public static List<TileInfo> GetOtherTiles(TileInfo currentTile, TileOwner ownerIndex)
{
List<TileInfo> otherTiles = new List<TileInfo>();

View File

@ -38,7 +38,7 @@ public class HealthController : MonoBehaviour
if (currentHealth <= 0)
{
Die();
Debug.Log("Dead");
//Debug.Log("Dead");
}
}

View File

@ -30,12 +30,30 @@ public class PlayerState : MonoBehaviour
public List<PlayerState> enemies;
private bool isInitialized = false;
private void Awake()
{
TileManagment.OnInitialized += SetStartParams;
CharSpawner.OnPlayerSpawned += ResetEnemies;
// DeathChecker.OnPlayerDeathPermanent += ResetEnemies;
OnCharStateChanged += OnStateChanged;
}
private void Start()
{
if (!isInitialized)
{
SetStartParams();
}
}
public void ResetEnemies()
{
enemies.Clear();
enemies = SetEnemies();
}
private void OnStateChanged(CharacterState newState)
{
switch (newState)
@ -105,7 +123,8 @@ public class PlayerState : MonoBehaviour
currentActionTarget = null;
enemies = SetEnemies();
//Debug.Log("player state init");
OnInitializied?.Invoke();
OnInitializied?.Invoke();
isInitialized = true;
}
private List<PlayerState> SetEnemies()