optimized materials
This commit is contained in:
parent
dbd53a48d5
commit
ba49046c27
@ -11,7 +11,7 @@ Material:
|
|||||||
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_ShaderKeywords:
|
m_ShaderKeywords:
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 1
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
|
@ -11,7 +11,7 @@ Material:
|
|||||||
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_ShaderKeywords:
|
m_ShaderKeywords:
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 1
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
|
@ -11,7 +11,7 @@ Material:
|
|||||||
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_ShaderKeywords:
|
m_ShaderKeywords:
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 1
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
|
@ -11,7 +11,7 @@ Material:
|
|||||||
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_ShaderKeywords:
|
m_ShaderKeywords:
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 1
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
|
@ -11,7 +11,7 @@ Material:
|
|||||||
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
m_Shader: {fileID: 10703, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_ShaderKeywords:
|
m_ShaderKeywords:
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 1
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
|
@ -2,9 +2,15 @@ using System;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.Jobs;
|
||||||
|
using Unity.Collections;
|
||||||
|
using Unity.Burst;
|
||||||
|
using Unity.Jobs;
|
||||||
|
using Unity.Mathematics;
|
||||||
|
|
||||||
|
[BurstCompile]
|
||||||
public class TileManagment : MonoBehaviour
|
public class TileManagment : MonoBehaviour
|
||||||
{
|
{
|
||||||
public const int BASIC_DIRECTIONS = 6;
|
public const int BASIC_DIRECTIONS = 6;
|
||||||
|
|
||||||
public static List<TileInfo> levelTiles = new List<TileInfo>();
|
public static List<TileInfo> levelTiles = new List<TileInfo>();
|
||||||
@ -464,7 +470,7 @@ public class TileManagment : MonoBehaviour
|
|||||||
|
|
||||||
return connectedTiles;
|
return connectedTiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void CheckIfSurroundedByOwner(List<TileInfo> tiles, TileOwner ownerIndex, TileInfo startTile)
|
public static void CheckIfSurroundedByOwner(List<TileInfo> tiles, TileOwner ownerIndex, TileInfo startTile)
|
||||||
{
|
{
|
||||||
List<TileInfo> connectedTiles = new List<TileInfo>();
|
List<TileInfo> connectedTiles = new List<TileInfo>();
|
||||||
|
@ -93,7 +93,7 @@ public class TileMovement : MonoBehaviour
|
|||||||
_playerState.targetMoveTile = targetMoveTile;
|
_playerState.targetMoveTile = targetMoveTile;
|
||||||
_playerState.targetMoveTile.canMove = false;
|
_playerState.targetMoveTile.canMove = false;
|
||||||
_playerState.currentTile.canMove = true;
|
_playerState.currentTile.canMove = true;
|
||||||
|
//Debug.Log("wtf");
|
||||||
moveVFX.Play();
|
moveVFX.Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.2d.sprite": "1.0.0",
|
"com.unity.2d.sprite": "1.0.0",
|
||||||
|
"com.unity.burst": "1.4.11",
|
||||||
"com.unity.cinemachine": "2.6.5",
|
"com.unity.cinemachine": "2.6.5",
|
||||||
"com.unity.collab-proxy": "1.5.7",
|
"com.unity.collab-proxy": "1.5.7",
|
||||||
"com.unity.device-simulator": "3.0.1-preview",
|
"com.unity.device-simulator": "3.0.1-preview",
|
||||||
|
@ -6,6 +6,15 @@
|
|||||||
"source": "builtin",
|
"source": "builtin",
|
||||||
"dependencies": {}
|
"dependencies": {}
|
||||||
},
|
},
|
||||||
|
"com.unity.burst": {
|
||||||
|
"version": "1.4.11",
|
||||||
|
"depth": 0,
|
||||||
|
"source": "registry",
|
||||||
|
"dependencies": {
|
||||||
|
"com.unity.mathematics": "1.2.1"
|
||||||
|
},
|
||||||
|
"url": "https://packages.unity.com"
|
||||||
|
},
|
||||||
"com.unity.cinemachine": {
|
"com.unity.cinemachine": {
|
||||||
"version": "2.6.5",
|
"version": "2.6.5",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
@ -61,6 +70,13 @@
|
|||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
|
"com.unity.mathematics": {
|
||||||
|
"version": "1.2.1",
|
||||||
|
"depth": 1,
|
||||||
|
"source": "registry",
|
||||||
|
"dependencies": {},
|
||||||
|
"url": "https://packages.unity.com"
|
||||||
|
},
|
||||||
"com.unity.nuget.newtonsoft-json": {
|
"com.unity.nuget.newtonsoft-json": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"depth": 1,
|
"depth": 1,
|
||||||
|
13
ProjectSettings/BurstAotSettings_Android.json
Normal file
13
ProjectSettings/BurstAotSettings_Android.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"MonoBehaviour": {
|
||||||
|
"Version": 3,
|
||||||
|
"EnableBurstCompilation": true,
|
||||||
|
"EnableOptimisations": true,
|
||||||
|
"EnableSafetyChecks": false,
|
||||||
|
"EnableDebugInAllBuilds": false,
|
||||||
|
"CpuMinTargetX32": 0,
|
||||||
|
"CpuMaxTargetX32": 0,
|
||||||
|
"CpuMinTargetX64": 0,
|
||||||
|
"CpuMaxTargetX64": 0
|
||||||
|
}
|
||||||
|
}
|
@ -127,7 +127,7 @@ PlayerSettings:
|
|||||||
16:10: 1
|
16:10: 1
|
||||||
16:9: 1
|
16:9: 1
|
||||||
Others: 1
|
Others: 1
|
||||||
bundleVersion: 0.41
|
bundleVersion: 0.44
|
||||||
preloadedAssets: []
|
preloadedAssets: []
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user