@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 7e2d3048e99d67644b770245f024b944 | |||||
timeCreated: 1485048140 | |||||
licenseType: Free | |||||
NativeFormatImporter: | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: e6d2f47d0a9b3c841ad21165cda197de | |||||
timeCreated: 1485048995 | |||||
licenseType: Free | |||||
NativeFormatImporter: | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,8 @@ | |||||
fileFormatVersion: 2 | |||||
guid: be440af86a515824ba0d399de1cf4082 | |||||
timeCreated: 1485048140 | |||||
licenseType: Free | |||||
NativeFormatImporter: | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,29 @@ | |||||
using System.Collections; | |||||
using System.Collections.Generic; | |||||
using UnityEngine; | |||||
public class LightBeam : MonoBehaviour { | |||||
public Transform target; | |||||
public Transform lightBeam; | |||||
// Use this for initialization | |||||
void Start () { | |||||
NotificationServer.register("statechange Searchlight", toggleState); | |||||
} | |||||
// Update is called once per frame | |||||
void Update () { | |||||
Vector3 lookAtPos = target.position; | |||||
lookAtPos.y = lightBeam.position.y; | |||||
lightBeam.LookAt(target); | |||||
} | |||||
private void toggleState() { | |||||
GetComponent<Animator>().SetBool("isSeen", (Searchlight.state == Searchlight.SearchState.Chasing)); | |||||
} | |||||
} |
@ -0,0 +1,12 @@ | |||||
fileFormatVersion: 2 | |||||
guid: cce21846d30b43c4e8ff6dcff475950a | |||||
timeCreated: 1485049148 | |||||
licenseType: Free | |||||
MonoImporter: | |||||
serializedVersion: 2 | |||||
defaultReferences: [] | |||||
executionOrder: 0 | |||||
icon: {instanceID: 0} | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 6a75783c072bdd0428f4293235632d51 | |||||
timeCreated: 1485051495 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: af23bb8e86fff574c82bceeef92f96d9 | |||||
timeCreated: 1485051497 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 63f5f09956eb5234dafa7f361abe136a | |||||
timeCreated: 1485051492 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: d8dedeb78ba97d246b7e27ed2fd8ddf2 | |||||
timeCreated: 1485051478 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: baf6a71460288de4ab4b6a96a33e23bb | |||||
timeCreated: 1485051477 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 9b168fc9c855e45469ea4a673881ec46 | |||||
timeCreated: 1485051477 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: ad240771f4bf6ae4b96e819fc9b91667 | |||||
timeCreated: 1485051477 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 274f3e2bdf45c43499bad25dfb75212b | |||||
timeCreated: 1485051474 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: dd95860aa4eaa414eb65ddba0c8973fb | |||||
timeCreated: 1485051478 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 3b92103c2d3d0ea4f846ffe3d1bfbdee | |||||
timeCreated: 1485051474 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: cb1cc9a391abea242974b074b6ef8671 | |||||
timeCreated: 1485051478 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: e87e2b67515c0ee4e996f953a2b97081 | |||||
timeCreated: 1485051479 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 65374d9520aea504fa39fbb5361281de | |||||
timeCreated: 1485051476 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 61be8180dd1d50a4ea9ff2d836a9fceb | |||||
timeCreated: 1485051476 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |
@ -0,0 +1,22 @@ | |||||
fileFormatVersion: 2 | |||||
guid: 5e663540108832a40880bf6741914e56 | |||||
timeCreated: 1485051475 | |||||
licenseType: Free | |||||
AudioImporter: | |||||
serializedVersion: 6 | |||||
defaultSettings: | |||||
loadType: 0 | |||||
sampleRateSetting: 0 | |||||
sampleRateOverride: 44100 | |||||
compressionFormat: 1 | |||||
quality: 1 | |||||
conversionMode: 0 | |||||
platformSettingOverrides: {} | |||||
forceToMono: 0 | |||||
normalize: 1 | |||||
preloadAudioData: 1 | |||||
loadInBackground: 0 | |||||
3D: 1 | |||||
userData: | |||||
assetBundleName: | |||||
assetBundleVariant: |