enemy turn system + player script + bugfix

This commit is contained in:
Залетов Федор 2022-01-13 11:00:37 +03:00
parent 573b3fda65
commit afd57a1a23
833 changed files with 8970 additions and 966 deletions

Binary file not shown.

50
Assets/BaseEnemyTurn.cs Normal file
View File

@ -0,0 +1,50 @@
using System.Collections.Generic;
using System;
using UnityEditor;
using UnityEngine;
using UnityEngine.Events;
public class BaseEnemyTurn : MonoBehaviour
{
public static BaseEnemyTurn basic;
public List<EnemyLoopTurn> enemyLoopTurns;
public GameObject currentEnemy;
private void Awake()
{
if (basic != null && basic != this)
{
Debug.LogWarning("2 base enemy turn on the scene");
Destroy(this);
return;
}
basic = this;
}
public void FindLoopTurn(GameObject _enemy, int _phaseAttack)
{
for(int i = 0; i < enemyLoopTurns.Count; i++)
{
if(enemyLoopTurns[i].config == _enemy.GetComponent<Enemy>().enemyConfig)
{
currentEnemy = _enemy;
int _phase = _phaseAttack % enemyLoopTurns[i].attackLoop.Count;
Debug.Log(_phase + " " + _enemy.name);
enemyLoopTurns[i].attackLoop[_phase]?.Invoke();
return;
}
}
Debug.LogError("Loop not found");
}
}
[Serializable]
public class EnemyLoopTurn
{
[Tooltip("the config is necessary to find the right chain of actions")]
public EnemyConfig config;
public List<UnityEvent> attackLoop = new List<UnityEvent>();
}

View File

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

View File

@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using UnityEditor;
public class LibraryTurnMethods : MonoBehaviour
{
public void Attack()
{
Enemy _enemy = BaseEnemyTurn.basic.currentEnemy.GetComponent<Enemy>();
Player.main.ChangeHp(_enemy.enemyConfig.enemyCharacteristics.damage);
}
public void Healing()
{
Enemy _enemy = BaseEnemyTurn.basic.currentEnemy.GetComponent<Enemy>();
int _healing =
_enemy.enemyConfig.enemyCharacteristics.healing;
Debug.Log(_enemy + " " + _healing);
_enemy.ChangeHp(-_healing);
}
}

View File

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

View File

@ -61,6 +61,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0} m_Color: {r: 1, g: 1, b: 1, a: 0}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -89,6 +90,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 3 m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -119,6 +121,7 @@ MonoBehaviour:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls:
- m_Target: {fileID: 8062193537357689324} - m_Target: {fileID: 8062193537357689324}
m_TargetAssemblyTypeName:
m_MethodName: OnClick m_MethodName: OnClick
m_Mode: 1 m_Mode: 1
m_Arguments: m_Arguments:
@ -189,6 +192,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -267,6 +271,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -341,6 +346,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -419,6 +425,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -491,6 +498,13 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
cardConfig: {fileID: 11400000, guid: 5169032180a01ac43905ed44dbad9b24, type: 2} cardConfig: {fileID: 11400000, guid: 5169032180a01ac43905ed44dbad9b24, type: 2}
attackLoop:
- m_PersistentCalls:
m_Calls: []
- m_PersistentCalls:
m_Calls: []
- m_PersistentCalls:
m_Calls: []
number: 0 number: 0
cardObject: {fileID: 3374814057080039205} cardObject: {fileID: 3374814057080039205}
picture: {fileID: 5929972977001169469} picture: {fileID: 5929972977001169469}
@ -567,6 +581,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -645,6 +660,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -723,6 +739,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:

View File

@ -43,7 +43,7 @@ RenderSettings:
--- !u!157 &3 --- !u!157 &3
LightmapSettings: LightmapSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 11 serializedVersion: 12
m_GIWorkflowMode: 1 m_GIWorkflowMode: 1
m_GISettings: m_GISettings:
serializedVersion: 2 serializedVersion: 2
@ -98,7 +98,7 @@ LightmapSettings:
m_TrainingDataDestination: TrainingData m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4 m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0} m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1 m_LightingSettings: {fileID: 4890085278179872738, guid: 727470f1003b0d84ea84cdd280a59b2b, type: 2}
--- !u!196 &4 --- !u!196 &4
NavMeshSettings: NavMeshSettings:
serializedVersion: 2 serializedVersion: 2
@ -118,6 +118,8 @@ NavMeshSettings:
manualTileSize: 0 manualTileSize: 0
tileSize: 256 tileSize: 256
accuratePlacement: 0 accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug: debug:
m_Flags: 0 m_Flags: 0
m_NavMeshData: {fileID: 0} m_NavMeshData: {fileID: 0}
@ -176,6 +178,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 0 m_Mode: 0
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -264,6 +267,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -342,6 +346,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -414,6 +419,7 @@ SpriteRenderer:
m_LightProbeUsage: 1 m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1 m_ReflectionProbeUsage: 1
m_RayTracingMode: 0 m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
@ -501,6 +507,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -575,6 +582,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 0, a: 1} m_Color: {r: 1, g: 0, b: 0, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -649,6 +657,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -727,6 +736,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -795,6 +805,7 @@ SpriteRenderer:
m_LightProbeUsage: 1 m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1 m_ReflectionProbeUsage: 1
m_RayTracingMode: 0 m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
@ -882,6 +893,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -941,7 +953,7 @@ RectTransform:
- {fileID: 1443397809} - {fileID: 1443397809}
- {fileID: 888543789} - {fileID: 888543789}
m_Father: {fileID: 1480860662} m_Father: {fileID: 1480860662}
m_RootOrder: 2 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
@ -963,6 +975,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1008,6 +1021,9 @@ MonoBehaviour:
enemyHp: {fileID: 2062929834} enemyHp: {fileID: 2062929834}
enemyHealthbar: {fileID: 1443397810} enemyHealthbar: {fileID: 1443397810}
hp: 0 hp: 0
phaseAttack: 0
attackLoop: []
index: 0
--- !u!1 &501741110 --- !u!1 &501741110
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1060,6 +1076,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 0, a: 1} m_Color: {r: 1, g: 0, b: 0, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1145,6 +1162,7 @@ MonoBehaviour:
- {fileID: 73259540} - {fileID: 73259540}
- {fileID: 1174871651} - {fileID: 1174871651}
stamina: 0 stamina: 0
waitingEnemyTurn: 0
--- !u!20 &519420031 --- !u!20 &519420031
Camera: Camera:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1220,6 +1238,7 @@ MonoBehaviour:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls:
- m_Target: {fileID: 770121095} - m_Target: {fileID: 770121095}
m_TargetAssemblyTypeName:
m_MethodName: SetActive m_MethodName: SetActive
m_Mode: 6 m_Mode: 6
m_Arguments: m_Arguments:
@ -1230,6 +1249,45 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 1 m_BoolArgument: 1
m_CallState: 2 m_CallState: 2
onDefeat:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1128828789}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 1718398096}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
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
- m_Target: {fileID: 1135022039}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
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
enemyPositions: enemyPositions:
- {fileID: 258774032} - {fileID: 258774032}
- {fileID: 1278751374} - {fileID: 1278751374}
@ -1239,12 +1297,10 @@ MonoBehaviour:
- {fileID: 1271226751} - {fileID: 1271226751}
- {fileID: 424260587} - {fileID: 424260587}
playerPosition: {fileID: 71094363} playerPosition: {fileID: 71094363}
playerName: {fileID: 804817851} player: {fileID: 2101519803}
playerMaxHp: {fileID: 44604190}
playerHp: {fileID: 58824884}
playerHealthbar: {fileID: 1593438719}
numberPhase: 1 numberPhase: 1
quantityEnemies: 0 quantityEnemies: 0
currentEnemies: []
--- !u!1 &596008590 --- !u!1 &596008590
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1298,6 +1354,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.2627451, g: 0.2627451, b: 0.2627451, a: 1} m_Color: {r: 0.2627451, g: 0.2627451, b: 0.2627451, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1422,7 +1479,7 @@ RectTransform:
- {fileID: 9106519} - {fileID: 9106519}
- {fileID: 1390723402} - {fileID: 1390723402}
m_Father: {fileID: 1480860662} m_Father: {fileID: 1480860662}
m_RootOrder: 0 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
@ -1444,6 +1501,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1489,6 +1547,23 @@ MonoBehaviour:
enemyHp: {fileID: 1539474213} enemyHp: {fileID: 1539474213}
enemyHealthbar: {fileID: 9106520} enemyHealthbar: {fileID: 9106520}
hp: 0 hp: 0
phaseAttack: 0
attackLoop:
- m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 11500000, guid: bb773d3a31f3ff84d9872e7cee1125bd, type: 3}
m_TargetAssemblyTypeName:
m_MethodName:
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
index: 0
--- !u!1 &747611652 --- !u!1 &747611652
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1541,6 +1616,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 1} m_Color: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1615,6 +1691,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1693,6 +1770,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 3 m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -1700,7 +1778,7 @@ MonoBehaviour:
m_Transition: 1 m_Transition: 1
m_Colors: m_Colors:
m_NormalColor: {r: 0.21960786, g: 0.21960786, b: 0.21960786, a: 0} m_NormalColor: {r: 0.21960786, g: 0.21960786, b: 0.21960786, a: 0}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_HighlightedColor: {r: 0.21960786, g: 0.21960786, b: 0.21960786, a: 0}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0} m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 0} m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 0}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0} m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0}
@ -1723,11 +1801,12 @@ MonoBehaviour:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls:
- m_Target: {fileID: 519420030} - m_Target: {fileID: 519420030}
m_MethodName: Action m_TargetAssemblyTypeName: DeckManager, Assembly-CSharp
m_Mode: 2 m_MethodName: ActionInPlayer
m_Mode: 1
m_Arguments: m_Arguments:
m_ObjectArgument: {fileID: 2101519803} m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.GameObject, UnityEngine m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0 m_IntArgument: 0
m_FloatArgument: 0 m_FloatArgument: 0
m_StringArgument: m_StringArgument:
@ -1748,6 +1827,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1822,6 +1902,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -1900,6 +1981,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 1} m_Color: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2009,6 +2091,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2087,6 +2170,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 3 m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -2117,6 +2201,7 @@ MonoBehaviour:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls:
- m_Target: {fileID: 519420030} - m_Target: {fileID: 519420030}
m_TargetAssemblyTypeName:
m_MethodName: ActionInEnemy m_MethodName: ActionInEnemy
m_Mode: 2 m_Mode: 2
m_Arguments: m_Arguments:
@ -2142,6 +2227,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2216,6 +2302,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2294,6 +2381,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2320,6 +2408,85 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1093410812} m_GameObject: {fileID: 1093410812}
m_CullTransparentMesh: 0 m_CullTransparentMesh: 0
--- !u!1 &1128828789
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1128828790}
- component: {fileID: 1128828792}
- component: {fileID: 1128828791}
m_Layer: 5
m_Name: Defeat
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1128828790
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1128828789}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.9390976, y: 1.9390976, z: 1.9390976}
m_Children: []
m_Father: {fileID: 1302787964}
m_RootOrder: 6
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.00001526, y: 0.00001049}
m_SizeDelta: {x: 1713.5695, y: 338.06305}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1128828791
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1128828789}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 0, 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_FontData:
m_Font: {fileID: 12800000, guid: 0598d25ccfa0d93409546a6ced54eaf1, type: 3}
m_FontSize: 300
m_FontStyle: 3
m_BestFit: 0
m_MinSize: 3
m_MaxSize: 300
m_Alignment: 7
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: DEFEAT
--- !u!222 &1128828792
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1128828789}
m_CullTransparentMesh: 0
--- !u!1 &1135022039 --- !u!1 &1135022039
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2412,6 +2579,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 1} m_Color: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2486,6 +2654,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2654,6 +2823,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.392} m_Color: {r: 1, g: 1, b: 1, a: 0.392}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2744,7 +2914,7 @@ RectTransform:
- {fileID: 1987347243} - {fileID: 1987347243}
- {fileID: 1767372939} - {fileID: 1767372939}
m_Father: {fileID: 1480860662} m_Father: {fileID: 1480860662}
m_RootOrder: 1 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
@ -2766,6 +2936,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -2811,6 +2982,9 @@ MonoBehaviour:
enemyHp: {fileID: 296641238} enemyHp: {fileID: 296641238}
enemyHealthbar: {fileID: 1987347244} enemyHealthbar: {fileID: 1987347244}
hp: 0 hp: 0
phaseAttack: 0
attackLoop: []
index: 0
--- !u!1 &1278751374 --- !u!1 &1278751374
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2857,6 +3031,7 @@ SpriteRenderer:
m_LightProbeUsage: 1 m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1 m_ReflectionProbeUsage: 1
m_RayTracingMode: 0 m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
@ -2950,6 +3125,7 @@ MonoBehaviour:
m_FallbackScreenDPI: 96 m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96 m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1 m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!223 &1302787963 --- !u!223 &1302787963
Canvas: Canvas:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2987,6 +3163,8 @@ RectTransform:
- {fileID: 1480860662} - {fileID: 1480860662}
- {fileID: 2101519804} - {fileID: 2101519804}
- {fileID: 1718398097} - {fileID: 1718398097}
- {fileID: 1357456000}
- {fileID: 1128828790}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -3117,6 +3295,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -3143,6 +3322,115 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1337029629} m_GameObject: {fileID: 1337029629}
m_CullTransparentMesh: 0 m_CullTransparentMesh: 0
--- !u!1 &1357455999
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1357456000}
- component: {fileID: 1357456001}
- component: {fileID: 1357456002}
m_Layer: 5
m_Name: BaseEnemyTurn
m_TagString: Untagged
m_Icon: {fileID: 2800000, guid: 48d034c499ee4697af9dd6e327110249, type: 3}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1357456000
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1357455999}
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: 1302787964}
m_RootOrder: 5
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, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1357456001
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1357455999}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 612089f16e66d00488dccd03e47c4582, type: 3}
m_Name:
m_EditorClassIdentifier:
enemyLoopTurns:
- config: {fileID: 11400000, guid: b9a9200a18ccfab4eb3d8871e3c75a3f, type: 2}
attackLoop:
- m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1357456002}
m_TargetAssemblyTypeName: LibraryTurnMethods, Assembly-CSharp
m_MethodName: Attack
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
- config: {fileID: 11400000, guid: 311edf240c8ea15449adcfbad6d87fbe, type: 2}
attackLoop:
- m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1357456002}
m_TargetAssemblyTypeName: LibraryTurnMethods, Assembly-CSharp
m_MethodName: Attack
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
- m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1357456002}
m_TargetAssemblyTypeName: LibraryTurnMethods, Assembly-CSharp
m_MethodName: Healing
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
currentEnemy: {fileID: 0}
--- !u!114 &1357456002
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1357455999}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bd479503eca378348bbe2b8d5b53b364, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1390723401 --- !u!1 &1390723401
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -3195,6 +3483,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 3 m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -3225,6 +3514,7 @@ MonoBehaviour:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls:
- m_Target: {fileID: 519420030} - m_Target: {fileID: 519420030}
m_TargetAssemblyTypeName:
m_MethodName: ActionInEnemy m_MethodName: ActionInEnemy
m_Mode: 2 m_Mode: 2
m_Arguments: m_Arguments:
@ -3250,6 +3540,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -3324,6 +3615,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -3405,6 +3697,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 0 m_Mode: 0
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -3468,9 +3761,9 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 718877045}
- {fileID: 1271226752} - {fileID: 1271226752}
- {fileID: 424260588} - {fileID: 424260588}
- {fileID: 718877045}
m_Father: {fileID: 1302787964} m_Father: {fileID: 1302787964}
m_RootOrder: 2 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -3531,6 +3824,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -3603,6 +3897,7 @@ SpriteRenderer:
m_LightProbeUsage: 1 m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1 m_ReflectionProbeUsage: 1
m_RayTracingMode: 0 m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
@ -3690,6 +3985,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -3768,6 +4064,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 0, a: 1} m_Color: {r: 1, g: 0, b: 0, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -3845,6 +4142,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 0 m_Mode: 0
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -3934,6 +4232,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 3 m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -3964,15 +4263,16 @@ MonoBehaviour:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls:
- m_Target: {fileID: 519420030} - m_Target: {fileID: 519420030}
m_TargetAssemblyTypeName: DeckManager, Assembly-CSharp
m_MethodName: EndTurn m_MethodName: EndTurn
m_Mode: 1 m_Mode: 6
m_Arguments: m_Arguments:
m_ObjectArgument: {fileID: 0} m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0 m_IntArgument: 0
m_FloatArgument: 0 m_FloatArgument: 0
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 1
m_CallState: 2 m_CallState: 2
--- !u!114 &1718398099 --- !u!114 &1718398099
MonoBehaviour: MonoBehaviour:
@ -3989,6 +4289,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -4063,6 +4364,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 3 m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -4093,6 +4395,7 @@ MonoBehaviour:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls:
- m_Target: {fileID: 519420030} - m_Target: {fileID: 519420030}
m_TargetAssemblyTypeName:
m_MethodName: ActionInEnemy m_MethodName: ActionInEnemy
m_Mode: 2 m_Mode: 2
m_Arguments: m_Arguments:
@ -4118,6 +4421,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -4192,6 +4496,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -4273,6 +4578,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 0 m_Mode: 0
m_WrapAround: 0
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -4361,6 +4667,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 0, a: 1} m_Color: {r: 1, g: 0, b: 0, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -4435,6 +4742,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -4513,6 +4821,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
@ -4548,6 +4857,7 @@ GameObject:
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 2101519804} - component: {fileID: 2101519804}
- component: {fileID: 2101519805}
m_Layer: 5 m_Layer: 5
m_Name: Player m_Name: Player
m_TagString: Untagged m_TagString: Untagged
@ -4579,6 +4889,25 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100} m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2101519805
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2101519803}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a797a7d28ee3d2d4c85df06375b9a2c7, type: 3}
m_Name:
m_EditorClassIdentifier:
playerName: {fileID: 804817851}
playerMaxHp: {fileID: 44604190}
playerHp: {fileID: 58824884}
playerHealthbar: {fileID: 1593438719}
playerConfig: {fileID: 0}
playerPosition: {fileID: 0}
hp: 0
--- !u!1 &2146044858 --- !u!1 &2146044858
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -4631,6 +4960,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 1} m_Color: {r: 0.26415092, g: 0.26415092, b: 0.26415092, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:

View File

@ -0,0 +1,63 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!850595691 &4890085278179872738
LightingSettings:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: SampleSceneSettings
serializedVersion: 3
m_GIWorkflowMode: 1
m_EnableBakedLightmaps: 0
m_EnableRealtimeLightmaps: 0
m_RealtimeEnvironmentLighting: 1
m_BounceScale: 1
m_AlbedoBoost: 1
m_IndirectOutputScale: 1
m_UsingShadowmask: 1
m_BakeBackend: 0
m_LightmapMaxSize: 1024
m_BakeResolution: 40
m_Padding: 2
m_TextureCompression: 1
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAO: 0
m_MixedBakeMode: 2
m_LightmapsBakeMode: 1
m_FilterMode: 1
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_RealtimeResolution: 2
m_ForceWhiteAlbedo: 0
m_ForceUpdates: 0
m_FinalGather: 0
m_FinalGatherRayCount: 256
m_FinalGatherFiltering: 1
m_PVRCulling: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 500
m_PVREnvironmentSampleCount: 500
m_PVREnvironmentReferencePointCount: 2048
m_LightProbeSampleCountMultiplier: 4
m_PVRBounces: 2
m_PVRMinBounces: 2
m_PVREnvironmentMIS: 0
m_PVRFilteringMode: 2
m_PVRDenoiserTypeDirect: 0
m_PVRDenoiserTypeIndirect: 0
m_PVRDenoiserTypeAO: 0
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 727470f1003b0d84ea84cdd280a59b2b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,13 +1,17 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI; using UnityEngine.UI;
public class Card : MonoBehaviour public class Card : MonoBehaviour
{ {
[SerializeField] private CardConfig cardConfig; [SerializeField] private CardConfig cardConfig;
[Space(3)] [Space(3)]
[HideInInspector] public int number; [HideInInspector] public int number;
[Header("DON'T TOUCH THIS! IT STANDART PRESET!")] [Header("DON'T TOUCH THIS! IT STANDART PRESET!")]
[SerializeField] private GameObject cardObject; [SerializeField] private GameObject cardObject;
[SerializeField] private Image picture; [SerializeField] private Image picture;

View File

@ -1,21 +1,27 @@
using System; using System.Collections.Generic;
using System;
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using UnityEngine.Events;
[CreateAssetMenu(fileName = "EnemyConfig")] [CreateAssetMenu(fileName = "EnemyConfig")]
public class EnemyConfig : ScriptableObject public class EnemyConfig : ScriptableObject
{ {
public EnemyCharacteristics enemyCharacteristics; public EnemyCharacteristics enemyCharacteristics;
} }
[Serializable] [Serializable]
public class EnemyCharacteristics public class EnemyCharacteristics
{ {
public string name; public string name;
public int maxHp; public int maxHp;
public int damage;
public int healing;
public Sprite sprite; public Sprite sprite;
[Range (1,3)] [Range(1, 3)]
public int minimumPosition; public int minimumPosition;
[Range (1,3)] [Range(1, 3)]
public int maximumPosition; public int maximumPosition;
}
}

View File

@ -15,6 +15,37 @@ MonoBehaviour:
enemyCharacteristics: enemyCharacteristics:
name: Snake name: Snake
maxHp: 10 maxHp: 10
damage: 1
healing: 0
sprite: {fileID: 21300000, guid: 3cd50817f068be2499e7e3509dc6c1e7, type: 3} sprite: {fileID: 21300000, guid: 3cd50817f068be2499e7e3509dc6c1e7, type: 3}
minimumPosition: 1 minimumPosition: 1
maximumPosition: 2 maximumPosition: 2
attackLoop:
- m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 11500000, guid: bb773d3a31f3ff84d9872e7cee1125bd, type: 3}
m_TargetAssemblyTypeName:
m_MethodName:
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 11400000}
m_TargetAssemblyTypeName:
m_MethodName:
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2

View File

@ -15,6 +15,9 @@ MonoBehaviour:
enemyCharacteristics: enemyCharacteristics:
name: Zombie name: Zombie
maxHp: 15 maxHp: 15
damage: 2
healing: 2
sprite: {fileID: 21300000, guid: aab1740fef9fe4145aef437cf6873127, type: 3} sprite: {fileID: 21300000, guid: aab1740fef9fe4145aef437cf6873127, type: 3}
minimumPosition: 1 minimumPosition: 1
maximumPosition: 3 maximumPosition: 3
attackLoop: []

View File

@ -0,0 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4bf4cbb13736ac54f8e9fdca4327535f, type: 3}
m_Name: One
m_EditorClassIdentifier:
characterCharacteristics:
namePlayer:
maxHp: 0
maxStamina: 0
sprite: {fileID: 0}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 97caade20631e134b8c91a0b8e0302e0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -15,6 +15,8 @@ public class DeckManager : MonoBehaviour
[Header("Stamina")] [Header("Stamina")]
[SerializeField] private List<Image> staminaCells = new List<Image>(); [SerializeField] private List<Image> staminaCells = new List<Image>();
[HideInInspector] public int stamina; [HideInInspector] public int stamina;
public bool waitingEnemyTurn = false;
private void Start() private void Start()
{ {
stamina = 3; stamina = 3;
@ -24,6 +26,7 @@ public class DeckManager : MonoBehaviour
public void HandingOut() public void HandingOut()
{ {
for (int i = 0; i < 5; i++) for (int i = 0; i < 5; i++)
{ {
if (currentDeck.Count > 0) if (currentDeck.Count > 0)
@ -60,8 +63,9 @@ public class DeckManager : MonoBehaviour
} }
} }
} }
public void EndTurn() public void EndTurn(bool enemyTurn)
{ {
if (waitingEnemyTurn) return;
for (int i = 0; i < 5; i++) for (int i = 0; i < 5; i++)
{ {
if (CardInTable[i] != null) if (CardInTable[i] != null)
@ -73,15 +77,20 @@ public class DeckManager : MonoBehaviour
if (stamina < 3) if (stamina < 3)
NewStaminaQuantity(stamina + 1); NewStaminaQuantity(stamina + 1);
//нужна корутина для вражеского хода //нужна корутина для вражеского хода
HandingOut(); if (enemyTurn)
StartCoroutine(EnemyStep());
//а, вот же она
} }
public void ActionInEnemy(Enemy enemy) public void ActionInEnemy(Enemy enemy)
{ {
if (waitingEnemyTurn) return;
if (currentCard == null) return; if (currentCard == null) return;
if(currentCard.CardCharacteristics.damage > 0) if (currentCard.CardCharacteristics.damage > 0)
{ {
enemy.ChangeHp(currentCard.CardCharacteristics.damage); enemy.ChangeHp(currentCard.CardCharacteristics.damage);
} else if (currentCard.CardCharacteristics.healing > 0) }
else if (currentCard.CardCharacteristics.healing > 0)
{ {
enemy.ChangeHp(-currentCard.CardCharacteristics.healing); enemy.ChangeHp(-currentCard.CardCharacteristics.healing);
} }
@ -92,7 +101,26 @@ public class DeckManager : MonoBehaviour
} }
public void ActionInPlayer() public void ActionInPlayer()
{ {
if (waitingEnemyTurn) return;
if (currentCard == null) return;
if (currentCard.CardCharacteristics.damage > 0)
{
Player.main.ChangeHp(currentCard.CardCharacteristics.damage);
}
else if (currentCard.CardCharacteristics.healing > 0)
{
Player.main.ChangeHp(-currentCard.CardCharacteristics.healing);
}
NewStaminaQuantity(stamina - currentCard.CardCharacteristics.quantityStamina);
CardInTable[numberCurrentCard].GetComponent<Card>().DestroyObject();
currentCard = null;
}
IEnumerator EnemyStep()
{
waitingEnemyTurn = true;
Session.instance.EnemiesStep();
yield return new WaitForSeconds(0.5f);
waitingEnemyTurn = false;
HandingOut();
} }
} }

View File

@ -1,28 +1,40 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI; using UnityEngine.UI;
public class Enemy : MonoBehaviour public class Enemy : MonoBehaviour
{ {
public EnemyConfig enemyConfig; public EnemyConfig enemyConfig;
public GameObject enemyPosition; public GameObject enemyPosition;
[SerializeField] private Text enemyName; [SerializeField] private Text enemyName;
[SerializeField] private Text enemyMaxHp; [SerializeField] private Text enemyMaxHp;
[SerializeField] private Text enemyHp; [SerializeField] private Text enemyHp;
[SerializeField] private Slider enemyHealthbar; [SerializeField] private Slider enemyHealthbar;
[SerializeField] private int hp; [SerializeField] private int hp;
[Header("For checking. dont touch this")]
[SerializeField] int phaseAttack = 0;
public List<UnityEvent> attackLoop = new List<UnityEvent>();
[HideInInspector] public int index;
public void ChangeHp(int damage) public void ChangeHp(int damage)
{ {
hp -= damage; hp -= damage;
if (hp<=0) if (hp <= 0)
{ {
Death(); Death();
} }
else if(hp > enemyConfig.enemyCharacteristics.maxHp) else if (hp > enemyConfig.enemyCharacteristics.maxHp)
{ {
hp = enemyConfig.enemyCharacteristics.maxHp; hp = enemyConfig.enemyCharacteristics.maxHp;
} }
@ -48,7 +60,13 @@ public class Enemy : MonoBehaviour
{ {
SpriteRenderer _sprRend = enemyPosition.GetComponent<SpriteRenderer>(); SpriteRenderer _sprRend = enemyPosition.GetComponent<SpriteRenderer>();
_sprRend.sprite = null; _sprRend.sprite = null;
Camera.main.GetComponent<Session>().EnemyDeath(); Session.instance.EnemyDeath(index);
gameObject.SetActive(false); gameObject.SetActive(false);
} }
public void Turn()
{
BaseEnemyTurn.basic.FindLoopTurn(this.gameObject, phaseAttack);
phaseAttack++;
}
} }

64
Assets/Scripts/Player.cs Normal file
View File

@ -0,0 +1,64 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Player : MonoBehaviour
{
public static Player main;
[Header("dont touch this. standart preset, change session")]
[SerializeField] private Text playerName;
[SerializeField] private Text playerMaxHp;
[SerializeField] private Text playerHp;
[SerializeField] private Slider playerHealthbar;
public PlayerConfig playerConfig;
public Transform playerPosition;
[SerializeField] private int hp;
private void Awake()
{
if (main != null && main != this)
{
Debug.LogWarning("2 session on the scene");
Destroy(this);
return;
}
main = this;
}
public void NewInformation()
{
SpriteRenderer _sprRend = playerPosition.GetComponent<SpriteRenderer>();
var _character = playerConfig.characterCharacteristics;
_sprRend.sprite = _character.sprite;
playerName.text = _character.namePlayer;
playerMaxHp.text = _character.maxHp.ToString();
playerHp.text = playerMaxHp.text;
playerHealthbar.maxValue = _character.maxHp;
playerHealthbar.value = playerHealthbar.maxValue;
hp = _character.maxHp;
}
public void ChangeHp(int damage)
{
hp -= damage;
if (hp <= 0)
{
hp = 0;
Death();
}
else if (hp > playerConfig.characterCharacteristics.maxHp)
{
hp = playerConfig.characterCharacteristics.maxHp;
}
playerMaxHp.text = hp.ToString();
playerHealthbar.value = hp;
}
public void Death()
{
Session.instance.Defeat();
}
}

View File

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

View File

@ -8,12 +8,14 @@ using UnityEngine.SceneManagement;
public class Session : MonoBehaviour public class Session : MonoBehaviour
{ {
public static Session instance;
[SerializeField] private PlayerConfig playerConfig; [SerializeField] private PlayerConfig playerConfig;
[SerializeField] private BattleConfig battleConfig; [SerializeField] private BattleConfig battleConfig;
[SerializeField] private UnityEvent onVictory; [SerializeField] private UnityEvent onVictory;
[SerializeField] private UnityEvent onDefeat;
@ -24,13 +26,9 @@ public class Session : MonoBehaviour
[SerializeField] private List<GameObject> enemyPositions = new List<GameObject>(); [SerializeField] private List<GameObject> enemyPositions = new List<GameObject>();
[SerializeField] private List<GameObject> enemies = new List<GameObject>(); [SerializeField] private List<GameObject> enemies = new List<GameObject>();
[Header("Player")] [Header("Player")]
[SerializeField] private Transform playerPosition; [SerializeField] private Transform playerPosition;
[SerializeField] private Text playerName; [SerializeField] private GameObject player;
[SerializeField] private Text playerMaxHp;
[SerializeField] private Text playerHp;
[SerializeField] private Slider playerHealthbar;
[Space(3)] [Space(3)]
@ -38,6 +36,19 @@ public class Session : MonoBehaviour
public int numberPhase = 1; public int numberPhase = 1;
public int quantityEnemies = 0; public int quantityEnemies = 0;
[SerializeField] private List<GameObject> currentEnemies = new List<GameObject>();
private void Awake()
{
if (instance != null && instance != this)
{
Debug.LogWarning("2 session on the scene");
Destroy(this);
return;
}
instance = this;
}
public void Start() public void Start()
{ {
CreatePlayer(); CreatePlayer();
@ -51,7 +62,8 @@ public class Session : MonoBehaviour
{ {
quantityEnemies++; quantityEnemies++;
EnemyConfig enemy = Randomizer(i, FP.enemies); EnemyConfig enemy = Randomizer(i, FP.enemies);
CreateEnemies(enemy, i); currentEnemies.Add(CreateEnemies(enemy, i));
} }
} }
@ -68,7 +80,8 @@ public class Session : MonoBehaviour
{ {
quantityEnemies++; quantityEnemies++;
EnemyConfig enemy = Randomizer(i, SP.enemies); EnemyConfig enemy = Randomizer(i, SP.enemies);
CreateEnemies(enemy, i); currentEnemies.Add(CreateEnemies(enemy, i));
} }
} }
@ -85,7 +98,8 @@ public class Session : MonoBehaviour
{ {
quantityEnemies++; quantityEnemies++;
EnemyConfig enemy = Randomizer(i, TP.enemies); EnemyConfig enemy = Randomizer(i, TP.enemies);
CreateEnemies(enemy, i); currentEnemies.Add(CreateEnemies(enemy, i));
} }
} }
@ -93,19 +107,24 @@ public class Session : MonoBehaviour
{ {
onVictory?.Invoke(); onVictory?.Invoke();
} }
public void Defeat()
public void EnemyDeath() {
onDefeat?.Invoke();
}
public void EnemyDeath(int index)
{ {
quantityEnemies--; quantityEnemies--;
if(quantityEnemies == 0) currentEnemies[index] = null;
if (quantityEnemies == 0)
{ {
StartCoroutine(ChekingCoroutine()); StartCoroutine(ChekingCoroutine());
} }
} }
IEnumerator ChekingCoroutine() IEnumerator ChekingCoroutine()
{ {
yield return new WaitForSeconds(1.0f); yield return new WaitForSeconds(0.5f);
if (numberPhase == 1 && battleConfig.battleCharacteristics.SecondPhase) if (numberPhase == 1 && battleConfig.battleCharacteristics.SecondPhase)
{ {
numberPhase++; numberPhase++;
@ -136,24 +155,33 @@ public class Session : MonoBehaviour
return _enemyConfigs[_numberEnemy]; return _enemyConfigs[_numberEnemy];
} }
public void CreateEnemies(EnemyConfig _config, int _position) public GameObject CreateEnemies(EnemyConfig _config, int _position)
{ {
Enemy _enemy = enemies[_position].GetComponent<Enemy>();
enemies[_position].SetActive(true); enemies[_position].SetActive(true);
enemies[_position].GetComponent<Enemy>().enemyPosition = enemyPositions[_position]; _enemy.enemyPosition = enemyPositions[_position];
enemies[_position].GetComponent<Enemy>().enemyConfig = _config; _enemy.enemyConfig = _config;
enemies[_position].GetComponent<Enemy>().NewInformation(); _enemy.NewInformation();
_enemy.index = _position;
return (enemies[_position]);
} }
public void CreatePlayer() public void CreatePlayer()
{ {
SpriteRenderer _sprRend = playerPosition.GetComponent<SpriteRenderer>(); player.GetComponent<Player>().playerPosition = playerPosition;
var _character = playerConfig.characterCharacteristics; player.GetComponent<Player>().playerConfig = playerConfig;
_sprRend.sprite = _character.sprite; player.GetComponent<Player>().NewInformation();
playerName.text = _character.namePlayer; }
playerMaxHp.text = _character.maxHp.ToString();
playerHp.text = playerMaxHp.text;
playerHealthbar.maxValue = _character.maxHp; public void EnemiesStep()
playerHealthbar.value = playerHealthbar.maxValue; {
for (int i = 0; i < currentEnemies.Count; i++)
{
if (currentEnemies[i] != null)
{
currentEnemies[i].GetComponent<Enemy>().Turn();
}
}
} }
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -5,7 +5,7 @@ m_ProjectFiles:
m_ContentTrackingEnabled: 1 m_ContentTrackingEnabled: 1
m_ModificationDate: m_ModificationDate:
serializedVersion: 2 serializedVersion: 2
ticks: 637775693366580527 ticks: 637775701382787131
m_Hash: 1047088217 m_Hash: 1047088217
m_LockFileStatus: m_LockFileStatus:
m_FilePath: C:/Users/Dara/Documents/1/PO/Packages/packages-lock.json m_FilePath: C:/Users/Dara/Documents/1/PO/Packages/packages-lock.json
@ -13,7 +13,7 @@ m_ProjectFiles:
m_ContentTrackingEnabled: 1 m_ContentTrackingEnabled: 1
m_ModificationDate: m_ModificationDate:
serializedVersion: 2 serializedVersion: 2
ticks: 637775693366620420 ticks: 637775804813421276
m_Hash: 1522590259 m_Hash: 1522590259
m_EmbeddedPackageManifests: m_EmbeddedPackageManifests:
m_ManifestsStatus: {} m_ManifestsStatus: {}

View File

@ -1 +1 @@
2fcb714a95a75016aff95620d60b750b b4db11b227f21399b8c465ccc9c9db12

Binary file not shown.

View File

@ -0,0 +1 @@
08d9793f7ad02e00.08d9793f858ac300

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
{"m_ExpandedPrefabGameObjectFileIDs":[],"m_ExpandedSceneGameObjectInstanceIDs":[],"m_ScrollY":0.0,"m_LastClickedFileID":0,"m_LastClickedInstanceID":0}

View File

@ -0,0 +1 @@
{"m_ScrollY":0.0,"m_ExpandedSceneGameObjectInstanceIDs":[],"m_LastClickedInstanceID":0,"m_OpenSceneGUIDs":[]}

View File

@ -1 +1 @@
{"m_ScrollY":0.0,"m_ExpandedSceneGameObjectInstanceIDs":[],"m_LastClickedInstanceID":0,"m_OpenSceneGUIDs":[]} {"m_ScrollY":0.0,"m_ExpandedSceneGameObjectInstanceIDs":[-1290],"m_LastClickedInstanceID":0,"m_OpenSceneGUIDs":["2cda990e2423bbf4892e6590ba056729"]}

View File

@ -0,0 +1 @@
{"m_ScrollY":0.0,"m_ExpandedPrefabGameObjectFileIDs":[3374814057080039205],"m_LastClickedFileID":3374814057080039205}

View File

@ -0,0 +1 @@
{"m_ScrollY":0.0,"m_ExpandedPrefabGameObjectFileIDs":[6430420715247838375,6430420715689402757],"m_LastClickedFileID":0}

View File

@ -0,0 +1 @@
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":false,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":false,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":true,"pivot":{"x":1040.9998779296875,"y":1359.739990234375,"z":0.0},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":183.8906707763672,"orthographic":true}

View File

@ -1 +1 @@
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":false,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":false,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":true,"pivot":{"x":-3.7004401683807375,"y":1.1114931106567383,"z":-0.5695116519927979},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":7.142680644989014,"orthographic":true} {"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":false,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":false,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":true,"pivot":{"x":960.0,"y":540.0,"z":0.0},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":1101.45361328125,"orthographic":true}

View File

@ -0,0 +1 @@
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":false,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":false,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":true,"pivot":{"x":389.57501220703127,"y":-184.57997131347657,"z":0.0},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":174.95281982421876,"orthographic":true}

View File

@ -0,0 +1 @@
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":true,"pivot":{"x":960.0001220703125,"y":547.7717895507813,"z":0.0},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":479.73388671875,"orthographic":true}

View File

@ -0,0 +1 @@
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":true,"pivot":{"x":366.2980651855469,"y":290.2071838378906,"z":-33.678253173828128},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":323.7328796386719,"orthographic":true}

View File

@ -1,2 +1,50 @@
Base path: 'C:/Program Files/Unity/Hub/Editor/2019.4.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2019.4.19f1/Editor/Data/PlaybackEngines' Base path: 'C:/Program Files/Unity/Hub/Editor/2019.4.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2019.4.19f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: preprocess
insize=2439 outsize=823 ok=1
Cmd: preprocess
insize=7643 outsize=2454 ok=1
Cmd: preprocess
insize=3499 outsize=1246 ok=1
Cmd: preprocess
insize=1633 outsize=547 ok=1
Cmd: preprocess
insize=12000 outsize=4583 ok=1
Cmd: preprocess
insize=3524 outsize=2639 ok=1
Cmd: preprocess
insize=4355 outsize=3655 ok=1
Cmd: preprocess
insize=3497 outsize=1293 ok=1
Cmd: preprocess
insize=10600 outsize=3936 ok=1
Cmd: preprocess
insize=3071 outsize=2724 ok=1
Cmd: preprocess
insize=4367 outsize=712 ok=1
Cmd: preprocess
insize=2414 outsize=2035 ok=1
Cmd: preprocess
insize=7822 outsize=2720 ok=1
Cmd: preprocess
insize=10585 outsize=3927 ok=1
Cmd: preprocess
insize=3549 outsize=1653 ok=1
Cmd: preprocess
insize=2397 outsize=857 ok=1
Cmd: preprocess
insize=7674 outsize=2466 ok=1
Cmd: preprocess
insize=2354 outsize=1124 ok=1
Cmd: compileSnippet
api=4 type=0 insize=5648 outsize=3702 kw=OUTLINE_ON UNDERLAY_ON pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR ok=1
Cmd: compileSnippet
api=4 type=1 insize=5648 outsize=934 kw=OUTLINE_ON UNDERLAY_ON pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR ok=1
Cmd: compileSnippet
api=4 type=0 insize=5648 outsize=3098 kw=OUTLINE_ON pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR ok=1
Cmd: compileSnippet
api=4 type=1 insize=5648 outsize=578 kw=OUTLINE_ON pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR ok=1
Cmd: compileSnippet
api=4 type=0 insize=5648 outsize=3098 kw= pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR ok=1
Cmd: compileSnippet
api=4 type=1 insize=5648 outsize=498 kw= pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR ok=1

View File

@ -0,0 +1,4 @@
Base path: 'C:/Program Files/Unity/Hub/Editor/2019.4.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2019.4.19f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler
Cmd: compileSnippet
api=4 type=0 insize=2984 outsize=1306 kw= pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR ok=1

View File

@ -0,0 +1,4 @@
Base path: 'C:/Program Files/Unity/Hub/Editor/2019.4.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2019.4.19f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler
Cmd: compileSnippet
api=4 type=1 insize=2984 outsize=470 kw= pd=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR ok=1

220
Logs/ApiUpdaterCheck.txt Normal file
View File

@ -0,0 +1,220 @@
[api-updater (non-obsolete-error-filter)] 12.01.2022 18:54:45 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 829,1633ms
moved types parse time: 50ms
candidates parse time : 1ms
C# parse time : 211ms
candidates check time : 41ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:05:00 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 86,767ms
moved types parse time: 43ms
candidates parse time : 1ms
C# parse time : 179ms
candidates check time : 69ms
console write time : 2ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:06:25 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 58,84ms
moved types parse time: 47ms
candidates parse time : 1ms
C# parse time : 164ms
candidates check time : 41ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:06:59 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 55,8508ms
moved types parse time: 47ms
candidates parse time : 1ms
C# parse time : 187ms
candidates check time : 44ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:07:02 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 63,0506ms
moved types parse time: 42ms
candidates parse time : 1ms
C# parse time : 170ms
candidates check time : 44ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:07:14 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 61,8329ms
moved types parse time: 46ms
candidates parse time : 1ms
C# parse time : 158ms
candidates check time : 53ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:39:47 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 91,0776ms
moved types parse time: 43ms
candidates parse time : 1ms
C# parse time : 148ms
candidates check time : 38ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:39:55 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 53,8606ms
moved types parse time: 52ms
candidates parse time : 0ms
C# parse time : 147ms
candidates check time : 33ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:41:09 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 64,8267ms
moved types parse time: 42ms
candidates parse time : 0ms
C# parse time : 144ms
candidates check time : 33ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 19:41:24 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 56,8788ms
moved types parse time: 42ms
candidates parse time : 0ms
C# parse time : 144ms
candidates check time : 33ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:02:49 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 858,9375ms
moved types parse time: 43ms
candidates parse time : 1ms
C# parse time : 221ms
candidates check time : 75ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:03:06 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 82,845ms
moved types parse time: 50ms
candidates parse time : 1ms
C# parse time : 172ms
candidates check time : 63ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:04:05 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 78,7882ms
moved types parse time: 50ms
candidates parse time : 1ms
C# parse time : 174ms
candidates check time : 74ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:04:24 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 82,778ms
moved types parse time: 50ms
candidates parse time : 1ms
C# parse time : 189ms
candidates check time : 72ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:04:46 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 72,262ms
moved types parse time: 47ms
candidates parse time : 1ms
C# parse time : 165ms
candidates check time : 49ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:04:50 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 75,7983ms
moved types parse time: 43ms
candidates parse time : 1ms
C# parse time : 175ms
candidates check time : 49ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:06:41 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 77,793ms
moved types parse time: 42ms
candidates parse time : 1ms
C# parse time : 148ms
candidates check time : 49ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:06:49 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 70,8432ms
moved types parse time: 42ms
candidates parse time : 0ms
C# parse time : 166ms
candidates check time : 50ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:07:00 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 69,817ms
moved types parse time: 47ms
candidates parse time : 1ms
C# parse time : 163ms
candidates check time : 49ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 12.01.2022 23:32:41 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 91,9385ms
moved types parse time: 49ms
candidates parse time : 1ms
C# parse time : 166ms
candidates check time : 36ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 13.01.2022 0:11:31 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 124,2972ms
moved types parse time: 45ms
candidates parse time : 1ms
C# parse time : 156ms
candidates check time : 38ms
console write time : 0ms
[api-updater (non-obsolete-error-filter)] 13.01.2022 0:26:35 : Starting C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Tools/ScriptUpdater/APIUpdater.NonObsoleteApiUpdaterDetector.exe
[api-updater (non-obsolete-error-filter)]
----------------------------------
jit/startup time : 114,6947ms
moved types parse time: 47ms
candidates parse time : 1ms
C# parse time : 165ms
candidates check time : 22ms
console write time : 0ms

