@ -0,0 +1,118 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 11a03cf810b734d53aaf004e9813f384 | |||||
timeCreated: 1485053643 | |||||
licenseType: Pro | |||||
TextureImporter: | |||||
fileIDToRecycleName: | |||||
21300000: shadows_0 | |||||
21300002: shadows_1 | |||||
21300004: shadows_2 | |||||
serializedVersion: 4 | |||||
mipmaps: | |||||
mipMapMode: 0 | |||||
enableMipMap: 0 | |||||
sRGBTexture: 1 | |||||
linearTexture: 0 | |||||
fadeOut: 0 | |||||
borderMipMap: 0 | |||||
mipMapFadeDistanceStart: 1 | |||||
mipMapFadeDistanceEnd: 3 | |||||
bumpmap: | |||||
convertToNormalMap: 0 | |||||
externalNormalMap: 0 | |||||
heightScale: 0.25 | |||||
normalMapFilter: 0 | |||||
isReadable: 0 | |||||
grayScaleToAlpha: 0 | |||||
generateCubemap: 6 | |||||
cubemapConvolution: 0 | |||||
seamlessCubemap: 0 | |||||
textureFormat: 1 | |||||
maxTextureSize: 2048 | |||||
textureSettings: | |||||
filterMode: -1 | |||||
aniso: -1 | |||||
mipBias: -1 | |||||
wrapMode: 1 | |||||
nPOTScale: 0 | |||||
lightmap: 0 | |||||
compressionQuality: 50 | |||||
spriteMode: 2 | |||||
spriteExtrude: 1 | |||||
spriteMeshType: 1 | |||||
alignment: 0 | |||||
spritePivot: {x: 0.5, y: 0.5} | |||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} | |||||
spritePixelsToUnits: 100 | |||||
alphaUsage: 1 | |||||
alphaIsTransparency: 1 | |||||
spriteTessellationDetail: -1 | |||||
textureType: 8 | |||||
textureShape: 1 | |||||
maxTextureSizeSet: 0 | |||||
compressionQualitySet: 0 | |||||
textureFormatSet: 0 | |||||
platformSettings: | |||||
- buildTarget: DefaultTexturePlatform | |||||
maxTextureSize: 2048 | |||||
textureFormat: -1 | |||||
textureCompression: 1 | |||||
compressionQuality: 50 | |||||
crunchedCompression: 0 | |||||
allowsAlphaSplitting: 0 | |||||
overridden: 0 | |||||
- buildTarget: Standalone | |||||
maxTextureSize: 2048 | |||||
textureFormat: -1 | |||||
textureCompression: 1 | |||||
compressionQuality: 50 | |||||
crunchedCompression: 0 | |||||
allowsAlphaSplitting: 0 | |||||
overridden: 0 | |||||
spriteSheet: | |||||
serializedVersion: 2 | |||||
sprites: | |||||
- serializedVersion: 2 | |||||
name: shadows_0 | |||||
rect: | |||||
serializedVersion: 2 | |||||
x: 21 | |||||
y: 243 | |||||
width: 477 | |||||
height: 260 | |||||
alignment: 0 | |||||
pivot: {x: 0, y: 0} | |||||
border: {x: 0, y: 0, z: 0, w: 0} | |||||
outline: [] | |||||
tessellationDetail: 0 | |||||
- serializedVersion: 2 | |||||
name: shadows_1 | |||||
rect: | |||||
serializedVersion: 2 | |||||
x: 241 | |||||
y: 0 | |||||
width: 262 | |||||
height: 262 | |||||
alignment: 0 | |||||
pivot: {x: 0, y: 0} | |||||
border: {x: 0, y: 0, z: 0, w: 0} | |||||
outline: [] | |||||
tessellationDetail: 0 | |||||
- serializedVersion: 2 | |||||
name: shadows_2 | |||||
rect: | |||||
serializedVersion: 2 | |||||
x: 48 | |||||
y: 15 | |||||
width: 148 | |||||
height: 226 | |||||
alignment: 0 | |||||
pivot: {x: 0, y: 0} | |||||
border: {x: 0, y: 0, z: 0, w: 0} | |||||
outline: [] | |||||
tessellationDetail: 0 | |||||
outline: [] | |||||
spritePackingTag: | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: ca5d73253182e408ca7ed18a9f88c137 | |||||
timeCreated: 1485000941 | |||||
licenseType: Pro | |||||
NativeFormatImporter: | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 4d7604cf4d94343189f9ca8fa401a92b | |||||
timeCreated: 1485054847 | |||||
licenseType: Pro | |||||
NativeFormatImporter: | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,29 @@ | |||||
using System.Collections; | |||||
using System.Collections.Generic; | |||||
using UnityEngine; | |||||
[RequireComponent(typeof(BoxCollider))] | |||||
public class HidingSpot : MonoBehaviour { | |||||
// Use this for initialization | |||||
void Start() { | |||||
GetComponent<BoxCollider>().isTrigger = true; | |||||
} | |||||
// Update is called once per frame | |||||
void Update() { | |||||
} | |||||
void OnTriggerEnter(Collider other) { | |||||
if (other.gameObject.CompareTag("Player")) | |||||
Searchlight.playerHidden = true; | |||||
} | |||||
void OnTriggerExit(Collider other) { | |||||
if (other.gameObject.CompareTag("Player")) | |||||
Searchlight.playerHidden = false; | |||||
} | |||||
} |
@ -0,0 +1,12 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 0a8ee24f913b2504385604346da773d7 | |||||
timeCreated: 1485054757 | |||||
licenseType: Free | |||||
MonoImporter: | |||||
serializedVersion: 2 | |||||
defaultReferences: [] | |||||
executionOrder: 0 | |||||
icon: {instanceID: 0} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |