Recode
@@ -0,0 +1,13 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Rider ignored files
|
||||||
|
/modules.xml
|
||||||
|
/projectSettingsUpdater.xml
|
||||||
|
/.idea.Chess Recode.iml
|
||||||
|
/contentModel.xml
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="UserContentModel">
|
||||||
|
<attachedFolders />
|
||||||
|
<explicitIncludes />
|
||||||
|
<explicitExcludes />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
|
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 596 B |
|
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 905 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 558 B After Width: | Height: | Size: 558 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 622 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 970 B After Width: | Height: | Size: 970 B |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 814 B After Width: | Height: | Size: 814 B |
|
Before Width: | Height: | Size: 594 B After Width: | Height: | Size: 594 B |
@@ -195,7 +195,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1849964557}
|
objectReference: {fileID: 1849964560}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 58
|
value: 58
|
||||||
@@ -344,11 +344,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 27236948}
|
m_GameObject: {fileID: 27236948}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 4ecf79ff7b31c234f89070f40365082e, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 3
|
|
||||||
--- !u!1001 &59162149
|
--- !u!1001 &59162149
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -359,7 +358,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 886710715}
|
objectReference: {fileID: 886710718}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 5
|
value: 5
|
||||||
@@ -508,11 +507,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 62750385}
|
m_GameObject: {fileID: 62750385}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: e472b40b9823e414690354398c441ee1, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 0
|
|
||||||
--- !u!1001 &69153175
|
--- !u!1001 &69153175
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -523,7 +521,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 972553570}
|
objectReference: {fileID: 972553573}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 10
|
value: 10
|
||||||
@@ -651,7 +649,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 612718680}
|
objectReference: {fileID: 612718683}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 52
|
value: 52
|
||||||
@@ -717,7 +715,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 623214076}
|
objectReference: {fileID: 585725649}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 6
|
value: 6
|
||||||
@@ -928,11 +926,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 251602554}
|
m_GameObject: {fileID: 251602554}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 4ecf79ff7b31c234f89070f40365082e, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 3
|
|
||||||
--- !u!1 &262320270
|
--- !u!1 &262320270
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -1026,11 +1023,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 262320270}
|
m_GameObject: {fileID: 262320270}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 5
|
|
||||||
--- !u!1001 &278055036
|
--- !u!1001 &278055036
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -1041,7 +1037,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1499851949}
|
objectReference: {fileID: 1499851952}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 48
|
value: 48
|
||||||
@@ -1231,7 +1227,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1480078459}
|
objectReference: {fileID: 1480078462}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 56
|
value: 56
|
||||||
@@ -1442,11 +1438,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 399979559}
|
m_GameObject: {fileID: 399979559}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 5
|
|
||||||
--- !u!1 &410318053
|
--- !u!1 &410318053
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -1540,11 +1535,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 410318053}
|
m_GameObject: {fileID: 410318053}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 5
|
|
||||||
--- !u!1001 &465495056
|
--- !u!1001 &465495056
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -1555,7 +1549,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 410318053}
|
objectReference: {fileID: 410318056}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 54
|
value: 54
|
||||||
@@ -1621,7 +1615,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 668056906}
|
objectReference: {fileID: 668056909}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 62
|
value: 62
|
||||||
@@ -1894,7 +1888,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1120554186}
|
objectReference: {fileID: 1120554189}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 14
|
value: 14
|
||||||
@@ -2043,11 +2037,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 585725646}
|
m_GameObject: {fileID: 585725646}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: e472b40b9823e414690354398c441ee1, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 0
|
|
||||||
--- !u!1 &612718680
|
--- !u!1 &612718680
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -2141,11 +2134,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 612718680}
|
m_GameObject: {fileID: 612718680}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 5
|
|
||||||
--- !u!1001 &614185885
|
--- !u!1001 &614185885
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -2317,11 +2309,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 623214076}
|
m_GameObject: {fileID: 623214076}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 413f30f504354374eac5ff0f4a42653d, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 1
|
|
||||||
--- !u!1 &643727966
|
--- !u!1 &643727966
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -2415,11 +2406,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 643727966}
|
m_GameObject: {fileID: 643727966}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 5
|
|
||||||
--- !u!1 &668056906
|
--- !u!1 &668056906
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -2513,11 +2503,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 668056906}
|
m_GameObject: {fileID: 668056906}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 413f30f504354374eac5ff0f4a42653d, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 1
|
|
||||||
--- !u!1001 &683391279
|
--- !u!1001 &683391279
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -2528,7 +2517,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1080731773}
|
objectReference: {fileID: 1080731776}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 8
|
value: 8
|
||||||
@@ -2594,7 +2583,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 62750385}
|
objectReference: {fileID: 62750388}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 0
|
value: 0
|
||||||
@@ -2660,7 +2649,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1687781405}
|
objectReference: {fileID: 1687781408}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 59
|
value: 59
|
||||||
@@ -2809,11 +2798,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 727755297}
|
m_GameObject: {fileID: 727755297}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 843bca5b9b65c744b8f87208f3ce7aef, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 2
|
|
||||||
--- !u!1001 &742215446
|
--- !u!1001 &742215446
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -2824,7 +2812,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1747117847}
|
objectReference: {fileID: 1747117850}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 57
|
value: 57
|
||||||
@@ -2890,7 +2878,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 399979559}
|
objectReference: {fileID: 399979562}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 13
|
value: 13
|
||||||
@@ -3018,7 +3006,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 858254018}
|
objectReference: {fileID: 858254021}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 61
|
value: 61
|
||||||
@@ -3167,11 +3155,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 857993541}
|
m_GameObject: {fileID: 857993541}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: e472b40b9823e414690354398c441ee1, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 0
|
|
||||||
--- !u!1 &858254018
|
--- !u!1 &858254018
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -3265,11 +3252,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 858254018}
|
m_GameObject: {fileID: 858254018}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 843bca5b9b65c744b8f87208f3ce7aef, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 2
|
|
||||||
--- !u!1 &886710715
|
--- !u!1 &886710715
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -3363,11 +3349,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 886710715}
|
m_GameObject: {fileID: 886710715}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 843bca5b9b65c744b8f87208f3ce7aef, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 2
|
|
||||||
--- !u!1001 &910477186
|
--- !u!1001 &910477186
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -3502,7 +3487,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 2047739218}
|
objectReference: {fileID: 2047739221}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 50
|
value: 50
|
||||||
@@ -3713,11 +3698,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 972553570}
|
m_GameObject: {fileID: 972553570}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 5
|
|
||||||
--- !u!1001 &1050530194
|
--- !u!1001 &1050530194
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -3790,7 +3774,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 262320270}
|
objectReference: {fileID: 262320273}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 12
|
value: 12
|
||||||
@@ -3939,11 +3923,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1080731773}
|
m_GameObject: {fileID: 1080731773}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 5
|
|
||||||
--- !u!1 &1094130359
|
--- !u!1 &1094130359
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -4186,7 +4169,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 2052598919}
|
objectReference: {fileID: 2052598922}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 55
|
value: 55
|
||||||
@@ -4335,11 +4318,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1120554186}
|
m_GameObject: {fileID: 1120554186}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 5
|
|
||||||
--- !u!1001 &1139699234
|
--- !u!1001 &1139699234
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -4350,7 +4332,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1320791670}
|
objectReference: {fileID: 1320791673}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 49
|
value: 49
|
||||||
@@ -4499,11 +4481,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1194320029}
|
m_GameObject: {fileID: 1194320029}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 5
|
|
||||||
--- !u!1001 &1204622327
|
--- !u!1001 &1204622327
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -4514,7 +4495,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1286037025}
|
objectReference: {fileID: 1286037028}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 11
|
value: 11
|
||||||
@@ -4642,7 +4623,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1425134500}
|
objectReference: {fileID: 1425134503}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 9
|
value: 9
|
||||||
@@ -4791,11 +4772,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1286037025}
|
m_GameObject: {fileID: 1286037025}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 5
|
|
||||||
--- !u!1001 &1289974112
|
--- !u!1001 &1289974112
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -4868,7 +4848,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 585725646}
|
objectReference: {fileID: 585725649}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 7
|
value: 7
|
||||||
@@ -4934,7 +4914,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 27236948}
|
objectReference: {fileID: 27236951}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 60
|
value: 60
|
||||||
@@ -5083,11 +5063,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1320791670}
|
m_GameObject: {fileID: 1320791670}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 5
|
|
||||||
--- !u!1001 &1337356131
|
--- !u!1001 &1337356131
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -5305,11 +5284,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1425134500}
|
m_GameObject: {fileID: 1425134500}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 5
|
|
||||||
--- !u!1001 &1465897015
|
--- !u!1001 &1465897015
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -5465,11 +5443,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1480078459}
|
m_GameObject: {fileID: 1480078459}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: e472b40b9823e414690354398c441ee1, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 0
|
|
||||||
--- !u!1001 &1489359876
|
--- !u!1001 &1489359876
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -5625,11 +5602,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1499851949}
|
m_GameObject: {fileID: 1499851949}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 5
|
|
||||||
--- !u!1 &1508263669
|
--- !u!1 &1508263669
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -5702,7 +5678,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 727755297}
|
objectReference: {fileID: 727755300}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 2
|
value: 2
|
||||||
@@ -5768,7 +5744,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 857993541}
|
objectReference: {fileID: 857993544}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 63
|
value: 63
|
||||||
@@ -5834,7 +5810,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1827747384}
|
objectReference: {fileID: 1827747387}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 3
|
value: 3
|
||||||
@@ -6024,7 +6000,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 2008887575}
|
objectReference: {fileID: 2008887578}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 15
|
value: 15
|
||||||
@@ -6235,11 +6211,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1687781405}
|
m_GameObject: {fileID: 1687781405}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 9fd968408c0465c4bb0d7960a1be6a9b, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 4
|
|
||||||
--- !u!1001 &1720615812
|
--- !u!1001 &1720615812
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -6395,11 +6370,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1747117847}
|
m_GameObject: {fileID: 1747117847}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 413f30f504354374eac5ff0f4a42653d, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 1
|
|
||||||
--- !u!1001 &1787815114
|
--- !u!1001 &1787815114
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -6472,7 +6446,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1940364791}
|
objectReference: {fileID: 1940364794}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 1
|
value: 1
|
||||||
@@ -6621,11 +6595,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1827747384}
|
m_GameObject: {fileID: 1827747384}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 9fd968408c0465c4bb0d7960a1be6a9b, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 4
|
|
||||||
--- !u!1001 &1837864579
|
--- !u!1001 &1837864579
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -6636,7 +6609,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 643727966}
|
objectReference: {fileID: 643727969}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 53
|
value: 53
|
||||||
@@ -6785,11 +6758,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1849964557}
|
m_GameObject: {fileID: 1849964557}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 843bca5b9b65c744b8f87208f3ce7aef, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 2
|
|
||||||
--- !u!1001 &1924424992
|
--- !u!1001 &1924424992
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -7007,11 +6979,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 1940364791}
|
m_GameObject: {fileID: 1940364791}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 413f30f504354374eac5ff0f4a42653d, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 1
|
|
||||||
--- !u!1001 &2001234286
|
--- !u!1001 &2001234286
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -7167,11 +7138,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 2008887575}
|
m_GameObject: {fileID: 2008887575}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 0
|
team: 1
|
||||||
type: 5
|
|
||||||
--- !u!1001 &2037700252
|
--- !u!1001 &2037700252
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -7182,7 +7152,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 57859171336180470, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 251602554}
|
objectReference: {fileID: 251602557}
|
||||||
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
- target: {fileID: 4618949406181903361, guid: 0793b24456cf4524993e150ea5b45400, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 4
|
value: 4
|
||||||
@@ -7331,11 +7301,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 2047739218}
|
m_GameObject: {fileID: 2047739218}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 5
|
|
||||||
--- !u!1 &2052598919
|
--- !u!1 &2052598919
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -7429,11 +7398,10 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 2052598919}
|
m_GameObject: {fileID: 2052598919}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 179b17dcb667118419acf51301f94a71, type: 3}
|
m_Script: {fileID: 11500000, guid: 451b5186406195f4c87dd2a0934390db, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
team: 1
|
team: 0
|
||||||
type: 5
|
|
||||||
--- !u!1001 &2081803041
|
--- !u!1001 &2081803041
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -7444,7 +7412,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 883339405358958320, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: connected
|
propertyPath: connected
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1194320029}
|
objectReference: {fileID: 1194320032}
|
||||||
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
- target: {fileID: 5694290885793745283, guid: ff5b42e045b06b14a8af707d79ae597c, type: 3}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 51
|
value: 51
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Bishop : Character
|
||||||
|
{
|
||||||
|
public override bool[,] GetValidMoves(Cell[,] cells, Game game)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 82078bc56df7bd948ae23d6db04fd436
|
guid: 843bca5b9b65c744b8f87208f3ce7aef
|
||||||
MonoImporter:
|
MonoImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
@@ -4,5 +4,5 @@ using UnityEngine;
|
|||||||
|
|
||||||
public class Cell : MonoBehaviour
|
public class Cell : MonoBehaviour
|
||||||
{
|
{
|
||||||
public GameObject connected;
|
public Character connected;
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public abstract class Character : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Teams team;
|
||||||
|
|
||||||
|
public abstract bool[,] GetValidMoves(Cell[,] cells, Game game);
|
||||||
|
|
||||||
|
protected bool IsPositionInGrid(int x, int y)
|
||||||
|
{
|
||||||
|
if (x < 0 || y < 0 || x > 7 || y > 7)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum Teams
|
||||||
|
{
|
||||||
|
White, Black
|
||||||
|
}
|
||||||
@@ -0,0 +1,187 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Game : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Camera cam;
|
||||||
|
|
||||||
|
private Cell[,] cells = new Cell[8, 8];
|
||||||
|
public Teams currentTeam = Teams.White;
|
||||||
|
|
||||||
|
private Cell clickedCell = null;
|
||||||
|
private List<Cell> validMovesList = new List<Cell>();
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
//Get all the Cells from the hierachy
|
||||||
|
for (int x = 0; x < 8; x++)
|
||||||
|
{
|
||||||
|
for (int y = 0; y < 8; y++)
|
||||||
|
{
|
||||||
|
cells[x, y] = GameObject.Find("Field" + y + "," + x).gameObject.GetComponent<Cell>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Update()
|
||||||
|
{
|
||||||
|
//Check if left clicked
|
||||||
|
if (Input.GetMouseButtonDown(0))
|
||||||
|
{
|
||||||
|
//Get the clicked cell
|
||||||
|
Cell tempCell = GetCellOnPositionMouse(Input.mousePosition);
|
||||||
|
|
||||||
|
if(validMovesList.Contains(tempCell))
|
||||||
|
{
|
||||||
|
if (tempCell.connected != null)
|
||||||
|
{
|
||||||
|
Destroy(tempCell.connected.gameObject);
|
||||||
|
}
|
||||||
|
tempCell.connected = clickedCell.connected;
|
||||||
|
tempCell.connected.gameObject.transform.position = (tempCell.gameObject.transform.position);
|
||||||
|
|
||||||
|
clickedCell.connected = null;
|
||||||
|
DeColorAllCells();
|
||||||
|
validMovesList.Clear();
|
||||||
|
|
||||||
|
if (currentTeam == Teams.White)
|
||||||
|
{
|
||||||
|
currentTeam = Teams.Black;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
currentTeam = Teams.White;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
//if the clickedCell == tempCell, deselect the cell
|
||||||
|
if (clickedCell == tempCell)
|
||||||
|
{
|
||||||
|
clickedCell = null;
|
||||||
|
DeColorAllCells();
|
||||||
|
validMovesList.Clear();
|
||||||
|
}
|
||||||
|
//else select the cell
|
||||||
|
else
|
||||||
|
{
|
||||||
|
clickedCell = tempCell;
|
||||||
|
ColorCellExclusive(clickedCell, new Color(.5f, .1f, .1f));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//check if there is a clicked cell
|
||||||
|
if(clickedCell != null)
|
||||||
|
{
|
||||||
|
//check if any character is on the cell
|
||||||
|
if (clickedCell.connected != null)
|
||||||
|
{
|
||||||
|
//check if the character belongs to the curren team
|
||||||
|
if (clickedCell.connected.team == currentTeam)
|
||||||
|
{
|
||||||
|
//get all the valid moves from the character based on the current grid
|
||||||
|
bool[,] validMoves = clickedCell.connected.GetValidMoves(cells, this);
|
||||||
|
for (int x = 0; x < 8; x++)
|
||||||
|
{
|
||||||
|
for (int y = 0; y < 8; y++)
|
||||||
|
{
|
||||||
|
if (validMoves[y, x])
|
||||||
|
{
|
||||||
|
if (cells[x, y].connected != null)
|
||||||
|
{
|
||||||
|
ColorCell(x, y, new Color(.6f, .4f, .2f));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ColorCell(x, y, new Color(.1f, .5f, .1f));
|
||||||
|
}
|
||||||
|
validMovesList.Add(cells[x, y]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//Reset all colors of the cells
|
||||||
|
private void DeColorAllCells()
|
||||||
|
{
|
||||||
|
for (int ix = 0; ix < 8; ix++)
|
||||||
|
{
|
||||||
|
for (int iy = 0; iy < 8; iy++)
|
||||||
|
{
|
||||||
|
ColorCell(ix, iy, Color.white);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//Color the selected cell and deColor all others
|
||||||
|
private void ColorCellExclusive(Cell cell, Color color)
|
||||||
|
{
|
||||||
|
int x = 0, y = 0;
|
||||||
|
|
||||||
|
for (int ix = 0; ix < 8; ix++)
|
||||||
|
{
|
||||||
|
for (int iy = 0; iy < 8; iy++)
|
||||||
|
{
|
||||||
|
if (cells[ix, iy] == cell)
|
||||||
|
{
|
||||||
|
x = ix;
|
||||||
|
y = iy;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ColorCellExclusive(x, y, color);
|
||||||
|
}
|
||||||
|
|
||||||
|
//Color the selected cell and deColor all others
|
||||||
|
private void ColorCellExclusive(int x, int y, Color color)
|
||||||
|
{
|
||||||
|
for (int ix = 0; ix < 8; ix++)
|
||||||
|
{
|
||||||
|
for (int iy = 0; iy < 8; iy++)
|
||||||
|
{
|
||||||
|
if (ix == x && iy == y)
|
||||||
|
{
|
||||||
|
ColorCell(ix, iy, color);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ColorCell(ix, iy, Color.white);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//Color the selected cell in the given color
|
||||||
|
private void ColorCell(int x, int y, Color color)
|
||||||
|
{
|
||||||
|
cells[x, y].GetComponent<SpriteRenderer>().color = color;
|
||||||
|
}
|
||||||
|
|
||||||
|
//Get the currently clicked cell
|
||||||
|
public Cell GetCellOnPositionMouse(Vector3 position)
|
||||||
|
{
|
||||||
|
return GetCellOnPosition(cam.ScreenToWorldPoint(position));
|
||||||
|
}
|
||||||
|
|
||||||
|
public Cell GetCellOnPosition(Vector3 position)
|
||||||
|
{
|
||||||
|
Cell result = null;
|
||||||
|
|
||||||
|
//Shoot a raycast from mousePointer / touch position
|
||||||
|
RaycastHit2D hit = Physics2D.Raycast(position, Vector3.forward);
|
||||||
|
if (hit.collider != null)
|
||||||
|
{
|
||||||
|
result = hit.collider.gameObject.GetComponent<Cell>();
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class King : Character
|
||||||
|
{
|
||||||
|
public override bool[,] GetValidMoves(Cell[,] cells, Game game)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9fd968408c0465c4bb0d7960a1be6a9b
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Knight : Character
|
||||||
|
{
|
||||||
|
private static readonly Vector2[] moves =
|
||||||
|
{
|
||||||
|
//(2, 1 combinations)
|
||||||
|
//up
|
||||||
|
new Vector2(-1, 2),
|
||||||
|
new Vector2(1, 2),
|
||||||
|
//down
|
||||||
|
new Vector2(-1, -2),
|
||||||
|
new Vector2(1, -2),
|
||||||
|
//right
|
||||||
|
new Vector2(2, 1),
|
||||||
|
new Vector2(2, -1),
|
||||||
|
//left
|
||||||
|
new Vector2(-2, 1),
|
||||||
|
new Vector2(-2, -1),
|
||||||
|
};
|
||||||
|
|
||||||
|
public override bool[,] GetValidMoves(Cell[,] cells, Game game)
|
||||||
|
{
|
||||||
|
bool[,] result = new bool[8, 8];
|
||||||
|
|
||||||
|
foreach (Vector2 move in moves)
|
||||||
|
{
|
||||||
|
Vector3 testPosition = transform.position + (Vector3)move;
|
||||||
|
|
||||||
|
Cell testCell = game.GetCellOnPosition(testPosition + Vector3.back);
|
||||||
|
|
||||||
|
if(testCell != null)
|
||||||
|
{
|
||||||
|
int x, y;
|
||||||
|
|
||||||
|
string nameX = testCell.gameObject.name.Substring(5, 1);
|
||||||
|
string nameY = testCell.gameObject.name.Substring(7, 1);
|
||||||
|
|
||||||
|
x = int.Parse(nameX);
|
||||||
|
y = int.Parse(nameY);
|
||||||
|
|
||||||
|
if (IsPositionInGrid(x, y))
|
||||||
|
{
|
||||||
|
if (testCell.connected == null)
|
||||||
|
{
|
||||||
|
result[x, y] = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Character testCharacter = testCell.connected;
|
||||||
|
if (testCharacter.team != game.currentTeam)
|
||||||
|
{
|
||||||
|
result[x, y] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 413f30f504354374eac5ff0f4a42653d
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,106 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Pawn : Character
|
||||||
|
{
|
||||||
|
public override bool[,] GetValidMoves(Cell[,] cells, Game game)
|
||||||
|
{
|
||||||
|
bool[,] result = new bool[8, 8];
|
||||||
|
|
||||||
|
Vector3 offsetDirection;
|
||||||
|
int yStartPos;
|
||||||
|
|
||||||
|
if (game.currentTeam == Teams.White)
|
||||||
|
{
|
||||||
|
offsetDirection = Vector3.up;
|
||||||
|
yStartPos = 5;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
offsetDirection = Vector3.down;
|
||||||
|
yStartPos = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
Vector3 testPosition = transform.position + offsetDirection;
|
||||||
|
Cell testCell = game.GetCellOnPosition(testPosition);
|
||||||
|
|
||||||
|
if (testCell != null)
|
||||||
|
{
|
||||||
|
int x, y;
|
||||||
|
|
||||||
|
string nameX = testCell.gameObject.name.Substring(5, 1);
|
||||||
|
string nameY = testCell.gameObject.name.Substring(7, 1);
|
||||||
|
|
||||||
|
x = int.Parse(nameX);
|
||||||
|
y = int.Parse(nameY);
|
||||||
|
|
||||||
|
if (testCell.connected == null)
|
||||||
|
{
|
||||||
|
result[x, y] = true;
|
||||||
|
|
||||||
|
if (x == yStartPos)
|
||||||
|
{
|
||||||
|
testPosition = transform.position + offsetDirection * 2;
|
||||||
|
testCell = game.GetCellOnPosition(testPosition);
|
||||||
|
|
||||||
|
if (testCell != null)
|
||||||
|
{
|
||||||
|
nameX = testCell.gameObject.name.Substring(5, 1);
|
||||||
|
nameY = testCell.gameObject.name.Substring(7, 1);
|
||||||
|
|
||||||
|
x = int.Parse(nameX);
|
||||||
|
y = int.Parse(nameY);
|
||||||
|
|
||||||
|
if (testCell.connected == null)
|
||||||
|
{
|
||||||
|
result[x, y] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
testPosition = transform.position + offsetDirection + Vector3.left;
|
||||||
|
testCell = game.GetCellOnPosition(testPosition);
|
||||||
|
|
||||||
|
if (testCell != null)
|
||||||
|
{
|
||||||
|
nameX = testCell.gameObject.name.Substring(5, 1);
|
||||||
|
nameY = testCell.gameObject.name.Substring(7, 1);
|
||||||
|
|
||||||
|
x = int.Parse(nameX);
|
||||||
|
y = int.Parse(nameY);
|
||||||
|
|
||||||
|
if (testCell.connected != null)
|
||||||
|
{
|
||||||
|
if(testCell.connected.team != game.currentTeam)
|
||||||
|
{
|
||||||
|
result[x, y] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
testPosition = transform.position + offsetDirection + Vector3.right;
|
||||||
|
testCell = game.GetCellOnPosition(testPosition);
|
||||||
|
|
||||||
|
if (testCell != null)
|
||||||
|
{
|
||||||
|
nameX = testCell.gameObject.name.Substring(5, 1);
|
||||||
|
nameY = testCell.gameObject.name.Substring(7, 1);
|
||||||
|
|
||||||
|
x = int.Parse(nameX);
|
||||||
|
y = int.Parse(nameY);
|
||||||
|
|
||||||
|
if (testCell.connected != null)
|
||||||
|
{
|
||||||
|
if(testCell.connected.team != game.currentTeam)
|
||||||
|
{
|
||||||
|
result[x, y] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 451b5186406195f4c87dd2a0934390db
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Queen : Character
|
||||||
|
{
|
||||||
|
public override bool[,] GetValidMoves(Cell[,] cells, Game game)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4ecf79ff7b31c234f89070f40365082e
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Rook : Character
|
||||||
|
{
|
||||||
|
private static readonly Vector2[,] moves =
|
||||||
|
{
|
||||||
|
|
||||||
|
{
|
||||||
|
//up
|
||||||
|
new Vector2(0, 1),
|
||||||
|
new Vector2(0, 2),
|
||||||
|
new Vector2(0, 3),
|
||||||
|
new Vector2(0, 4),
|
||||||
|
new Vector2(0, 5),
|
||||||
|
new Vector2(0, 6),
|
||||||
|
new Vector2(0, 7),
|
||||||
|
new Vector2(0, 8.5f), //.5 because of calculation error in game ^^
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
//down
|
||||||
|
new Vector2(0, -1),
|
||||||
|
new Vector2(0, -2),
|
||||||
|
new Vector2(0, -3),
|
||||||
|
new Vector2(0, -4),
|
||||||
|
new Vector2(0, -5),
|
||||||
|
new Vector2(0, -6),
|
||||||
|
new Vector2(0, -7),
|
||||||
|
new Vector2(0, -8.5f),
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
//right
|
||||||
|
new Vector2(1, 0),
|
||||||
|
new Vector2(2, 0),
|
||||||
|
new Vector2(3, 0),
|
||||||
|
new Vector2(4, 0),
|
||||||
|
new Vector2(5, 0),
|
||||||
|
new Vector2(6, 0),
|
||||||
|
new Vector2(7, 0),
|
||||||
|
new Vector2(8.5f, 0)
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
//left
|
||||||
|
new Vector2(-1, 0),
|
||||||
|
new Vector2(-2, 0),
|
||||||
|
new Vector2(-3, 0),
|
||||||
|
new Vector2(-4, 0),
|
||||||
|
new Vector2(-5, 0),
|
||||||
|
new Vector2(-6, 0),
|
||||||
|
new Vector2(-7, 0),
|
||||||
|
new Vector2(-8.5f, 0)
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
public override bool[,] GetValidMoves(Cell[,] cells, Game game)
|
||||||
|
{
|
||||||
|
bool[,] result = new bool[8, 8];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e472b40b9823e414690354398c441ee1
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
Base path: 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/PlaybackEngines'
|
||||||
|
Cmd: initializeCompiler
|
||||||
|
|
||||||
|
Cmd: compileSnippet
|
||||||
|
insize=731 file=Assets/DefaultResourcesExtra/Sprites/Default pass=<Unnamed Pass> cachingPP=1 ppOnly=0 stripLineD=0 buildPlatform=13 rsLen=0 pKW=UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_DESKTOP UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_FULL_HDR uKW= dKW=ETC1_EXTERNAL_ALPHA INSTANCING_ON PIXELSNAP_ON UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 flags=0 lang=0 type=Vertex platform=d3d11 reqs=1 mask=6 start=32 ok=1 outsize=890
|
||||||
|
|
||||||
|
Cmd: compileSnippet
|
||||||
|
insize=731 file=Assets/DefaultResourcesExtra/Sprites/Default pass=<Unnamed Pass> cachingPP=1 ppOnly=0 stripLineD=0 buildPlatform=13 rsLen=0 pKW=UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_DESKTOP UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_FULL_HDR uKW= dKW=ETC1_EXTERNAL_ALPHA INSTANCING_ON PIXELSNAP_ON UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 flags=0 lang=0 type=Fragment platform=d3d11 reqs=1 mask=6 start=32 ok=1 outsize=454
|
||||||
|
|
||||||
|
Unhandled exception: Protocol error - failed to read magic number (error -2147483644, transferred 0/4)
|
||||||
|
|
||||||
|
Quitting shader compiler process
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
Base path: 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/PlaybackEngines'
|
||||||
|
Cmd: initializeCompiler
|
||||||
|
|
||||||
|
Cmd: compileSnippet
|
||||||
|
insize=16577 file=Assets/DefaultResourcesExtra/Skybox/Procedural pass=<Unnamed Pass> cachingPP=1 ppOnly=0 stripLineD=0 buildPlatform=13 rsLen=0 pKW=UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_DESKTOP UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING uKW=_SUNDISK_NONE dKW=_SUNDISK_SIMPLE _SUNDISK_HIGH_QUALITY UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_RGBM_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 flags=0 lang=0 type=Vertex platform=d3d11 reqs=33 mask=6 start=20 ok=1 outsize=5414
|
||||||
|
|
||||||
|
Cmd: compileSnippet
|
||||||
|
insize=16577 file=Assets/DefaultResourcesExtra/Skybox/Procedural pass=<Unnamed Pass> cachingPP=1 ppOnly=0 stripLineD=0 buildPlatform=13 rsLen=0 pKW=UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_DESKTOP UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING uKW=_SUNDISK_NONE dKW=_SUNDISK_SIMPLE _SUNDISK_HIGH_QUALITY UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_RGBM_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 flags=0 lang=0 type=Fragment platform=d3d11 reqs=33 mask=6 start=20 ok=1 outsize=474
|
||||||
|
|
||||||
|
Cmd: compileSnippet
|
||||||
|
insize=16577 file=Assets/DefaultResourcesExtra/Skybox/Procedural pass=<Unnamed Pass> cachingPP=1 ppOnly=0 stripLineD=0 buildPlatform=13 rsLen=0 pKW=UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_DESKTOP UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING uKW=_SUNDISK_SIMPLE dKW=_SUNDISK_NONE _SUNDISK_HIGH_QUALITY UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_RGBM_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 flags=0 lang=0 type=Vertex platform=d3d11 reqs=33 mask=6 start=20 ok=1 outsize=5698
|
||||||
|
|
||||||
|
Cmd: compileSnippet
|
||||||
|
insize=16577 file=Assets/DefaultResourcesExtra/Skybox/Procedural pass=<Unnamed Pass> cachingPP=1 ppOnly=0 stripLineD=0 buildPlatform=13 rsLen=0 pKW=UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_DESKTOP UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING uKW=_SUNDISK_SIMPLE dKW=_SUNDISK_NONE _SUNDISK_HIGH_QUALITY UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_RGBM_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 flags=0 lang=0 type=Fragment platform=d3d11 reqs=33 mask=6 start=20 ok=1 outsize=934
|
||||||
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class Character : MonoBehaviour
|
|
||||||
{
|
|
||||||
public Team team;
|
|
||||||
public CharacterType type;
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum CharacterType
|
|
||||||
{
|
|
||||||
Rook, Knight, Bishop, Queen, King, Pawn
|
|
||||||
}
|
|
||||||
@@ -1,245 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public static class CharacterData
|
|
||||||
{
|
|
||||||
public static readonly Vector2[,] movesRook =
|
|
||||||
{
|
|
||||||
|
|
||||||
{
|
|
||||||
//up
|
|
||||||
new Vector2(0, 1),
|
|
||||||
new Vector2(0, 2),
|
|
||||||
new Vector2(0, 3),
|
|
||||||
new Vector2(0, 4),
|
|
||||||
new Vector2(0, 5),
|
|
||||||
new Vector2(0, 6),
|
|
||||||
new Vector2(0, 7),
|
|
||||||
new Vector2(0, 8.5f), //.5 because of calculation error in game ^^
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//down
|
|
||||||
new Vector2(0, -1),
|
|
||||||
new Vector2(0, -2),
|
|
||||||
new Vector2(0, -3),
|
|
||||||
new Vector2(0, -4),
|
|
||||||
new Vector2(0, -5),
|
|
||||||
new Vector2(0, -6),
|
|
||||||
new Vector2(0, -7),
|
|
||||||
new Vector2(0, -8.5f),
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//right
|
|
||||||
new Vector2(1, 0),
|
|
||||||
new Vector2(2, 0),
|
|
||||||
new Vector2(3, 0),
|
|
||||||
new Vector2(4, 0),
|
|
||||||
new Vector2(5, 0),
|
|
||||||
new Vector2(6, 0),
|
|
||||||
new Vector2(7, 0),
|
|
||||||
new Vector2(8.5f, 0)
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//left
|
|
||||||
new Vector2(-1, 0),
|
|
||||||
new Vector2(-2, 0),
|
|
||||||
new Vector2(-3, 0),
|
|
||||||
new Vector2(-4, 0),
|
|
||||||
new Vector2(-5, 0),
|
|
||||||
new Vector2(-6, 0),
|
|
||||||
new Vector2(-7, 0),
|
|
||||||
new Vector2(-8.5f, 0)
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
public static readonly Vector2[] movesKnight =
|
|
||||||
{
|
|
||||||
//(2, 1 combinations)
|
|
||||||
//up
|
|
||||||
new Vector2(-1, 2),
|
|
||||||
new Vector2(1, 2),
|
|
||||||
//down
|
|
||||||
new Vector2(-1, -2),
|
|
||||||
new Vector2(1, -2),
|
|
||||||
//right
|
|
||||||
new Vector2(2, 1),
|
|
||||||
new Vector2(2, -1),
|
|
||||||
//left
|
|
||||||
new Vector2(-2, 1),
|
|
||||||
new Vector2(-2, -1),
|
|
||||||
};
|
|
||||||
|
|
||||||
public static readonly Vector2[,] movesBishop =
|
|
||||||
{
|
|
||||||
{
|
|
||||||
//up, right
|
|
||||||
new Vector2(1, 1),
|
|
||||||
new Vector2(2, 2),
|
|
||||||
new Vector2(3, 3),
|
|
||||||
new Vector2(4, 4),
|
|
||||||
new Vector2(5, 5),
|
|
||||||
new Vector2(6, 6),
|
|
||||||
new Vector2(7, 7),
|
|
||||||
new Vector2(8.5f, 8.5f),
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//up, left
|
|
||||||
new Vector2(-1, 1),
|
|
||||||
new Vector2(-2, 2),
|
|
||||||
new Vector2(-3, 3),
|
|
||||||
new Vector2(-4, 4),
|
|
||||||
new Vector2(-5, 5),
|
|
||||||
new Vector2(-6, 6),
|
|
||||||
new Vector2(-7, 7),
|
|
||||||
new Vector2(-8.5f, 8.5f),
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//down, right
|
|
||||||
new Vector2(1, -1),
|
|
||||||
new Vector2(2, -2),
|
|
||||||
new Vector2(3, -3),
|
|
||||||
new Vector2(4, -4),
|
|
||||||
new Vector2(5, -5),
|
|
||||||
new Vector2(6, -6),
|
|
||||||
new Vector2(7, -7),
|
|
||||||
new Vector2(8.5f, -8.5f),
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//down, left
|
|
||||||
new Vector2(-1, -1),
|
|
||||||
new Vector2(-2, -2),
|
|
||||||
new Vector2(-3, -3),
|
|
||||||
new Vector2(-4, -4),
|
|
||||||
new Vector2(-5, -5),
|
|
||||||
new Vector2(-6, -6),
|
|
||||||
new Vector2(-7, -7),
|
|
||||||
new Vector2(-8.5f, -8.5f),
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
public static readonly Vector2[] movesKing =
|
|
||||||
{
|
|
||||||
//up
|
|
||||||
new Vector2(0, 1),
|
|
||||||
//down
|
|
||||||
new Vector2(0, -1),
|
|
||||||
//right
|
|
||||||
new Vector2(1, 0),
|
|
||||||
//left
|
|
||||||
new Vector2(-1, 0),
|
|
||||||
//up, right
|
|
||||||
new Vector2(1, 1),
|
|
||||||
//up, left
|
|
||||||
new Vector2(-1, 1),
|
|
||||||
//down, right
|
|
||||||
new Vector2(1, -1),
|
|
||||||
//down, left
|
|
||||||
new Vector2(-1, -1)
|
|
||||||
};
|
|
||||||
|
|
||||||
public static readonly Vector2[,] movesQueen =
|
|
||||||
{
|
|
||||||
{
|
|
||||||
//up
|
|
||||||
new Vector2(0, 1),
|
|
||||||
new Vector2(0, 2),
|
|
||||||
new Vector2(0, 3),
|
|
||||||
new Vector2(0, 4),
|
|
||||||
new Vector2(0, 5),
|
|
||||||
new Vector2(0, 6),
|
|
||||||
new Vector2(0, 7),
|
|
||||||
new Vector2(0, 8.5f), //.5 because of calculation error in game ^^
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//down
|
|
||||||
new Vector2(0, -1),
|
|
||||||
new Vector2(0, -2),
|
|
||||||
new Vector2(0, -3),
|
|
||||||
new Vector2(0, -4),
|
|
||||||
new Vector2(0, -5),
|
|
||||||
new Vector2(0, -6),
|
|
||||||
new Vector2(0, -7),
|
|
||||||
new Vector2(0, -8.5f),
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//right
|
|
||||||
new Vector2(1, 0),
|
|
||||||
new Vector2(2, 0),
|
|
||||||
new Vector2(3, 0),
|
|
||||||
new Vector2(4, 0),
|
|
||||||
new Vector2(5, 0),
|
|
||||||
new Vector2(6, 0),
|
|
||||||
new Vector2(7, 0),
|
|
||||||
new Vector2(8.5f, 0)
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//left
|
|
||||||
new Vector2(-1, 0),
|
|
||||||
new Vector2(-2, 0),
|
|
||||||
new Vector2(-3, 0),
|
|
||||||
new Vector2(-4, 0),
|
|
||||||
new Vector2(-5, 0),
|
|
||||||
new Vector2(-6, 0),
|
|
||||||
new Vector2(-7, 0),
|
|
||||||
new Vector2(-8.5f, 0)
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//up, right
|
|
||||||
new Vector2(1, 1),
|
|
||||||
new Vector2(2, 2),
|
|
||||||
new Vector2(3, 3),
|
|
||||||
new Vector2(4, 4),
|
|
||||||
new Vector2(5, 5),
|
|
||||||
new Vector2(6, 6),
|
|
||||||
new Vector2(7, 7),
|
|
||||||
new Vector2(8.5f, 8.5f),
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//up, left
|
|
||||||
new Vector2(-1, 1),
|
|
||||||
new Vector2(-2, 2),
|
|
||||||
new Vector2(-3, 3),
|
|
||||||
new Vector2(-4, 4),
|
|
||||||
new Vector2(-5, 5),
|
|
||||||
new Vector2(-6, 6),
|
|
||||||
new Vector2(-7, 7),
|
|
||||||
new Vector2(-8.5f, 8.5f),
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//down, right
|
|
||||||
new Vector2(1, -1),
|
|
||||||
new Vector2(2, -2),
|
|
||||||
new Vector2(3, -3),
|
|
||||||
new Vector2(4, -4),
|
|
||||||
new Vector2(5, -5),
|
|
||||||
new Vector2(6, -6),
|
|
||||||
new Vector2(7, -7),
|
|
||||||
new Vector2(8.5f, -8.5f),
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
//down, left
|
|
||||||
new Vector2(-1, -1),
|
|
||||||
new Vector2(-2, -2),
|
|
||||||
new Vector2(-3, -3),
|
|
||||||
new Vector2(-4, -4),
|
|
||||||
new Vector2(-5, -5),
|
|
||||||
new Vector2(-6, -6),
|
|
||||||
new Vector2(-7, -7),
|
|
||||||
new Vector2(-8.5f, -8.5f),
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,442 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class Game : MonoBehaviour
|
|
||||||
{
|
|
||||||
public Camera cam;
|
|
||||||
|
|
||||||
private GameObject[,] cells = new GameObject[8, 8];
|
|
||||||
private Team currentTeam = Team.White;
|
|
||||||
|
|
||||||
private GameObject selectedCell = null;
|
|
||||||
|
|
||||||
private Queue<GameObject> possibleMoves = new Queue<GameObject>();
|
|
||||||
|
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
for (int x = 0; x < 8; x++)
|
|
||||||
{
|
|
||||||
for (int y = 0; y < 8; y++)
|
|
||||||
{
|
|
||||||
cells[x, y] = GameObject.Find("Field" + x + "," + y).gameObject;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Update()
|
|
||||||
{
|
|
||||||
if (Input.GetMouseButtonDown(0))
|
|
||||||
{
|
|
||||||
//Coloring and selecting cells
|
|
||||||
GetCellCoord(Input.mousePosition, out int x, out int y);
|
|
||||||
GameObject cellObject = cells[x, y];
|
|
||||||
cellObject.GetComponent<SpriteRenderer>().color = new Color(.72f, .36f, .36f);
|
|
||||||
|
|
||||||
if (possibleMoves.Contains(cells[x, y]))
|
|
||||||
{
|
|
||||||
//change current team
|
|
||||||
if (currentTeam == Team.White)
|
|
||||||
{
|
|
||||||
currentTeam = Team.Black;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
currentTeam = Team.White;
|
|
||||||
}
|
|
||||||
|
|
||||||
//move the object, disconnect it from the old cell, connect it to the new cell
|
|
||||||
GameObject selectedObject = selectedCell.GetComponent<Cell>().connected;
|
|
||||||
selectedCell.GetComponent<Cell>().connected = null;
|
|
||||||
|
|
||||||
//kill enemy if necassary
|
|
||||||
if (cells[x, y].GetComponent<Cell>().connected != null)
|
|
||||||
{
|
|
||||||
Destroy(cells[x, y].GetComponent<Cell>().connected);
|
|
||||||
}
|
|
||||||
|
|
||||||
cells[x, y].GetComponent<Cell>().connected = selectedObject;
|
|
||||||
selectedObject.transform.position = cells[x, y].transform.position - Vector3.forward;
|
|
||||||
|
|
||||||
//discolor all cells, deselect all cells
|
|
||||||
selectedCell.GetComponent<SpriteRenderer>().color = Color.white;
|
|
||||||
selectedCell = null;
|
|
||||||
while (possibleMoves.Count > 0)
|
|
||||||
{
|
|
||||||
possibleMoves.Dequeue().GetComponent<SpriteRenderer>().color = Color.white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
//if there is already a cell selected, deselect it
|
|
||||||
if (selectedCell != null)
|
|
||||||
{
|
|
||||||
selectedCell.GetComponent<SpriteRenderer>().color = Color.white;
|
|
||||||
|
|
||||||
while (possibleMoves.Count > 0)
|
|
||||||
{
|
|
||||||
possibleMoves.Dequeue().GetComponent<SpriteRenderer>().color = Color.white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//if the last selected cell is the current cell, deselect it
|
|
||||||
if (selectedCell == cellObject)
|
|
||||||
{
|
|
||||||
selectedCell = null;
|
|
||||||
|
|
||||||
while (possibleMoves.Count > 0)
|
|
||||||
{
|
|
||||||
possibleMoves.Dequeue().GetComponent<SpriteRenderer>().color = Color.white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
selectedCell = cellObject;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Futher game logic
|
|
||||||
if (selectedCell != null)
|
|
||||||
{
|
|
||||||
Cell cell = selectedCell.GetComponent<Cell>();
|
|
||||||
if (cell.connected != null)
|
|
||||||
{
|
|
||||||
//get the selected character, with all its information
|
|
||||||
Character selectedCharacter = cell.connected.GetComponent<Character>();
|
|
||||||
Team selectedTeam = selectedCharacter.team;
|
|
||||||
CharacterType selectedType = selectedCharacter.type;
|
|
||||||
|
|
||||||
//check if the character is in the current players team
|
|
||||||
if (selectedTeam == currentTeam)
|
|
||||||
{
|
|
||||||
//logic for the knight
|
|
||||||
if (selectedType == CharacterType.Knight)
|
|
||||||
{
|
|
||||||
foreach (Vector2 move in CharacterData.movesKnight)
|
|
||||||
{
|
|
||||||
Vector2 absPosition = selectedCell.transform.position + (Vector3)move;
|
|
||||||
GetCellCoordDirect(absPosition, out int testX, out int testY);
|
|
||||||
if (!(testX == 9 || testY == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX, testY].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//logic for the pawn
|
|
||||||
if (selectedType == CharacterType.Pawn)
|
|
||||||
{
|
|
||||||
//stepping 2 forward at beggining
|
|
||||||
if (currentTeam == Team.White)
|
|
||||||
{
|
|
||||||
|
|
||||||
Vector2 abs1Position = selectedCell.transform.position + Vector3.up;
|
|
||||||
GetCellCoordDirect(abs1Position, out int testX2, out int testY2);
|
|
||||||
if (!(testX2 == 9 || testY2 == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX2, testY2].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX2, testY2]);
|
|
||||||
|
|
||||||
if (x == 6) //should be y but buggy
|
|
||||||
{
|
|
||||||
Vector2 absPosition = selectedCell.transform.position + Vector3.up * 2;
|
|
||||||
GetCellCoordDirect(absPosition, out int testX, out int testY);
|
|
||||||
if (!(testX == 9 || testY == 9))
|
|
||||||
{
|
|
||||||
testCell = cells[testX, testY].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Vector2 abs2Position = selectedCharacter.transform.position + Vector3.up + Vector3.right;
|
|
||||||
GetCellCoordDirect(abs2Position, out int testX3, out int testY3);
|
|
||||||
if (!(testX3 == 9 || testY3 == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX3, testY3].GetComponent<Cell>();
|
|
||||||
if (testCell.connected != null)
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX3, testY3]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
abs2Position = selectedCharacter.transform.position + Vector3.up + Vector3.left;
|
|
||||||
GetCellCoordDirect(abs2Position, out int testX4, out int testY4);
|
|
||||||
if (!(testX4 == 9 || testY4 == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX4, testY4].GetComponent<Cell>();
|
|
||||||
if (testCell.connected != null)
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX4, testY4]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
Vector2 abs1Position = selectedCell.transform.position + Vector3.down;
|
|
||||||
GetCellCoordDirect(abs1Position, out int testX2, out int testY2);
|
|
||||||
if (!(testX2 == 9 || testY2 == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX2, testY2].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX2, testY2]);
|
|
||||||
|
|
||||||
if (x == 1)
|
|
||||||
{
|
|
||||||
Vector2 absPosition = selectedCell.transform.position + Vector3.down * 2;
|
|
||||||
GetCellCoordDirect(absPosition, out int testX, out int testY);
|
|
||||||
if (!(testX == 9 || testY == 9))
|
|
||||||
{
|
|
||||||
testCell = cells[testX, testY].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Vector2 abs2Position = selectedCharacter.transform.position + Vector3.down + Vector3.right;
|
|
||||||
GetCellCoordDirect(abs2Position, out int testX3, out int testY3);
|
|
||||||
if (!(testX3 == 9 || testY3 == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX3, testY3].GetComponent<Cell>();
|
|
||||||
if (testCell.connected != null)
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX3, testY3]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
abs2Position = selectedCharacter.transform.position + Vector3.down + Vector3.left;
|
|
||||||
GetCellCoordDirect(abs2Position, out int testX4, out int testY4);
|
|
||||||
if (!(testX4 == 9 || testY4 == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX4, testY4].GetComponent<Cell>();
|
|
||||||
if (testCell.connected != null)
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX4, testY4]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//logic for the rook
|
|
||||||
if (selectedType == CharacterType.Rook)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < 4; i++)
|
|
||||||
{
|
|
||||||
for (int j = 0; j < 8; j++)
|
|
||||||
{
|
|
||||||
Vector3 absPosition = (Vector3)selectedCell.transform.position + (Vector3)CharacterData.movesRook[i, j];
|
|
||||||
GetCellCoordDirect(absPosition, out int testX, out int testY);
|
|
||||||
if (!(testX == 9 || testY == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX, testY].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
|
|
||||||
j = 8;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//logic for bishop
|
|
||||||
if (selectedType == CharacterType.Bishop)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < 4; i++)
|
|
||||||
{
|
|
||||||
for (int j = 0; j < 8; j++)
|
|
||||||
{
|
|
||||||
Vector3 absPosition = (Vector3)selectedCell.transform.position + (Vector3)CharacterData.movesBishop[i, j];
|
|
||||||
GetCellCoordDirect(absPosition, out int testX, out int testY);
|
|
||||||
if (!(testX == 9 || testY == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX, testY].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
|
|
||||||
j = 8;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//logic for queen
|
|
||||||
if (selectedType == CharacterType.Queen)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < 8; i++)
|
|
||||||
{
|
|
||||||
for (int j = 0; j < 8; j++)
|
|
||||||
{
|
|
||||||
Vector3 absPosition = (Vector3)selectedCell.transform.position + (Vector3)CharacterData.movesQueen[i, j];
|
|
||||||
GetCellCoordDirect(absPosition, out int testX, out int testY);
|
|
||||||
if (!(testX == 9 || testY == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX, testY].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
|
|
||||||
j = 8;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//logic for king
|
|
||||||
if (selectedType == CharacterType.King)
|
|
||||||
{
|
|
||||||
foreach (Vector2 move in CharacterData.movesKing)
|
|
||||||
{
|
|
||||||
Vector2 absPosition = selectedCell.transform.position + (Vector3)move;
|
|
||||||
GetCellCoordDirect(absPosition, out int testX, out int testY);
|
|
||||||
if (!(testX == 9 || testY == 9))
|
|
||||||
{
|
|
||||||
Cell testCell = cells[testX, testY].GetComponent<Cell>();
|
|
||||||
if (testCell.connected == null)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.2f, .9f, .3f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Character otherCharacter = testCell.connected.GetComponent<Character>();
|
|
||||||
if (otherCharacter.team != currentTeam)
|
|
||||||
{
|
|
||||||
testCell.GetComponent<SpriteRenderer>().color = new Color(.92f, .61f, .4f);
|
|
||||||
possibleMoves.Enqueue(cells[testX, testY]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void GetCellCoord(Vector3 point, out int x, out int y)
|
|
||||||
{
|
|
||||||
RaycastHit2D hit = Physics2D.Raycast(cam.ScreenToWorldPoint(point), cam.transform.forward);
|
|
||||||
if (hit.collider != null)
|
|
||||||
{
|
|
||||||
string name = hit.collider.name;
|
|
||||||
x = int.Parse(name.Substring(5, 1));
|
|
||||||
y = int.Parse(name.Substring(7, 1));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
x = 9;
|
|
||||||
y = 9;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void GetCellCoordDirect(Vector3 point, out int x, out int y)
|
|
||||||
{
|
|
||||||
RaycastHit2D hit = Physics2D.Raycast(point, Vector3.forward);
|
|
||||||
if (hit.collider != null)
|
|
||||||
{
|
|
||||||
string name = hit.collider.name;
|
|
||||||
x = int.Parse(name.Substring(5, 1));
|
|
||||||
y = int.Parse(name.Substring(7, 1));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
x = 9;
|
|
||||||
y = 9;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum Team
|
|
||||||
{
|
|
||||||
Black,
|
|
||||||
White
|
|
||||||
}
|
|
||||||
@@ -1,502 +0,0 @@
|
|||||||
Using pre-set license
|
|
||||||
Built from '2021.1/staging' branch; Version is '2021.1.13f1 (a03098edbbe0) revision 10498200'; Using compiler version '192528614'; Build Type 'Release'
|
|
||||||
OS: 'Windows 10 Pro; OS build 22000.194; Version 2009; 64bit' Language: 'en' Physical Memory: 16299 MB
|
|
||||||
BatchMode: 1, IsHumanControllingUs: 0, StartBugReporterOnCrash: 0, Is64bit: 1, IsPro: 0
|
|
||||||
|
|
||||||
COMMAND LINE ARGUMENTS:
|
|
||||||
C:\Program Files\Unity\Hub\Editor\2021.1.13f1\Editor\Unity.exe
|
|
||||||
-adb2
|
|
||||||
-batchMode
|
|
||||||
-noUpm
|
|
||||||
-name
|
|
||||||
AssetImportWorker0
|
|
||||||
-projectPath
|
|
||||||
F:/Gihub Projects/Chess Unity/Chess-Unity/Chess
|
|
||||||
-logFile
|
|
||||||
Logs/AssetImportWorker0.log
|
|
||||||
-srvPort
|
|
||||||
63736
|
|
||||||
Successfully changed project path to: F:/Gihub Projects/Chess Unity/Chess-Unity/Chess
|
|
||||||
F:/Gihub Projects/Chess Unity/Chess-Unity/Chess
|
|
||||||
Using Asset Import Pipeline V2.
|
|
||||||
Refreshing native plugins compatible for Editor in 173.77 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Initialize engine version: 2021.1.13f1 (a03098edbbe0)
|
|
||||||
[Subsystems] Discovering subsystems at path C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/Resources/UnitySubsystems
|
|
||||||
[Subsystems] Discovering subsystems at path F:/Gihub Projects/Chess Unity/Chess-Unity/Chess/Assets
|
|
||||||
GfxDevice: creating device client; threaded=0; jobified=0
|
|
||||||
Direct3D:
|
|
||||||
Version: Direct3D 11.0 [level 11.1]
|
|
||||||
Renderer: NVIDIA GeForce GTX 1060 6GB (ID=0x1c03)
|
|
||||||
Vendor: NVIDIA
|
|
||||||
VRAM: 6052 MB
|
|
||||||
Driver: 30.0.14.7141
|
|
||||||
Initialize mono
|
|
||||||
Mono path[0] = 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/Managed'
|
|
||||||
Mono path[1] = 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit'
|
|
||||||
Mono config path = 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/MonoBleedingEdge/etc'
|
|
||||||
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56076
|
|
||||||
Begin MonoManager ReloadAssembly
|
|
||||||
Registering precompiled unity dll's ...
|
|
||||||
Register platform support module: C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
|
|
||||||
Registered in 0.002505 seconds.
|
|
||||||
Native extension for WindowsStandalone target not found
|
|
||||||
Refreshing native plugins compatible for Editor in 445.06 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Mono: successfully reloaded assembly
|
|
||||||
- Completed reload, in 10.329 seconds
|
|
||||||
Domain Reload Profiling:
|
|
||||||
ReloadAssembly (10330ms)
|
|
||||||
BeginReloadAssembly (68ms)
|
|
||||||
ExecutionOrderSort (0ms)
|
|
||||||
DisableScriptedObjects (0ms)
|
|
||||||
BackupInstance (0ms)
|
|
||||||
ReleaseScriptingObjects (0ms)
|
|
||||||
CreateAndSetChildDomain (1ms)
|
|
||||||
EndReloadAssembly (3567ms)
|
|
||||||
LoadAssemblies (64ms)
|
|
||||||
RebuildTransferFunctionScriptingTraits (0ms)
|
|
||||||
SetupTypeCache (1719ms)
|
|
||||||
ReleaseScriptCaches (0ms)
|
|
||||||
RebuildScriptCaches (93ms)
|
|
||||||
SetupLoadedEditorAssemblies (1554ms)
|
|
||||||
LogAssemblyErrors (0ms)
|
|
||||||
InitializePlatformSupportModulesInManaged (92ms)
|
|
||||||
SetLoadedEditorAssemblies (1ms)
|
|
||||||
RefreshPlugins (445ms)
|
|
||||||
BeforeProcessingInitializeOnLoad (2ms)
|
|
||||||
ProcessInitializeOnLoadAttributes (953ms)
|
|
||||||
ProcessInitializeOnLoadMethodAttributes (61ms)
|
|
||||||
AfterProcessingInitializeOnLoad (0ms)
|
|
||||||
EditorAssembliesLoaded (0ms)
|
|
||||||
ExecutionOrderSort2 (0ms)
|
|
||||||
AwakeInstancesAfterBackupRestoration (0ms)
|
|
||||||
Platform modules already initialized, skipping
|
|
||||||
Registering precompiled user dll's ...
|
|
||||||
Registered in 0.093153 seconds.
|
|
||||||
Begin MonoManager ReloadAssembly
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
|
|
||||||
Native extension for WindowsStandalone target not found
|
|
||||||
Refreshing native plugins compatible for Editor in 120.73 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Mono: successfully reloaded assembly
|
|
||||||
- Completed reload, in 3.909 seconds
|
|
||||||
Domain Reload Profiling:
|
|
||||||
ReloadAssembly (3910ms)
|
|
||||||
BeginReloadAssembly (220ms)
|
|
||||||
ExecutionOrderSort (0ms)
|
|
||||||
DisableScriptedObjects (5ms)
|
|
||||||
BackupInstance (0ms)
|
|
||||||
ReleaseScriptingObjects (0ms)
|
|
||||||
CreateAndSetChildDomain (49ms)
|
|
||||||
EndReloadAssembly (3617ms)
|
|
||||||
LoadAssemblies (113ms)
|
|
||||||
RebuildTransferFunctionScriptingTraits (0ms)
|
|
||||||
SetupTypeCache (593ms)
|
|
||||||
ReleaseScriptCaches (4ms)
|
|
||||||
RebuildScriptCaches (123ms)
|
|
||||||
SetupLoadedEditorAssemblies (2108ms)
|
|
||||||
LogAssemblyErrors (0ms)
|
|
||||||
InitializePlatformSupportModulesInManaged (5ms)
|
|
||||||
SetLoadedEditorAssemblies (0ms)
|
|
||||||
RefreshPlugins (121ms)
|
|
||||||
BeforeProcessingInitializeOnLoad (95ms)
|
|
||||||
ProcessInitializeOnLoadAttributes (1850ms)
|
|
||||||
ProcessInitializeOnLoadMethodAttributes (31ms)
|
|
||||||
AfterProcessingInitializeOnLoad (6ms)
|
|
||||||
EditorAssembliesLoaded (0ms)
|
|
||||||
ExecutionOrderSort2 (0ms)
|
|
||||||
AwakeInstancesAfterBackupRestoration (9ms)
|
|
||||||
Platform modules already initialized, skipping
|
|
||||||
========================================================================
|
|
||||||
Worker process is ready to serve import requests
|
|
||||||
Launched and connected shader compiler UnityShaderCompiler.exe after 0.08 seconds
|
|
||||||
Refreshing native plugins compatible for Editor in 1.23 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Unloading 3673 Unused Serialized files (Serialized files now loaded: 0)
|
|
||||||
System memory in use before: 136.4 MB.
|
|
||||||
System memory in use after: 136.5 MB.
|
|
||||||
|
|
||||||
Unloading 37 unused Assets to reduce memory usage. Loaded Objects now: 4117.
|
|
||||||
Total: 5.205000 ms (FindLiveObjects: 0.294500 ms CreateObjectMapping: 0.210800 ms MarkObjects: 4.327200 ms DeleteObjects: 0.370600 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 Import Request.
|
|
||||||
path: Assets/Scripts/Game.cs
|
|
||||||
artifactKey: Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
|
|
||||||
Start importing Assets/Scripts/Game.cs using Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '53dc9c63bdcc6391146f4fe7bd2aa524') in 0.729981 seconds
|
|
||||||
========================================================================
|
|
||||||
Received Import Request.
|
|
||||||
Time since last request: 146.481429 seconds.
|
|
||||||
path: Assets/Scripts/Game.cs
|
|
||||||
artifactKey: Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
|
|
||||||
Start importing Assets/Scripts/Game.cs using Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: 'd67064153d7a03a831c8af839f7c5f2d') in 0.008920 seconds
|
|
||||||
========================================================================
|
|
||||||
Received Import Request.
|
|
||||||
Time since last request: 11.335881 seconds.
|
|
||||||
path: Assets/Scripts/Game.cs
|
|
||||||
artifactKey: Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
|
|
||||||
Start importing Assets/Scripts/Game.cs using Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '751a7ac41dcd0be1ef8982afa65f5ace') in 0.004465 seconds
|
|
||||||
========================================================================
|
|
||||||
Received Import Request.
|
|
||||||
Time since last request: 24.888040 seconds.
|
|
||||||
path: Assets/Scripts/Game.cs
|
|
||||||
artifactKey: Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
|
|
||||||
Start importing Assets/Scripts/Game.cs using Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '591bcd7281832faee4086db4950bbc59') in 0.047392 seconds
|
|
||||||
========================================================================
|
|
||||||
Received Prepare
|
|
||||||
Registering precompiled user dll's ...
|
|
||||||
Registered in 0.014849 seconds.
|
|
||||||
Begin MonoManager ReloadAssembly
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
|
|
||||||
Native extension for WindowsStandalone target not found
|
|
||||||
Refreshing native plugins compatible for Editor in 0.70 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Mono: successfully reloaded assembly
|
|
||||||
- Completed reload, in 1.121 seconds
|
|
||||||
Domain Reload Profiling:
|
|
||||||
ReloadAssembly (1121ms)
|
|
||||||
BeginReloadAssembly (131ms)
|
|
||||||
ExecutionOrderSort (0ms)
|
|
||||||
DisableScriptedObjects (6ms)
|
|
||||||
BackupInstance (0ms)
|
|
||||||
ReleaseScriptingObjects (0ms)
|
|
||||||
CreateAndSetChildDomain (41ms)
|
|
||||||
EndReloadAssembly (931ms)
|
|
||||||
LoadAssemblies (91ms)
|
|
||||||
RebuildTransferFunctionScriptingTraits (0ms)
|
|
||||||
SetupTypeCache (372ms)
|
|
||||||
ReleaseScriptCaches (1ms)
|
|
||||||
RebuildScriptCaches (45ms)
|
|
||||||
SetupLoadedEditorAssemblies (314ms)
|
|
||||||
LogAssemblyErrors (0ms)
|
|
||||||
InitializePlatformSupportModulesInManaged (5ms)
|
|
||||||
SetLoadedEditorAssemblies (0ms)
|
|
||||||
RefreshPlugins (1ms)
|
|
||||||
BeforeProcessingInitializeOnLoad (63ms)
|
|
||||||
ProcessInitializeOnLoadAttributes (230ms)
|
|
||||||
ProcessInitializeOnLoadMethodAttributes (10ms)
|
|
||||||
AfterProcessingInitializeOnLoad (4ms)
|
|
||||||
EditorAssembliesLoaded (0ms)
|
|
||||||
ExecutionOrderSort2 (0ms)
|
|
||||||
AwakeInstancesAfterBackupRestoration (12ms)
|
|
||||||
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.75 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Unloading 3671 Unused Serialized files (Serialized files now loaded: 0)
|
|
||||||
System memory in use before: 136.5 MB.
|
|
||||||
System memory in use after: 136.6 MB.
|
|
||||||
|
|
||||||
Unloading 25 unused Assets to reduce memory usage. Loaded Objects now: 4121.
|
|
||||||
Total: 3.341500 ms (FindLiveObjects: 0.257800 ms CreateObjectMapping: 0.162700 ms MarkObjects: 2.758000 ms DeleteObjects: 0.162100 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-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
|
|
||||||
========================================================================
|
|
||||||
Received Import Request.
|
|
||||||
Time since last request: 31.170908 seconds.
|
|
||||||
path: Assets/Scripts/Game.cs
|
|
||||||
artifactKey: Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
|
|
||||||
Start importing Assets/Scripts/Game.cs using Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: 'ae9017f9d38bea4d21b12083a079d53a') in 0.028347 seconds
|
|
||||||
========================================================================
|
|
||||||
Received Prepare
|
|
||||||
Registering precompiled user dll's ...
|
|
||||||
Registered in 0.004319 seconds.
|
|
||||||
Begin MonoManager ReloadAssembly
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
|
|
||||||
Native extension for WindowsStandalone target not found
|
|
||||||
Refreshing native plugins compatible for Editor in 0.72 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Mono: successfully reloaded assembly
|
|
||||||
- Completed reload, in 1.128 seconds
|
|
||||||
Domain Reload Profiling:
|
|
||||||
ReloadAssembly (1128ms)
|
|
||||||
BeginReloadAssembly (119ms)
|
|
||||||
ExecutionOrderSort (0ms)
|
|
||||||
DisableScriptedObjects (7ms)
|
|
||||||
BackupInstance (0ms)
|
|
||||||
ReleaseScriptingObjects (0ms)
|
|
||||||
CreateAndSetChildDomain (43ms)
|
|
||||||
EndReloadAssembly (942ms)
|
|
||||||
LoadAssemblies (91ms)
|
|
||||||
RebuildTransferFunctionScriptingTraits (0ms)
|
|
||||||
SetupTypeCache (378ms)
|
|
||||||
ReleaseScriptCaches (1ms)
|
|
||||||
RebuildScriptCaches (46ms)
|
|
||||||
SetupLoadedEditorAssemblies (310ms)
|
|
||||||
LogAssemblyErrors (0ms)
|
|
||||||
InitializePlatformSupportModulesInManaged (5ms)
|
|
||||||
SetLoadedEditorAssemblies (0ms)
|
|
||||||
RefreshPlugins (1ms)
|
|
||||||
BeforeProcessingInitializeOnLoad (63ms)
|
|
||||||
ProcessInitializeOnLoadAttributes (227ms)
|
|
||||||
ProcessInitializeOnLoadMethodAttributes (9ms)
|
|
||||||
AfterProcessingInitializeOnLoad (4ms)
|
|
||||||
EditorAssembliesLoaded (0ms)
|
|
||||||
ExecutionOrderSort2 (0ms)
|
|
||||||
AwakeInstancesAfterBackupRestoration (11ms)
|
|
||||||
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.67 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Unloading 3671 Unused Serialized files (Serialized files now loaded: 0)
|
|
||||||
System memory in use before: 136.5 MB.
|
|
||||||
System memory in use after: 136.6 MB.
|
|
||||||
|
|
||||||
Unloading 25 unused Assets to reduce memory usage. Loaded Objects now: 4125.
|
|
||||||
Total: 3.242300 ms (FindLiveObjects: 0.261000 ms CreateObjectMapping: 0.406600 ms MarkObjects: 2.465500 ms DeleteObjects: 0.107900 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-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
|
|
||||||
========================================================================
|
|
||||||
Received Import Request.
|
|
||||||
Time since last request: 17.889575 seconds.
|
|
||||||
path: Assets/Scripts/Game.cs
|
|
||||||
artifactKey: Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
|
|
||||||
Start importing Assets/Scripts/Game.cs using Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '679ddcf4371d8dd1a566ae8a9f6ff801') in 0.011524 seconds
|
|
||||||
========================================================================
|
|
||||||
Received Prepare
|
|
||||||
Registering precompiled user dll's ...
|
|
||||||
Registered in 0.004481 seconds.
|
|
||||||
Begin MonoManager ReloadAssembly
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
|
|
||||||
Native extension for WindowsStandalone target not found
|
|
||||||
Refreshing native plugins compatible for Editor in 0.94 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Mono: successfully reloaded assembly
|
|
||||||
- Completed reload, in 1.459 seconds
|
|
||||||
Domain Reload Profiling:
|
|
||||||
ReloadAssembly (1459ms)
|
|
||||||
BeginReloadAssembly (107ms)
|
|
||||||
ExecutionOrderSort (0ms)
|
|
||||||
DisableScriptedObjects (7ms)
|
|
||||||
BackupInstance (0ms)
|
|
||||||
ReleaseScriptingObjects (0ms)
|
|
||||||
CreateAndSetChildDomain (38ms)
|
|
||||||
EndReloadAssembly (1287ms)
|
|
||||||
LoadAssemblies (122ms)
|
|
||||||
RebuildTransferFunctionScriptingTraits (0ms)
|
|
||||||
SetupTypeCache (532ms)
|
|
||||||
ReleaseScriptCaches (3ms)
|
|
||||||
RebuildScriptCaches (48ms)
|
|
||||||
SetupLoadedEditorAssemblies (439ms)
|
|
||||||
LogAssemblyErrors (0ms)
|
|
||||||
InitializePlatformSupportModulesInManaged (5ms)
|
|
||||||
SetLoadedEditorAssemblies (1ms)
|
|
||||||
RefreshPlugins (1ms)
|
|
||||||
BeforeProcessingInitializeOnLoad (71ms)
|
|
||||||
ProcessInitializeOnLoadAttributes (345ms)
|
|
||||||
ProcessInitializeOnLoadMethodAttributes (10ms)
|
|
||||||
AfterProcessingInitializeOnLoad (5ms)
|
|
||||||
EditorAssembliesLoaded (0ms)
|
|
||||||
ExecutionOrderSort2 (0ms)
|
|
||||||
AwakeInstancesAfterBackupRestoration (11ms)
|
|
||||||
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.80 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Unloading 3671 Unused Serialized files (Serialized files now loaded: 0)
|
|
||||||
System memory in use before: 136.6 MB.
|
|
||||||
System memory in use after: 136.7 MB.
|
|
||||||
|
|
||||||
Unloading 25 unused Assets to reduce memory usage. Loaded Objects now: 4129.
|
|
||||||
Total: 4.568800 ms (FindLiveObjects: 0.332500 ms CreateObjectMapping: 0.270800 ms MarkObjects: 3.337600 ms DeleteObjects: 0.626100 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-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
|
|
||||||
========================================================================
|
|
||||||
Received Import Request.
|
|
||||||
Time since last request: 8.447380 seconds.
|
|
||||||
path: Assets/Scripts/Game.cs
|
|
||||||
artifactKey: Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
|
|
||||||
Start importing Assets/Scripts/Game.cs using Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '3ddef6cba9357184f80d0865c09c2dcd') in 0.017652 seconds
|
|
||||||
========================================================================
|
|
||||||
Received Prepare
|
|
||||||
Registering precompiled user dll's ...
|
|
||||||
Registered in 0.004849 seconds.
|
|
||||||
Begin MonoManager ReloadAssembly
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
|
|
||||||
Native extension for WindowsStandalone target not found
|
|
||||||
Refreshing native plugins compatible for Editor in 0.84 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Mono: successfully reloaded assembly
|
|
||||||
- Completed reload, in 1.988 seconds
|
|
||||||
Domain Reload Profiling:
|
|
||||||
ReloadAssembly (1988ms)
|
|
||||||
BeginReloadAssembly (138ms)
|
|
||||||
ExecutionOrderSort (0ms)
|
|
||||||
DisableScriptedObjects (7ms)
|
|
||||||
BackupInstance (0ms)
|
|
||||||
ReleaseScriptingObjects (0ms)
|
|
||||||
CreateAndSetChildDomain (45ms)
|
|
||||||
EndReloadAssembly (1777ms)
|
|
||||||
LoadAssemblies (100ms)
|
|
||||||
RebuildTransferFunctionScriptingTraits (0ms)
|
|
||||||
SetupTypeCache (634ms)
|
|
||||||
ReleaseScriptCaches (1ms)
|
|
||||||
RebuildScriptCaches (82ms)
|
|
||||||
SetupLoadedEditorAssemblies (475ms)
|
|
||||||
LogAssemblyErrors (0ms)
|
|
||||||
InitializePlatformSupportModulesInManaged (5ms)
|
|
||||||
SetLoadedEditorAssemblies (1ms)
|
|
||||||
RefreshPlugins (1ms)
|
|
||||||
BeforeProcessingInitializeOnLoad (90ms)
|
|
||||||
ProcessInitializeOnLoadAttributes (365ms)
|
|
||||||
ProcessInitializeOnLoadMethodAttributes (9ms)
|
|
||||||
AfterProcessingInitializeOnLoad (5ms)
|
|
||||||
EditorAssembliesLoaded (0ms)
|
|
||||||
ExecutionOrderSort2 (0ms)
|
|
||||||
AwakeInstancesAfterBackupRestoration (11ms)
|
|
||||||
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.68 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Unloading 3671 Unused Serialized files (Serialized files now loaded: 0)
|
|
||||||
System memory in use before: 136.6 MB.
|
|
||||||
System memory in use after: 136.7 MB.
|
|
||||||
|
|
||||||
Unloading 25 unused Assets to reduce memory usage. Loaded Objects now: 4133.
|
|
||||||
Total: 2.817900 ms (FindLiveObjects: 0.274600 ms CreateObjectMapping: 0.193300 ms MarkObjects: 2.247000 ms DeleteObjects: 0.101700 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-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
|
|
||||||
========================================================================
|
|
||||||
Received Prepare
|
|
||||||
Registering precompiled user dll's ...
|
|
||||||
Registered in 0.004351 seconds.
|
|
||||||
Begin MonoManager ReloadAssembly
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\YamlDotNet\Unity.VisualScripting.YamlDotNet.dll
|
|
||||||
Symbol file LoadedFromMemory doesn't match image F:\Gihub Projects\Chess Unity\Chess-Unity\Chess\Library\PackageCache\com.unity.visualscripting@1.6.1\Editor\VisualScripting.Core\Dependencies\DotNetZip\Unity.VisualScripting.IonicZip.dll
|
|
||||||
Native extension for WindowsStandalone target not found
|
|
||||||
Refreshing native plugins compatible for Editor in 0.70 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Mono: successfully reloaded assembly
|
|
||||||
- Completed reload, in 1.222 seconds
|
|
||||||
Domain Reload Profiling:
|
|
||||||
ReloadAssembly (1223ms)
|
|
||||||
BeginReloadAssembly (135ms)
|
|
||||||
ExecutionOrderSort (0ms)
|
|
||||||
DisableScriptedObjects (8ms)
|
|
||||||
BackupInstance (0ms)
|
|
||||||
ReleaseScriptingObjects (0ms)
|
|
||||||
CreateAndSetChildDomain (43ms)
|
|
||||||
EndReloadAssembly (1021ms)
|
|
||||||
LoadAssemblies (101ms)
|
|
||||||
RebuildTransferFunctionScriptingTraits (0ms)
|
|
||||||
SetupTypeCache (404ms)
|
|
||||||
ReleaseScriptCaches (1ms)
|
|
||||||
RebuildScriptCaches (46ms)
|
|
||||||
SetupLoadedEditorAssemblies (326ms)
|
|
||||||
LogAssemblyErrors (0ms)
|
|
||||||
InitializePlatformSupportModulesInManaged (5ms)
|
|
||||||
SetLoadedEditorAssemblies (0ms)
|
|
||||||
RefreshPlugins (1ms)
|
|
||||||
BeforeProcessingInitializeOnLoad (66ms)
|
|
||||||
ProcessInitializeOnLoadAttributes (238ms)
|
|
||||||
ProcessInitializeOnLoadMethodAttributes (11ms)
|
|
||||||
AfterProcessingInitializeOnLoad (5ms)
|
|
||||||
EditorAssembliesLoaded (0ms)
|
|
||||||
ExecutionOrderSort2 (0ms)
|
|
||||||
AwakeInstancesAfterBackupRestoration (13ms)
|
|
||||||
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.75 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Unloading 3671 Unused Serialized files (Serialized files now loaded: 0)
|
|
||||||
System memory in use before: 136.6 MB.
|
|
||||||
System memory in use after: 136.7 MB.
|
|
||||||
|
|
||||||
Unloading 25 unused Assets to reduce memory usage. Loaded Objects now: 4137.
|
|
||||||
Total: 3.375600 ms (FindLiveObjects: 0.276000 ms CreateObjectMapping: 0.205000 ms MarkObjects: 2.734700 ms DeleteObjects: 0.158600 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-encoder-webm-vorbis: bf7c407c2cedff20999df2af8eb42d56 ->
|
|
||||||
========================================================================
|
|
||||||
Received Import Request.
|
|
||||||
Time since last request: 11.313192 seconds.
|
|
||||||
path: Assets/Scripts/Game.cs
|
|
||||||
artifactKey: Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
|
|
||||||
Start importing Assets/Scripts/Game.cs using Guid(64bccbbe14a86034a904585f5656f5e4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) -> (artifact id: '1bad41fa731f85abd96ffd02b550d818') in 0.005922 seconds
|
|
||||||
========================================================================
|
|
||||||
Received Prepare
|
|
||||||
Refreshing native plugins compatible for Editor in 4.87 ms, found 4 plugins.
|
|
||||||
Preloading 0 native plugins for Editor in 0.00 ms.
|
|
||||||
Unloading 23 Unused Serialized files (Serialized files now loaded: 0)
|
|
||||||
System memory in use before: 64.5 MB.
|
|
||||||
System memory in use after: 64.6 MB.
|
|
||||||
|
|
||||||
Unloading 23 unused Assets to reduce memory usage. Loaded Objects now: 4137.
|
|
||||||
Total: 3.588600 ms (FindLiveObjects: 0.442700 ms CreateObjectMapping: 0.328600 ms MarkObjects: 2.652800 ms DeleteObjects: 0.163500 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 ->
|
|
||||||
AssetImportWorkerClient::OnTransportError - code=2 error=End of file
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
Base path: 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/PlaybackEngines'
|
|
||||||
Cmd: initializeCompiler
|
|
||||||
|
|
||||||
Unhandled exception: Protocol error - failed to read magic number (error -2147483644, transferred 0/4)
|
|
||||||
|
|
||||||
Quitting shader compiler process
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
Base path: 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2021.1.13f1/Editor/Data/PlaybackEngines'
|
|
||||||
Cmd: initializeCompiler
|
|
||||||
|
|
||||||
Cmd: shutdown
|
|
||||||