View File

@ -11,19 +11,19 @@ C:\Program Files\Unity\Hub\Editor\2020.3.19f1\Editor\Unity.exe
-name -name
AssetImportWorker0 AssetImportWorker0
-projectPath -projectPath
C:/Users/Dara/Documents/Project_omega C:/Users/Dara/Documents/1/PO
-logFile -logFile
Logs/AssetImportWorker0.log Logs/AssetImportWorker0.log
-srvPort -srvPort
58978 50949
Successfully changed project path to: C:/Users/Dara/Documents/Project_omega Successfully changed project path to: C:/Users/Dara/Documents/1/PO
C:/Users/Dara/Documents/Project_omega C:/Users/Dara/Documents/1/PO
Using Asset Import Pipeline V2. Using Asset Import Pipeline V2.
Refreshing native plugins compatible for Editor in 37.87 ms, found 3 plugins. Refreshing native plugins compatible for Editor in 55.89 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms. Preloading 0 native plugins for Editor in 0.00 ms.
Initialize engine version: 2020.3.19f1 (68f137dc9bbe) Initialize engine version: 2020.3.19f1 (68f137dc9bbe)
[Subsystems] Discovering subsystems at path C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Resources/UnitySubsystems [Subsystems] Discovering subsystems at path C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Resources/UnitySubsystems
[Subsystems] Discovering subsystems at path C:/Users/Dara/Documents/Project_omega/Assets [Subsystems] Discovering subsystems at path C:/Users/Dara/Documents/1/PO/Assets
GfxDevice: creating device client; threaded=0 GfxDevice: creating device client; threaded=0
Direct3D: Direct3D:
Version: Direct3D 11.0 [level 11.1] Version: Direct3D 11.0 [level 11.1]
@ -35,82 +35,82 @@ Initialize mono
Mono path[0] = 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Managed' Mono path[0] = 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/Managed'
Mono path[1] = 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit' Mono path[1] = 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit'
Mono config path = 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/MonoBleedingEdge/etc' Mono config path = 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/MonoBleedingEdge/etc'
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56924 Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56172
Begin MonoManager ReloadAssembly Begin MonoManager ReloadAssembly
Registering precompiled unity dll's ... Registering precompiled unity dll's ...
Register platform support module: C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll Register platform support module: C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
Register platform support module: C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll Register platform support module: C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll
Register platform support module: C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll Register platform support module: C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
Register platform support module: C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll Register platform support module: C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll
Registered in 0.002266 seconds. Registered in 0.002298 seconds.
Native extension for LinuxStandalone target not found Native extension for LinuxStandalone target not found
Native extension for WindowsStandalone target not found Native extension for WindowsStandalone target not found
Native extension for OSXStandalone target not found Native extension for OSXStandalone target not found
Native extension for WebGL target not found Native extension for WebGL target not found
Refreshing native plugins compatible for Editor in 35.57 ms, found 3 plugins. Refreshing native plugins compatible for Editor in 45.33 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms. Preloading 0 native plugins for Editor in 0.00 ms.
Mono: successfully reloaded assembly Mono: successfully reloaded assembly
- Completed reload, in 1.140 seconds - Completed reload, in 3.282 seconds
Domain Reload Profiling: Domain Reload Profiling:
ReloadAssembly (1141ms) ReloadAssembly (3282ms)
BeginReloadAssembly (44ms) BeginReloadAssembly (68ms)
ExecutionOrderSort (0ms) ExecutionOrderSort (0ms)
DisableScriptedObjects (0ms) DisableScriptedObjects (0ms)
BackupInstance (0ms) BackupInstance (0ms)
ReleaseScriptingObjects (0ms) ReleaseScriptingObjects (0ms)
CreateAndSetChildDomain (1ms) CreateAndSetChildDomain (1ms)
EndReloadAssembly (372ms) EndReloadAssembly (438ms)
LoadAssemblies (43ms) LoadAssemblies (66ms)
RebuildTransferFunctionScriptingTraits (0ms) RebuildTransferFunctionScriptingTraits (0ms)
SetupTypeCache (132ms) SetupTypeCache (162ms)
ReleaseScriptCaches (0ms) ReleaseScriptCaches (0ms)
RebuildScriptCaches (27ms) RebuildScriptCaches (29ms)
SetupLoadedEditorAssemblies (148ms) SetupLoadedEditorAssemblies (172ms)
LogAssemblyErrors (0ms) LogAssemblyErrors (0ms)
InitializePlatformSupportModulesInManaged (8ms) InitializePlatformSupportModulesInManaged (6ms)
SetLoadedEditorAssemblies (0ms) SetLoadedEditorAssemblies (0ms)
RefreshPlugins (36ms) RefreshPlugins (45ms)
BeforeProcessingInitializeOnLoad (14ms) BeforeProcessingInitializeOnLoad (14ms)
ProcessInitializeOnLoadAttributes (66ms) ProcessInitializeOnLoadAttributes (79ms)
ProcessInitializeOnLoadMethodAttributes (24ms) ProcessInitializeOnLoadMethodAttributes (27ms)
AfterProcessingInitializeOnLoad (0ms) AfterProcessingInitializeOnLoad (0ms)
EditorAssembliesLoaded (0ms) EditorAssembliesLoaded (0ms)
ExecutionOrderSort2 (0ms) ExecutionOrderSort2 (0ms)
AwakeInstancesAfterBackupRestoration (0ms) AwakeInstancesAfterBackupRestoration (0ms)
Platform modules already initialized, skipping Platform modules already initialized, skipping
Registering precompiled user dll's ... Registering precompiled user dll's ...
Registered in 0.002475 seconds. Registered in 0.002437 seconds.
Begin MonoManager ReloadAssembly Begin MonoManager ReloadAssembly
Native extension for LinuxStandalone target not found Native extension for LinuxStandalone target not found
Native extension for WindowsStandalone target not found Native extension for WindowsStandalone target not found
Native extension for OSXStandalone target not found Native extension for OSXStandalone target not found
Native extension for WebGL target not found Native extension for WebGL target not found
Refreshing native plugins compatible for Editor in 34.47 ms, found 3 plugins. Refreshing native plugins compatible for Editor in 38.01 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms. Preloading 0 native plugins for Editor in 0.00 ms.
Mono: successfully reloaded assembly Mono: successfully reloaded assembly
- Completed reload, in 0.978 seconds - Completed reload, in 1.025 seconds
Domain Reload Profiling: Domain Reload Profiling:
ReloadAssembly (979ms) ReloadAssembly (1025ms)
BeginReloadAssembly (127ms) BeginReloadAssembly (132ms)
ExecutionOrderSort (0ms) ExecutionOrderSort (0ms)
DisableScriptedObjects (4ms) DisableScriptedObjects (4ms)
BackupInstance (0ms) BackupInstance (0ms)
ReleaseScriptingObjects (0ms) ReleaseScriptingObjects (0ms)
CreateAndSetChildDomain (20ms) CreateAndSetChildDomain (16ms)
EndReloadAssembly (797ms) EndReloadAssembly (837ms)
LoadAssemblies (79ms) LoadAssemblies (82ms)
RebuildTransferFunctionScriptingTraits (0ms) RebuildTransferFunctionScriptingTraits (0ms)
SetupTypeCache (263ms) SetupTypeCache (276ms)
ReleaseScriptCaches (1ms) ReleaseScriptCaches (0ms)
RebuildScriptCaches (41ms) RebuildScriptCaches (44ms)
SetupLoadedEditorAssemblies (303ms) SetupLoadedEditorAssemblies (323ms)
LogAssemblyErrors (0ms) LogAssemblyErrors (0ms)
InitializePlatformSupportModulesInManaged (6ms) InitializePlatformSupportModulesInManaged (6ms)
SetLoadedEditorAssemblies (0ms) SetLoadedEditorAssemblies (0ms)
RefreshPlugins (35ms) RefreshPlugins (38ms)
BeforeProcessingInitializeOnLoad (66ms) BeforeProcessingInitializeOnLoad (75ms)
ProcessInitializeOnLoadAttributes (181ms) ProcessInitializeOnLoadAttributes (186ms)
ProcessInitializeOnLoadMethodAttributes (11ms) ProcessInitializeOnLoadMethodAttributes (13ms)
AfterProcessingInitializeOnLoad (5ms) AfterProcessingInitializeOnLoad (5ms)
EditorAssembliesLoaded (0ms) EditorAssembliesLoaded (0ms)
ExecutionOrderSort2 (0ms) ExecutionOrderSort2 (0ms)
@ -118,15 +118,15 @@ Domain Reload Profiling:
Platform modules already initialized, skipping Platform modules already initialized, skipping
======================================================================== ========================================================================
Worker process is ready to serve import requests Worker process is ready to serve import requests
Launched and connected shader compiler UnityShaderCompiler.exe after 0.06 seconds Launched and connected shader compiler UnityShaderCompiler.exe after 0.04 seconds
Refreshing native plugins compatible for Editor in 0.39 ms, found 3 plugins. Refreshing native plugins compatible for Editor in 0.39 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms. Preloading 0 native plugins for Editor in 0.00 ms.
Unloading 2093 Unused Serialized files (Serialized files now loaded: 0) Unloading 2123 Unused Serialized files (Serialized files now loaded: 0)
System memory in use before: 93.1 MB. System memory in use before: 95.7 MB.
System memory in use after: 93.2 MB. System memory in use after: 95.8 MB.
Unloading 26 unused Assets to reduce memory usage. Loaded Objects now: 2532. Unloading 26 unused Assets to reduce memory usage. Loaded Objects now: 2563.
Total: 2.954500 ms (FindLiveObjects: 0.246000 ms CreateObjectMapping: 0.095200 ms MarkObjects: 2.552700 ms DeleteObjects: 0.059700 ms) Total: 3.180500 ms (FindLiveObjects: 0.233600 ms CreateObjectMapping: 0.090200 ms MarkObjects: 2.800400 ms DeleteObjects: 0.055200 ms)
AssetImportParameters requested are different than current active one (requested -> active): AssetImportParameters requested are different than current active one (requested -> active):
custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 ->
@ -140,145 +140,92 @@ AssetImportParameters requested are different than current active one (requested
custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
======================================================================== ========================================================================
Received Import Request. Received Import Request.
path: Assets/Prefabs path: Assets/Prefabs/Cards/SmallHealing.prefab
artifactKey: Guid(3be05d0c81f39e749aa46106193c4b93) Importer(815301076,1909f56bfc062723c751e8b465ee728b) artifactKey: Guid(4a71400765e99464aa6e72caa20d2a07) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
Start importing Assets/Prefabs using Guid(3be05d0c81f39e749aa46106193c4b93) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '5715128df5d4580993a8173c4112e970') in 0.008705 seconds Start importing Assets/Prefabs/Cards/SmallHealing.prefab using Guid(4a71400765e99464aa6e72caa20d2a07) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '6f043e25087a7bec7dac0769741a7a2b') in 0.066269 seconds
Import took 0.012956 seconds . Import took 0.070068 seconds .
======================================================================== ========================================================================
Received Import Request. Received Import Request.
Time since last request: 1.978611 seconds. Time since last request: 0.000180 seconds.
path: Assets/Scenes path: Assets/Prefabs/Cards/BigHealing.prefab
artifactKey: Guid(86292b13eaf87f14284e767a4e0c0733) Importer(815301076,1909f56bfc062723c751e8b465ee728b) artifactKey: Guid(0d2efa65672e3534cbd062025129b645) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
Start importing Assets/Scenes using Guid(86292b13eaf87f14284e767a4e0c0733) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '051619c5a0f7199da45e7420f719593f') in 0.011227 seconds Start importing Assets/Prefabs/Cards/BigHealing.prefab using Guid(0d2efa65672e3534cbd062025129b645) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '0f928076ea48d09626d9999b58ac5ae6') in 0.013875 seconds
Import took 0.016570 seconds . Import took 0.018054 seconds .
======================================================================== ========================================================================
Received Import Request. Received Import Request.
Time since last request: 2.237694 seconds. Time since last request: 0.000211 seconds.
path: Assets/Scripts path: Assets/Prefabs/Cards/SmallDamagePrefab.prefab
artifactKey: Guid(268f4b630bb2a4644835e9eaec8983de) Importer(815301076,1909f56bfc062723c751e8b465ee728b) artifactKey: Guid(f4414f7ff83c0354186c32ac62c7044d) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
Start importing Assets/Scripts using Guid(268f4b630bb2a4644835e9eaec8983de) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: 'b178e5c4887f41c010862221d8f46596') in 0.008035 seconds Start importing Assets/Prefabs/Cards/SmallDamagePrefab.prefab using Guid(f4414f7ff83c0354186c32ac62c7044d) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '3e2c9ed9bf4fb26c63477f15cbd2499b') in 0.016423 seconds
Import took 0.013376 seconds . Import took 0.023040 seconds .
======================================================================== ========================================================================
Received Import Request. Received Import Request.
Time since last request: 1.013362 seconds. Time since last request: 0.001085 seconds.
path: Assets/Scripts/PlayerManager.cs path: Assets/Prefabs/Cards/BigDamagePrefab.prefab
artifactKey: Guid(3b2f9550bca82914fbd0921e3d487778) Importer(815301076,1909f56bfc062723c751e8b465ee728b) artifactKey: Guid(ae1ab462daf0a5c4ca40701af32d6f47) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
Start importing Assets/Scripts/PlayerManager.cs using Guid(3b2f9550bca82914fbd0921e3d487778) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: 'f14f8d001d8fc0f0c699d7f5aa64ad4d') in 0.027430 seconds Start importing Assets/Prefabs/Cards/BigDamagePrefab.prefab using Guid(ae1ab462daf0a5c4ca40701af32d6f47) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '6d56ee5b9b2ea09508d3df4de3fc252c') in 0.013547 seconds
Import took 0.030849 seconds . Import took 0.022113 seconds .
========================================================================
Received Import Request.
Time since last request: 0.000418 seconds.
path: Assets/Prefabs/Cards/Standart/Card.prefab
artifactKey: Guid(7d06a9bec9705b64fac3381d9c611a91) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
Start importing Assets/Prefabs/Cards/Standart/Card.prefab using Guid(7d06a9bec9705b64fac3381d9c611a91) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '72ee2b4d4e79309486a653181ded8872') in 0.019805 seconds
Import took 0.024430 seconds .
======================================================================== ========================================================================
Received Prepare Received Prepare
Registering precompiled user dll's ... Registering precompiled user dll's ...
Registered in 0.002838 seconds. Registered in 0.006848 seconds.
Begin MonoManager ReloadAssembly Begin MonoManager ReloadAssembly
Native extension for LinuxStandalone target not found Native extension for LinuxStandalone target not found
Native extension for WindowsStandalone target not found Native extension for WindowsStandalone target not found
Native extension for OSXStandalone target not found Native extension for OSXStandalone target not found
Native extension for WebGL target not found Native extension for WebGL target not found
Refreshing native plugins compatible for Editor in 0.54 ms, found 3 plugins. Refreshing native plugins compatible for Editor in 0.44 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms. Preloading 0 native plugins for Editor in 0.00 ms.
Mono: successfully reloaded assembly Mono: successfully reloaded assembly
- Completed reload, in 1.161 seconds - Completed reload, in 1.089 seconds
Domain Reload Profiling: Domain Reload Profiling:
ReloadAssembly (1162ms) ReloadAssembly (1090ms)
BeginReloadAssembly (145ms) BeginReloadAssembly (122ms)
ExecutionOrderSort (0ms)
DisableScriptedObjects (8ms)
BackupInstance (0ms)
ReleaseScriptingObjects (0ms)
CreateAndSetChildDomain (50ms)
EndReloadAssembly (939ms)
LoadAssemblies (123ms)
RebuildTransferFunctionScriptingTraits (0ms)
SetupTypeCache (373ms)
ReleaseScriptCaches (1ms)
RebuildScriptCaches (40ms)
SetupLoadedEditorAssemblies (287ms)
LogAssemblyErrors (0ms)
InitializePlatformSupportModulesInManaged (9ms)
SetLoadedEditorAssemblies (1ms)
RefreshPlugins (1ms)
BeforeProcessingInitializeOnLoad (86ms)
ProcessInitializeOnLoadAttributes (180ms)
ProcessInitializeOnLoadMethodAttributes (5ms)
AfterProcessingInitializeOnLoad (5ms)
EditorAssembliesLoaded (0ms)
ExecutionOrderSort2 (0ms)
AwakeInstancesAfterBackupRestoration (11ms)
Platform modules already initialized, skipping
Shader 'TextMeshPro/Distance Field Overlay': fallback shader 'TextMeshPro/Mobile/Distance Field' not found
Shader 'TextMeshPro/Distance Field SSD': fallback shader 'TextMeshPro/Mobile/Distance Field' not found
Shader 'TextMeshPro/Distance Field': fallback shader 'TextMeshPro/Mobile/Distance Field' not found
Refreshing native plugins compatible for Editor in 0.73 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Unloading 2112 Unused Serialized files (Serialized files now loaded: 0)
System memory in use before: 95.2 MB.
System memory in use after: 94.6 MB.
Unloading 27 unused Assets to reduce memory usage. Loaded Objects now: 2551.
Total: 3.572600 ms (FindLiveObjects: 0.392300 ms CreateObjectMapping: 0.131900 ms MarkObjects: 2.786800 ms DeleteObjects: 0.258700 ms)
AssetImportParameters requested are different than current active one (requested -> active):
custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 ->
custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc ->
custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b ->
custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 ->
custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 ->
custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 ->
custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 ->
custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
========================================================================
Received Prepare
Registering precompiled user dll's ...
Registered in 0.003287 seconds.
Begin MonoManager ReloadAssembly
Native extension for LinuxStandalone target not found
Native extension for WindowsStandalone target not found
Native extension for OSXStandalone target not found
Native extension for WebGL target not found
Refreshing native plugins compatible for Editor in 0.57 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Mono: successfully reloaded assembly
- Completed reload, in 0.944 seconds
Domain Reload Profiling:
ReloadAssembly (945ms)
BeginReloadAssembly (109ms)
ExecutionOrderSort (0ms) ExecutionOrderSort (0ms)
DisableScriptedObjects (6ms) DisableScriptedObjects (6ms)
BackupInstance (0ms) BackupInstance (0ms)
ReleaseScriptingObjects (0ms) ReleaseScriptingObjects (0ms)
CreateAndSetChildDomain (31ms) CreateAndSetChildDomain (37ms)
EndReloadAssembly (775ms) EndReloadAssembly (898ms)
LoadAssemblies (94ms) LoadAssemblies (83ms)
RebuildTransferFunctionScriptingTraits (0ms) RebuildTransferFunctionScriptingTraits (0ms)
SetupTypeCache (267ms) SetupTypeCache (334ms)
ReleaseScriptCaches (1ms) ReleaseScriptCaches (1ms)
RebuildScriptCaches (37ms) RebuildScriptCaches (42ms)
SetupLoadedEditorAssemblies (276ms) SetupLoadedEditorAssemblies (318ms)
LogAssemblyErrors (0ms) LogAssemblyErrors (0ms)
InitializePlatformSupportModulesInManaged (8ms) InitializePlatformSupportModulesInManaged (7ms)
SetLoadedEditorAssemblies (0ms) SetLoadedEditorAssemblies (0ms)
RefreshPlugins (1ms) RefreshPlugins (0ms)
BeforeProcessingInitializeOnLoad (75ms) BeforeProcessingInitializeOnLoad (94ms)
ProcessInitializeOnLoadAttributes (180ms) ProcessInitializeOnLoadAttributes (204ms)
ProcessInitializeOnLoadMethodAttributes (5ms) ProcessInitializeOnLoadMethodAttributes (5ms)
AfterProcessingInitializeOnLoad (7ms) AfterProcessingInitializeOnLoad (7ms)
EditorAssembliesLoaded (0ms) EditorAssembliesLoaded (0ms)
ExecutionOrderSort2 (0ms) ExecutionOrderSort2 (0ms)
AwakeInstancesAfterBackupRestoration (9ms) AwakeInstancesAfterBackupRestoration (13ms)
Platform modules already initialized, skipping Platform modules already initialized, skipping
Refreshing native plugins compatible for Editor in 0.50 ms, found 3 plugins. Switching build target platform(19) subTarget(0) extendedPlatform(0) -> platform(13) subTarget(537395200) extendedPlatform(0)
Refreshing native plugins compatible for Editor in 0.48 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms. Preloading 0 native plugins for Editor in 0.00 ms.
Unloading 2112 Unused Serialized files (Serialized files now loaded: 0) Unloading 2104 Unused Serialized files (Serialized files now loaded: 0)
System memory in use before: 95.2 MB. System memory in use before: 94.0 MB.
System memory in use after: 94.7 MB. System memory in use after: 94.1 MB.
Unloading 27 unused Assets to reduce memory usage. Loaded Objects now: 2554. Unloading 19 unused Assets to reduce memory usage. Loaded Objects now: 2565.
Total: 7.452300 ms (FindLiveObjects: 0.452000 ms CreateObjectMapping: 0.223100 ms MarkObjects: 6.016700 ms DeleteObjects: 0.758800 ms) Total: 3.666000 ms (FindLiveObjects: 0.229700 ms CreateObjectMapping: 0.110000 ms MarkObjects: 3.290600 ms DeleteObjects: 0.034100 ms)
AssetImportParameters requested are different than current active one (requested -> active): AssetImportParameters requested are different than current active one (requested -> active):
custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 -> custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 ->
@ -288,6 +235,68 @@ AssetImportParameters requested are different than current active one (requested
custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 -> custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 ->
custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 -> custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 ->
custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 -> custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 ->
custom:graphics/normal-map-encoding: 01000000000000000000000000000000 -> 02000000000000000000000000000000
custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
========================================================================
Received Prepare
Registering precompiled user dll's ...
Registered in 0.461611 seconds.
Begin MonoManager ReloadAssembly
Native extension for LinuxStandalone target not found
Native extension for WindowsStandalone target not found
Native extension for OSXStandalone target not found
Native extension for WebGL target not found
Refreshing native plugins compatible for Editor in 0.68 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Mono: successfully reloaded assembly
- Completed reload, in 1.467 seconds
Domain Reload Profiling:
ReloadAssembly (1468ms)
BeginReloadAssembly (115ms)
ExecutionOrderSort (0ms)
DisableScriptedObjects (5ms)
BackupInstance (0ms)
ReleaseScriptingObjects (0ms)
CreateAndSetChildDomain (37ms)
EndReloadAssembly (1295ms)
LoadAssemblies (410ms)
RebuildTransferFunctionScriptingTraits (0ms)
SetupTypeCache (300ms)
ReleaseScriptCaches (1ms)
RebuildScriptCaches (111ms)
SetupLoadedEditorAssemblies (308ms)
LogAssemblyErrors (0ms)
InitializePlatformSupportModulesInManaged (9ms)
SetLoadedEditorAssemblies (0ms)
RefreshPlugins (1ms)
BeforeProcessingInitializeOnLoad (86ms)
ProcessInitializeOnLoadAttributes (203ms)
ProcessInitializeOnLoadMethodAttributes (5ms)
AfterProcessingInitializeOnLoad (5ms)
EditorAssembliesLoaded (0ms)
ExecutionOrderSort2 (0ms)
AwakeInstancesAfterBackupRestoration (9ms)
Platform modules already initialized, skipping
Switching build target platform(19) subTarget(0) extendedPlatform(0) -> platform(13) subTarget(537395200) extendedPlatform(0)
Refreshing native plugins compatible for Editor in 0.47 ms, found 3 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Unloading 2104 Unused Serialized files (Serialized files now loaded: 0)
System memory in use before: 94.0 MB.
System memory in use after: 94.2 MB.
Unloading 15 unused Assets to reduce memory usage. Loaded Objects now: 2567.
Total: 3.126200 ms (FindLiveObjects: 0.228000 ms CreateObjectMapping: 0.130800 ms MarkObjects: 2.745600 ms DeleteObjects: 0.020600 ms)
AssetImportParameters requested are different than current active one (requested -> active):
custom:framework-win-MediaFoundation: 216162199b28c13a410421893ffa2e32 ->
custom:video-decoder-ogg-theora: a1e56fd34408186e4bbccfd4996cb3dc ->
custom:container-muxer-webm: aa71ff27fc2769a1b78a27578f13a17b ->
custom:container-demuxer-webm: 4f35f7cbe854078d1ac9338744f61a02 ->
custom:container-demuxer-ogg: 62fdf1f143b41e24485cea50d1cbac27 ->
custom:video-encoder-webm-vp8: eb34c28f22e8b96e1ab97ce403110664 ->
custom:video-decoder-webm-vp8: 9c59270c3fd7afecdb556c50c9e8de78 ->
custom:graphics/normal-map-encoding: 01000000000000000000000000000000 -> 02000000000000000000000000000000
custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> custom:audio-decoder-ogg-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 -> custom:audio-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
AssetImportWorkerClient::OnTransportError - code=2 error=End of file AssetImportWorkerClient::OnTransportError - code=2 error=End of file

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,3 @@
Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines' Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: shutdown

View File

@ -1,4 +1,3 @@
Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines' Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: shutdown

View File

@ -1,4 +1,3 @@
Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines' Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: shutdown

View File

@ -1,4 +1,3 @@
Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines' Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: shutdown

View File

@ -1,4 +1,3 @@
Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines' Base path: 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2020.3.19f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: shutdown