Browse Source

Upgraded to Unity 5

Also updated Sherlock example game
master
chrisgregan 10 years ago
parent
commit
5a18ddfb41
  1. 22
      Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs
  2. 18
      Assets/Fungus/Audio/Scripts/MusicController.cs
  3. 12
      Assets/Fungus/Dialog/Scripts/Dialog.cs
  4. 14
      Assets/Fungus/FungusScript/Editor/Resources/Icons/ResizeHandle.png.meta
  5. 18
      Assets/Fungus/FungusScript/Editor/Resources/Icons/add.png.meta
  6. 18
      Assets/Fungus/FungusScript/Editor/Resources/Icons/delete.png.meta
  7. 18
      Assets/Fungus/FungusScript/Editor/Resources/Icons/down.png.meta
  8. 18
      Assets/Fungus/FungusScript/Editor/Resources/Icons/duplicate.png.meta
  9. 18
      Assets/Fungus/FungusScript/Editor/Resources/Icons/left.png.meta
  10. 18
      Assets/Fungus/FungusScript/Editor/Resources/Icons/right.png.meta
  11. 18
      Assets/Fungus/FungusScript/Editor/Resources/Icons/up.png.meta
  12. 4
      Assets/Fungus/Sprite/Scripts/Draggable2D.cs
  13. 2
      Assets/Fungus/Sprite/Scripts/SpriteFader.cs
  14. 22
      Assets/Fungus/Thirdparty/LeanTween/LeanTween.cs
  15. 142
      Assets/Fungus/Thirdparty/iTween/iTween.cs
  16. BIN
      Assets/FungusExamples/Sherlock/Images/background.jpg
  17. 55
      Assets/FungusExamples/Sherlock/Images/background.jpg.meta
  18. 1070
      Assets/FungusExamples/Sherlock/TheExperiment.unity
  19. 2
      ProjectSettings/EditorBuildSettings.asset
  20. 21
      ProjectSettings/GraphicsSettings.asset
  21. 133
      ProjectSettings/NavMeshAreas.asset
  22. 178
      ProjectSettings/ProjectSettings.asset
  23. 2
      ProjectSettings/ProjectVersion.txt
  24. 39
      ProjectSettings/QualitySettings.asset

22
Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs

@ -80,9 +80,9 @@ namespace Fungus
foreach (AudioSource a in audioSources)
{
if ((a.audio != audioSource) && (a.tag == audioSource.tag))
if ((a.GetComponent<AudioSource>() != audioSource) && (a.tag == audioSource.tag))
{
StopLoop(a.audio);
StopLoop(a.GetComponent<AudioSource>());
}
}
}
@ -92,7 +92,7 @@ namespace Fungus
if (fadeDuration > 0)
{
audioSource.volume = 0;
PlaySoundWithCallback(audioSource.audio.clip, endVolume, AudioFinished);
PlaySoundWithCallback(audioSource.GetComponent<AudioSource>().clip, endVolume, AudioFinished);
LeanTween.value(audioSource.gameObject,0,endVolume,fadeDuration
).setOnUpdate(
(float updateVolume)=>{
@ -110,7 +110,7 @@ namespace Fungus
else
{
audioSource.volume = 1;
PlaySoundWithCallback(audioSource.audio.clip, endVolume, AudioFinished);
PlaySoundWithCallback(audioSource.GetComponent<AudioSource>().clip, endVolume, AudioFinished);
}
}
@ -120,7 +120,7 @@ namespace Fungus
{
audioSource.volume = 0;
audioSource.loop = true;
audioSource.audio.Play();
audioSource.GetComponent<AudioSource>().Play();
LeanTween.value(audioSource.gameObject,0,endVolume,fadeDuration
).setOnUpdate(
(float updateVolume)=>{
@ -139,7 +139,7 @@ namespace Fungus
{
audioSource.volume = 1;
audioSource.loop = true;
audioSource.audio.Play();
audioSource.GetComponent<AudioSource>().Play();
}
}
@ -155,7 +155,7 @@ namespace Fungus
).setOnComplete(
()=>{
audioSource.audio.Pause();
audioSource.GetComponent<AudioSource>().Pause();
if (waitUntilFinished)
{
Continue();
@ -165,7 +165,7 @@ namespace Fungus
}
else
{
audioSource.audio.Pause();
audioSource.GetComponent<AudioSource>().Pause();
}
}
@ -181,7 +181,7 @@ namespace Fungus
).setOnComplete(
()=>{
source.audio.Stop();
source.GetComponent<AudioSource>().Stop();
if (waitUntilFinished)
{
Continue();
@ -191,7 +191,7 @@ namespace Fungus
}
else
{
source.audio.Stop();
source.GetComponent<AudioSource>().Stop();
}
}
@ -210,7 +210,7 @@ namespace Fungus
public void PlaySoundWithCallback(AudioClip clip, float endVolume, AudioCallback callback)
{
audioSource.audio.PlayOneShot(audioSource.clip, endVolume);
audioSource.GetComponent<AudioSource>().PlayOneShot(audioSource.clip, endVolume);
StartCoroutine(DelayedCallback(audioSource.clip.length, callback));
}

18
Assets/Fungus/Audio/Scripts/MusicController.cs

@ -31,8 +31,8 @@ namespace Fungus
protected virtual void Start()
{
audio.playOnAwake = false;
audio.loop = true;
GetComponent<AudioSource>().playOnAwake = false;
GetComponent<AudioSource>().loop = true;
}
/**
@ -43,9 +43,9 @@ namespace Fungus
*/
public void PlayMusic(AudioClip musicClip, float atTime = 0)
{
audio.clip = musicClip;
audio.time = atTime; // May be inaccurate if the audio source is compressed http://docs.unity3d.com/ScriptReference/AudioSource-time.html BK
audio.Play();
GetComponent<AudioSource>().clip = musicClip;
GetComponent<AudioSource>().time = atTime; // May be inaccurate if the audio source is compressed http://docs.unity3d.com/ScriptReference/AudioSource-time.html BK
GetComponent<AudioSource>().Play();
}
/**
@ -53,7 +53,7 @@ namespace Fungus
*/
public virtual void StopMusic()
{
audio.Stop();
GetComponent<AudioSource>().Stop();
}
/**
@ -74,13 +74,13 @@ namespace Fungus
*/
public virtual void PlaySound(AudioClip soundClip, float volume)
{
audio.PlayOneShot(soundClip, volume);
GetComponent<AudioSource>().PlayOneShot(soundClip, volume);
}
public virtual void PlaySoundAtTime(AudioClip soundClip, float volume, float atTime)
{
audio.time = atTime; // This may not work BK
audio.PlayOneShot(soundClip, volume);
GetComponent<AudioSource>().time = atTime; // This may not work BK
GetComponent<AudioSource>().PlayOneShot(soundClip, volume);
}
}
}

12
Assets/Fungus/Dialog/Scripts/Dialog.cs

@ -265,17 +265,17 @@ namespace Fungus
if (characterTypingSound != null)
{
typingAudio.audio.clip = characterTypingSound;
typingAudio.GetComponent<AudioSource>().clip = characterTypingSound;
}
else if (writingSound != null)
{
typingAudio.audio.clip = writingSound;
typingAudio.GetComponent<AudioSource>().clip = writingSound;
}
typingAudio.audio.loop = loopWritingSound;
typingAudio.audio.Play();
typingAudio.GetComponent<AudioSource>().loop = loopWritingSound;
typingAudio.GetComponent<AudioSource>().Play();
dialogText.typingAudio = typingAudio.audio;
dialogText.typingAudio = typingAudio.GetComponent<AudioSource>();
}
foreach (Token token in parser.tokens)
@ -487,7 +487,7 @@ namespace Fungus
return null;
}
return go.audio;
return go.GetComponent<AudioSource>();
}
protected virtual void VerticalPunch(float intensity)

14
Assets/Fungus/FungusScript/Editor/Resources/Icons/ResizeHandle.png.meta

@ -6,7 +6,7 @@ TextureImporter:
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
@ -20,16 +20,20 @@ TextureImporter:
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
@ -39,9 +43,11 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 5
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Fungus/FungusScript/Editor/Resources/Icons/add.png.meta

@ -5,8 +5,8 @@ TextureImporter:
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
@ -20,18 +20,22 @@ TextureImporter:
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: 16
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@ -39,9 +43,11 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Fungus/FungusScript/Editor/Resources/Icons/delete.png.meta

@ -5,8 +5,8 @@ TextureImporter:
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
@ -20,18 +20,22 @@ TextureImporter:
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: 16
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@ -39,9 +43,11 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Fungus/FungusScript/Editor/Resources/Icons/down.png.meta

@ -5,8 +5,8 @@ TextureImporter:
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
@ -20,18 +20,22 @@ TextureImporter:
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: 16
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@ -39,9 +43,11 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Fungus/FungusScript/Editor/Resources/Icons/duplicate.png.meta

@ -5,8 +5,8 @@ TextureImporter:
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
@ -20,18 +20,22 @@ TextureImporter:
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: 16
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@ -39,9 +43,11 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Fungus/FungusScript/Editor/Resources/Icons/left.png.meta

@ -5,8 +5,8 @@ TextureImporter:
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
@ -20,18 +20,22 @@ TextureImporter:
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: 16
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@ -39,9 +43,11 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Fungus/FungusScript/Editor/Resources/Icons/right.png.meta

@ -5,8 +5,8 @@ TextureImporter:
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
@ -20,18 +20,22 @@ TextureImporter:
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: 16
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@ -39,9 +43,11 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Fungus/FungusScript/Editor/Resources/Icons/up.png.meta

@ -5,8 +5,8 @@ TextureImporter:
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
@ -20,18 +20,22 @@ TextureImporter:
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: 16
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
@ -39,9 +43,11 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

4
Assets/Fungus/Sprite/Scripts/Draggable2D.cs

@ -48,9 +48,9 @@ namespace Fungus
Vector3 newPosition = Camera.main.ScreenToWorldPoint(new Vector3(x, y, 10f));
newPosition.z = z;
if (rigidbody2D != null)
if (GetComponent<Rigidbody2D>() != null)
{
rigidbody2D.MovePosition(newPosition);
GetComponent<Rigidbody2D>().MovePosition(newPosition);
}
else
{

2
Assets/Fungus/Sprite/Scripts/SpriteFader.cs

@ -74,7 +74,7 @@ namespace Fungus
protected virtual void Start()
{
spriteRenderer = renderer as SpriteRenderer;
spriteRenderer = GetComponent<Renderer>() as SpriteRenderer;
}
protected virtual void Update()

22
Assets/Fungus/Thirdparty/LeanTween/LeanTween.cs vendored

@ -1128,8 +1128,8 @@ public class LTDescr{
SpriteRenderer ren = trans.gameObject.GetComponent<SpriteRenderer>();
if(ren!=null){
this.from.x = ren.color.a;
}else if(trans.gameObject.renderer!=null){
this.from.x = trans.gameObject.renderer.material.color.a;
}else if(trans.gameObject.GetComponent<Renderer>()!=null){
this.from.x = trans.gameObject.GetComponent<Renderer>().material.color.a;
}
break;
#endif
@ -1214,9 +1214,9 @@ public class LTDescr{
this.from = new Vector3(0.0f, ren2.color.a, 0.0f);
this.diff = new Vector3(1.0f,0.0f,0.0f);
this.axis = new Vector3( ren2.color.r, ren2.color.g, ren2.color.b );
}else if(trans.gameObject.renderer!=null){
if(trans.gameObject.renderer){
Color col = trans.gameObject.renderer.material.color;
}else if(trans.gameObject.GetComponent<Renderer>()!=null){
if(trans.gameObject.GetComponent<Renderer>()){
Color col = trans.gameObject.GetComponent<Renderer>().material.color;
this.setFromColor( col );
}
}
@ -2108,15 +2108,15 @@ public static void update() {
if(ren!=null){
ren.color = new Color( ren.color.r, ren.color.g, ren.color.b, val);
}else{
if(trans.gameObject.renderer!=null){
foreach(Material mat in trans.gameObject.renderer.materials){
if(trans.gameObject.GetComponent<Renderer>()!=null){
foreach(Material mat in trans.gameObject.GetComponent<Renderer>().materials){
mat.color = new Color( mat.color.r, mat.color.g, mat.color.b, val);
}
}
if(trans.childCount>0){
foreach (Transform child in trans) {
if(child.gameObject.renderer!=null){
foreach(Material mat in child.gameObject.renderer.materials){
if(child.gameObject.GetComponent<Renderer>()!=null){
foreach(Material mat in child.gameObject.GetComponent<Renderer>().materials){
mat.color = new Color( mat.color.r, mat.color.g, mat.color.b, val);
}
}
@ -2139,8 +2139,8 @@ public static void update() {
Color toColor = tweenColor(tween, val);
// Debug.Log("val:"+val+" tween:"+tween+" tween.diff:"+tween.diff);
if(tweenAction==TweenAction.COLOR){
if(trans.gameObject.renderer!=null){
foreach(Material mat in trans.gameObject.renderer.materials){
if(trans.gameObject.GetComponent<Renderer>()!=null){
foreach(Material mat in trans.gameObject.GetComponent<Renderer>().materials){
mat.color = toColor;
}
}

142
Assets/Fungus/Thirdparty/iTween/iTween.cs vendored

@ -706,13 +706,13 @@ public class iTween : MonoBehaviour{
//set tempColor and base fromColor:
if(target.GetComponent<GUITexture>()){
tempColor=fromColor=target.guiTexture.color;
tempColor=fromColor=target.GetComponent<GUITexture>().color;
}else if(target.GetComponent<GUIText>()){
tempColor=fromColor=target.guiText.material.color;
}else if(target.renderer){
tempColor=fromColor=target.renderer.material.color;
}else if(target.light){
tempColor=fromColor=target.light.color;
tempColor=fromColor=target.GetComponent<GUIText>().material.color;
}else if(target.GetComponent<Renderer>()){
tempColor=fromColor=target.GetComponent<Renderer>().material.color;
}else if(target.GetComponent<Light>()){
tempColor=fromColor=target.GetComponent<Light>().color;
}
//set augmented fromColor:
@ -744,13 +744,13 @@ public class iTween : MonoBehaviour{
//apply fromColor:
if(target.GetComponent<GUITexture>()){
target.guiTexture.color=fromColor;
target.GetComponent<GUITexture>().color=fromColor;
}else if(target.GetComponent<GUIText>()){
target.guiText.material.color=fromColor;
}else if(target.renderer){
target.renderer.material.color=fromColor;
}else if(target.light){
target.light.color=fromColor;
target.GetComponent<GUIText>().material.color=fromColor;
}else if(target.GetComponent<Renderer>()){
target.GetComponent<Renderer>().material.color=fromColor;
}else if(target.GetComponent<Light>()){
target.GetComponent<Light>().color=fromColor;
}
//set new color arg:
@ -948,7 +948,7 @@ public class iTween : MonoBehaviour{
tempAudioSource=(AudioSource)args["audiosource"];
}else{
if(target.GetComponent<AudioSource>()){
tempAudioSource=target.audio;
tempAudioSource=target.GetComponent<AudioSource>();
}else{
//throw error if no AudioSource is available:
Debug.LogError("iTween Error: AudioFrom requires an AudioSource.");
@ -3334,20 +3334,20 @@ public class iTween : MonoBehaviour{
//from and init to values:
if(GetComponent<GUITexture>()){
colors = new Color[1,3];
colors[0,0] = colors[0,1] = guiTexture.color;
colors[0,0] = colors[0,1] = GetComponent<GUITexture>().color;
}else if(GetComponent<GUIText>()){
colors = new Color[1,3];
colors[0,0] = colors[0,1] = guiText.material.color;
}else if(renderer){
colors = new Color[renderer.materials.Length,3];
for (int i = 0; i < renderer.materials.Length; i++) {
colors[i,0]=renderer.materials[i].GetColor(namedcolorvalue.ToString());
colors[i,1]=renderer.materials[i].GetColor(namedcolorvalue.ToString());
colors[0,0] = colors[0,1] = GetComponent<GUIText>().material.color;
}else if(GetComponent<Renderer>()){
colors = new Color[GetComponent<Renderer>().materials.Length,3];
for (int i = 0; i < GetComponent<Renderer>().materials.Length; i++) {
colors[i,0]=GetComponent<Renderer>().materials[i].GetColor(namedcolorvalue.ToString());
colors[i,1]=GetComponent<Renderer>().materials[i].GetColor(namedcolorvalue.ToString());
}
//colors[0] = colors[1] = renderer.material.color;
}else if(light){
}else if(GetComponent<Light>()){
colors = new Color[1,3];
colors[0,0] = colors[0,1] = light.color;
colors[0,0] = colors[0,1] = GetComponent<Light>().color;
}else{
colors = new Color[1,3]; //empty placeholder incase the GO is perhaps an empty holder or something similar
}
@ -3408,7 +3408,7 @@ public class iTween : MonoBehaviour{
audioSource=(AudioSource)tweenArguments["audiosource"];
}else{
if(GetComponent<AudioSource>()){
audioSource=audio;
audioSource=GetComponent<AudioSource>();
}else{
//throw error if no AudioSource is available:
Debug.LogError("iTween Error: AudioTo requires an AudioSource.");
@ -3434,11 +3434,11 @@ public class iTween : MonoBehaviour{
audioSource=(AudioSource)tweenArguments["audiosource"];
}else{
if(GetComponent<AudioSource>()){
audioSource=audio;
audioSource=GetComponent<AudioSource>();
}else{
//add and populate AudioSource if one doesn't exist:
gameObject.AddComponent<AudioSource>();
audioSource=audio;
audioSource=GetComponent<AudioSource>();
audioSource.playOnAwake=false;
}
@ -4110,36 +4110,36 @@ public class iTween : MonoBehaviour{
//apply:
if(GetComponent<GUITexture>()){
//guiTexture.color=colors[2];
guiTexture.color=colors[0,2];
GetComponent<GUITexture>().color=colors[0,2];
}else if(GetComponent<GUIText>()){
//guiText.material.color=colors[2];
guiText.material.color=colors[0,2];
}else if(renderer){
GetComponent<GUIText>().material.color=colors[0,2];
}else if(GetComponent<Renderer>()){
//renderer.material.color=colors[2];
for (int i = 0; i < colors.GetLength(0); i++) {
renderer.materials[i].SetColor(namedcolorvalue.ToString(),colors[i,2]);
GetComponent<Renderer>().materials[i].SetColor(namedcolorvalue.ToString(),colors[i,2]);
}
}else if(light){
}else if(GetComponent<Light>()){
//light.color=colors[2];
light.color=colors[0,2];
GetComponent<Light>().color=colors[0,2];
}
//dial in:
if(percentage==1){
if(GetComponent<GUITexture>()){
//guiTexture.color=colors[1];
guiTexture.color=colors[0,1];
GetComponent<GUITexture>().color=colors[0,1];
}else if(GetComponent<GUIText>()){
//guiText.material.color=colors[1];
guiText.material.color=colors[0,1];
}else if(renderer){
GetComponent<GUIText>().material.color=colors[0,1];
}else if(GetComponent<Renderer>()){
//renderer.material.color=colors[1];
for (int i = 0; i < colors.GetLength(0); i++) {
renderer.materials[i].SetColor(namedcolorvalue.ToString(),colors[i,1]);
GetComponent<Renderer>().materials[i].SetColor(namedcolorvalue.ToString(),colors[i,1]);
}
}else if(light){
}else if(GetComponent<Light>()){
//light.color=colors[1];
light.color=colors[0,1];
GetComponent<Light>().color=colors[0,1];
}
}
}
@ -4198,7 +4198,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.position;
if(physics){
thisTransform.position=preUpdate;
rigidbody.MovePosition(postUpdate);
GetComponent<Rigidbody>().MovePosition(postUpdate);
}
}
@ -4232,7 +4232,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.position;
if(physics){
thisTransform.position=preUpdate;
rigidbody.MovePosition(postUpdate);
GetComponent<Rigidbody>().MovePosition(postUpdate);
}
}
@ -4274,7 +4274,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.position;
if(physics){
thisTransform.position=preUpdate;
rigidbody.MovePosition(postUpdate);
GetComponent<Rigidbody>().MovePosition(postUpdate);
}
}
@ -4335,7 +4335,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.eulerAngles;
if(physics){
thisTransform.eulerAngles=preUpdate;
rigidbody.MoveRotation(Quaternion.Euler(postUpdate));
GetComponent<Rigidbody>().MoveRotation(Quaternion.Euler(postUpdate));
}
}
@ -4357,7 +4357,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.eulerAngles;
if(physics){
thisTransform.eulerAngles=preUpdate;
rigidbody.MoveRotation(Quaternion.Euler(postUpdate));
GetComponent<Rigidbody>().MoveRotation(Quaternion.Euler(postUpdate));
}
}
@ -4413,7 +4413,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.position;
if(physics){
thisTransform.position=preUpdate;
rigidbody.MovePosition(postUpdate);
GetComponent<Rigidbody>().MovePosition(postUpdate);
}
}
@ -4460,7 +4460,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.eulerAngles;
if(physics){
thisTransform.eulerAngles=preUpdate;
rigidbody.MoveRotation(Quaternion.Euler(postUpdate));
GetComponent<Rigidbody>().MoveRotation(Quaternion.Euler(postUpdate));
}
}
@ -4514,7 +4514,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.position;
if(physics){
thisTransform.position=preUpdate;
rigidbody.MovePosition(postUpdate);
GetComponent<Rigidbody>().MovePosition(postUpdate);
}
}
@ -4555,7 +4555,7 @@ public class iTween : MonoBehaviour{
postUpdate=thisTransform.eulerAngles;
if(physics){
thisTransform.eulerAngles=preUpdate;
rigidbody.MoveRotation(Quaternion.Euler(postUpdate));
GetComponent<Rigidbody>().MoveRotation(Quaternion.Euler(postUpdate));
}
}
@ -4855,13 +4855,13 @@ public class iTween : MonoBehaviour{
//init values:
if(target.GetComponent<GUITexture>()){
colors[0] = colors[1] = target.guiTexture.color;
colors[0] = colors[1] = target.GetComponent<GUITexture>().color;
}else if(target.GetComponent<GUIText>()){
colors[0] = colors[1] = target.guiText.material.color;
}else if(target.renderer){
colors[0] = colors[1] = target.renderer.material.color;
}else if(target.light){
colors[0] = colors[1] = target.light.color;
colors[0] = colors[1] = target.GetComponent<GUIText>().material.color;
}else if(target.GetComponent<Renderer>()){
colors[0] = colors[1] = target.GetComponent<Renderer>().material.color;
}else if(target.GetComponent<Light>()){
colors[0] = colors[1] = target.GetComponent<Light>().color;
}
//to values:
@ -4890,13 +4890,13 @@ public class iTween : MonoBehaviour{
//apply:
if(target.GetComponent<GUITexture>()){
target.guiTexture.color=colors[3];
target.GetComponent<GUITexture>().color=colors[3];
}else if(target.GetComponent<GUIText>()){
target.guiText.material.color=colors[3];
}else if(target.renderer){
target.renderer.material.color=colors[3];
}else if(target.light){
target.light.color=colors[3];
target.GetComponent<GUIText>().material.color=colors[3];
}else if(target.GetComponent<Renderer>()){
target.GetComponent<Renderer>().material.color=colors[3];
}else if(target.GetComponent<Light>()){
target.GetComponent<Light>().color=colors[3];
}
}
@ -4951,7 +4951,7 @@ public class iTween : MonoBehaviour{
audioSource=(AudioSource)args["audiosource"];
}else{
if(target.GetComponent<AudioSource>()){
audioSource=target.audio;
audioSource=target.GetComponent<AudioSource>();
}else{
//throw error if no AudioSource is available:
Debug.LogError("iTween Error: AudioUpdate requires an AudioSource.");
@ -5072,10 +5072,10 @@ public class iTween : MonoBehaviour{
}
//need physics?
if(target.rigidbody != null){
if(target.GetComponent<Rigidbody>() != null){
Vector3 postUpdate=target.transform.eulerAngles;
target.transform.eulerAngles=preUpdate;
target.rigidbody.MoveRotation(Quaternion.Euler(postUpdate));
target.GetComponent<Rigidbody>().MoveRotation(Quaternion.Euler(postUpdate));
}
}
@ -5281,10 +5281,10 @@ public class iTween : MonoBehaviour{
}
//need physics?
if(target.rigidbody != null){
if(target.GetComponent<Rigidbody>() != null){
Vector3 postUpdate=target.transform.position;
target.transform.position=preUpdate;
target.rigidbody.MovePosition(postUpdate);
target.GetComponent<Rigidbody>().MovePosition(postUpdate);
}
}
@ -6018,7 +6018,7 @@ public class iTween : MonoBehaviour{
/// </param>
public static void CameraFadeSwap(Texture2D texture){
if(cameraFade){
cameraFade.guiTexture.texture=texture;
cameraFade.GetComponent<GUITexture>().texture=texture;
}
}
@ -6042,8 +6042,8 @@ public class iTween : MonoBehaviour{
cameraFade = new GameObject("iTween Camera Fade");
cameraFade.transform.position= new Vector3(.5f,.5f,depth);
cameraFade.AddComponent<GUITexture>();
cameraFade.guiTexture.texture=texture;
cameraFade.guiTexture.color = new Color(.5f,.5f,.5f,0);
cameraFade.GetComponent<GUITexture>().texture=texture;
cameraFade.GetComponent<GUITexture>().color = new Color(.5f,.5f,.5f,0);
return cameraFade;
}
}
@ -6065,8 +6065,8 @@ public class iTween : MonoBehaviour{
cameraFade = new GameObject("iTween Camera Fade");
cameraFade.transform.position= new Vector3(.5f,.5f,Defaults.cameraFadeDepth);
cameraFade.AddComponent<GUITexture>();
cameraFade.guiTexture.texture=texture;
cameraFade.guiTexture.color = new Color(.5f,.5f,.5f,0);
cameraFade.GetComponent<GUITexture>().texture=texture;
cameraFade.GetComponent<GUITexture>().color = new Color(.5f,.5f,.5f,0);
return cameraFade;
}
}
@ -6085,8 +6085,8 @@ public class iTween : MonoBehaviour{
cameraFade = new GameObject("iTween Camera Fade");
cameraFade.transform.position= new Vector3(.5f,.5f,Defaults.cameraFadeDepth);
cameraFade.AddComponent<GUITexture>();
cameraFade.guiTexture.texture=CameraTexture(Color.black);
cameraFade.guiTexture.color = new Color(.5f,.5f,.5f,0);
cameraFade.GetComponent<GUITexture>().texture=CameraTexture(Color.black);
cameraFade.GetComponent<GUITexture>().color = new Color(.5f,.5f,.5f,0);
return cameraFade;
}
}
@ -6828,7 +6828,7 @@ public class iTween : MonoBehaviour{
}
//do we need to use physics, is there a rigidbody?
if(rigidbody != null){
if(GetComponent<Rigidbody>() != null){
physics=true;
}

BIN
Assets/FungusExamples/Sherlock/Images/background.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

55
Assets/FungusExamples/Sherlock/Images/background.jpg.meta

@ -0,0 +1,55 @@
fileFormatVersion: 2
guid: 0e9767bc88b404362852d1a4d5c0d103
timeCreated: 1425509366
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

1070
Assets/FungusExamples/Sherlock/TheExperiment.unity

File diff suppressed because it is too large Load Diff

2
ProjectSettings/EditorBuildSettings.asset

@ -6,4 +6,4 @@ EditorBuildSettings:
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/FungusExamples/TheHunter/TheHunter.unity
path: Assets/FungusExamples/Sherlock/TheExperiment.unity

21
ProjectSettings/GraphicsSettings.asset

@ -3,8 +3,27 @@
--- !u!30 &1
GraphicsSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
serializedVersion: 3
m_Deferred:
m_Mode: 1
m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
m_LegacyDeferred:
m_Mode: 1
m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
m_AlwaysIncludedShaders:
- {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_LightmapStripping: 0
m_LightmapKeepPlain: 1
m_LightmapKeepDirCombined: 1
m_LightmapKeepDirSeparate: 1
m_LightmapKeepDynamic: 1
m_FogStripping: 0
m_FogKeepLinear: 1
m_FogKeepExp: 1
m_FogKeepExp2: 1

133
ProjectSettings/NavMeshAreas.asset

@ -0,0 +1,133 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!126 &1
NavMeshLayers:
m_ObjectHideFlags: 0
Built-in Layer 0:
name: Default
cost: 1
editType: 2
Built-in Layer 1:
name: Not Walkable
cost: 1
editType: 0
Built-in Layer 2:
name: Jump
cost: 2
editType: 2
User Layer 0:
name:
cost: 1
editType: 3
User Layer 1:
name:
cost: 1
editType: 3
User Layer 2:
name:
cost: 1
editType: 3
User Layer 3:
name:
cost: 1
editType: 3
User Layer 4:
name:
cost: 1
editType: 3
User Layer 5:
name:
cost: 1
editType: 3
User Layer 6:
name:
cost: 1
editType: 3
User Layer 7:
name:
cost: 1
editType: 3
User Layer 8:
name:
cost: 1
editType: 3
User Layer 9:
name:
cost: 1
editType: 3
User Layer 10:
name:
cost: 1
editType: 3
User Layer 11:
name:
cost: 1
editType: 3
User Layer 12:
name:
cost: 1
editType: 3
User Layer 13:
name:
cost: 1
editType: 3
User Layer 14:
name:
cost: 1
editType: 3
User Layer 15:
name:
cost: 1
editType: 3
User Layer 16:
name:
cost: 1
editType: 3
User Layer 17:
name:
cost: 1
editType: 3
User Layer 18:
name:
cost: 1
editType: 3
User Layer 19:
name:
cost: 1
editType: 3
User Layer 20:
name:
cost: 1
editType: 3
User Layer 21:
name:
cost: 1
editType: 3
User Layer 22:
name:
cost: 1
editType: 3
User Layer 23:
name:
cost: 1
editType: 3
User Layer 24:
name:
cost: 1
editType: 3
User Layer 25:
name:
cost: 1
editType: 3
User Layer 26:
name:
cost: 1
editType: 3
User Layer 27:
name:
cost: 1
editType: 3
User Layer 28:
name:
cost: 1
editType: 3

178
ProjectSettings/ProjectSettings.asset

@ -3,15 +3,17 @@
--- !u!129 &1
PlayerSettings:
m_ObjectHideFlags: 0
serializedVersion: 3
serializedVersion: 6
AndroidProfiler: 0
defaultScreenOrientation: 2
targetDevice: 2
targetGlesGraphics: 1
targetIOSGraphics: -1
targetResolution: 0
accelerometerFrequency: 60
companyName: Fungus
productName: Fungus
productName: Sherlock
cloudProjectId:
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
defaultScreenWidth: 2000
@ -27,6 +29,7 @@ PlayerSettings:
m_Stereoscopic3D: 0
iosShowActivityIndicatorOnLoading: -1
androidShowActivityIndicatorOnLoading: -1
iosAppInBackgroundBehavior: 0
displayResolutionDialog: 1
allowedAutorotateToPortrait: 1
allowedAutorotateToPortraitUpsideDown: 1
@ -34,16 +37,16 @@ PlayerSettings:
allowedAutorotateToLandscapeLeft: 1
useOSAutorotation: 1
use32BitDisplayBuffer: 1
use24BitDepthBuffer: 1
disableDepthAndStencilBuffers: 0
defaultIsFullScreen: 0
defaultIsNativeResolution: 1
runInBackground: 0
captureSingleScreen: 0
Override IPod Music: 0
Prepare IOS For Recording: 0
enableHWStatistics: 1
submitAnalytics: 1
usePlayerLog: 1
stripPhysics: 0
bakeCollisionMeshes: 0
forceSingleInstance: 0
resizableWindow: 0
useMacAppStoreValidation: 0
@ -53,23 +56,31 @@ PlayerSettings:
xboxEnableKinect: 0
xboxEnableKinectAutoTracking: 0
xboxEnableFitness: 0
visibleInBackground: 0
macFullscreenMode: 2
d3d9FullscreenMode: 1
d3d11FullscreenMode: 1
xboxSpeechDB: 0
xboxEnableHeadOrientation: 0
xboxEnableGuest: 0
xboxOneResolution: 0
ps3SplashScreen: {fileID: 0}
videoMemoryForVertexBuffers: 0
psp2PowerMode: 0
psp2AcquireBGM: 1
m_SupportedAspectRatios:
4:3: 1
5:4: 1
16:10: 1
16:9: 1
Others: 1
iPhoneBundleIdentifier: com.fungus.example
bundleIdentifier: com.fungus.sherlock
bundleVersion: 1.0
preloadedAssets: []
metroEnableIndependentInputSource: 0
metroEnableLowLatencyPresentationAPI: 0
xboxOneDisableKinectGpuReservation: 0
productGUID: 47d9f350ed27d4ecaa6699f3ebe641c8
iPhoneBundleVersion: 1.0
AndroidBundleVersionCode: 1
AndroidMinSdkVersion: 9
AndroidPreferredInstallLocation: 1
@ -81,9 +92,10 @@ PlayerSettings:
ForceSDCardPermission: 0
CreateWallpaper: 0
APKExpansionFiles: 0
preloadShaders: 0
StripUnusedMeshComponents: 0
iPhoneSdkVersion: 988
iPhoneTargetOSVersion: 16
iPhoneTargetOSVersion: 22
uIPrerenderedIcon: 0
uIRequiresPersistentWiFi: 0
uIStatusBarHidden: 1
@ -92,14 +104,32 @@ PlayerSettings:
iPhoneSplashScreen: {fileID: 0}
iPhoneHighResSplashScreen: {fileID: 0}
iPhoneTallHighResSplashScreen: {fileID: 0}
iPhone47inSplashScreen: {fileID: 0}
iPhone55inPortraitSplashScreen: {fileID: 0}
iPhone55inLandscapeSplashScreen: {fileID: 0}
iPadPortraitSplashScreen: {fileID: 0}
iPadHighResPortraitSplashScreen: {fileID: 0}
iPadLandscapeSplashScreen: {fileID: 0}
iPadHighResLandscapeSplashScreen: {fileID: 0}
iOSLaunchScreenType: 0
iOSLaunchScreenPortrait: {fileID: 0}
iOSLaunchScreenLandscape: {fileID: 0}
iOSLaunchScreenBackgroundColor:
serializedVersion: 2
rgba: 0
iOSLaunchScreenFillPct: 1
iOSLaunchScreenCustomXibPath:
AndroidTargetDevice: 0
AndroidSplashScreenScale: 0
AndroidKeystoreName:
AndroidKeyaliasName:
AndroidTVCompatibility: 1
AndroidIsGame: 1
androidEnableBanner: 1
m_AndroidBanners:
- width: 320
height: 180
banner: {fileID: 0}
resolutionDialogBanner: {fileID: 0}
m_BuildTargetIcons:
- m_BuildTarget:
@ -112,6 +142,11 @@ PlayerSettings:
m_DynamicBatching: 1
webPlayerTemplate: APPLICATION:Default
m_TemplateCustomTags: {}
actionOnDotNetUnhandledException: 1
enableInternalProfiler: 0
logObjCUncaughtExceptions: 1
enableCrashReportAPI: 0
locationUsageDescription:
XboxTitleId:
XboxImageXexPath:
XboxSpaPath:
@ -127,6 +162,7 @@ PlayerSettings:
ps3ThumbnailPath:
ps3BackgroundPath:
ps3SoundPath:
ps3NPAgeRating: 12
ps3TrophyCommId:
ps3NpCommunicationPassphrase:
ps3TrophyPackagePath:
@ -134,15 +170,65 @@ PlayerSettings:
ps3TrophyCommSig:
ps3SaveGameSlots: 1
ps3TrialMode: 0
ps3VideoMemoryForAudio: 0
ps3EnableVerboseMemoryStats: 0
ps3UseSPUForUmbra: 0
ps3EnableMoveSupport: 1
ps3DisableDolbyEncoding: 0
ps4NPAgeRating: 12
ps4NPTitleSecret:
ps4NPTrophyPackPath:
ps4ParentalLevel: 1
ps4ContentID: ED1633-NPXX51362_00-0000000000000000
ps4Category: 0
ps4MasterVersion: 01.00
ps4AppVersion: 01.00
ps4AppType: 0
ps4ParamSfxPath:
ps4VideoOutPixelFormat: 0
ps4VideoOutResolution: 4
ps4PronunciationXMLPath:
ps4PronunciationSIGPath:
ps4BackgroundImagePath:
ps4StartupImagePath:
ps4SaveDataImagePath:
ps4BGMPath:
ps4ShareFilePath:
ps4NPtitleDatPath:
ps4RemotePlayKeyAssignment: -1
ps4EnterButtonAssignment: 1
ps4ApplicationParam1: 0
ps4ApplicationParam2: 0
ps4ApplicationParam3: 0
ps4ApplicationParam4: 0
ps4Passcode: 5PN2qmWqBlQ9wQj99nsQzldVI5ZuGXbE
ps4pnSessions: 1
ps4pnPresence: 1
ps4pnFriends: 1
ps4pnGameCustomData: 1
playerPrefsSupport: 0
monoEnv:
psp2Splashimage: {fileID: 0}
psp2LiveAreaGate: {fileID: 0}
psp2LiveAreaBackround: {fileID: 0}
psp2NPTrophyPackPath:
psp2NPSupportGBMorGJP: 0
psp2NPAgeRating: 12
psp2NPCommsID:
psp2NPCommunicationsID:
psp2NPCommsPassphrase:
psp2NPCommsSig:
psp2ParamSfxPath:
psp2ManualPath:
psp2LiveAreaGatePath:
psp2LiveAreaBackroundPath:
psp2LiveAreaPath:
psp2LiveAreaTrialPath:
psp2PatchChangeInfoPath:
psp2PatchOriginalPackage:
psp2PackagePassword:
psp2KeystoneFile:
psp2DRMType: 0
psp2StorageType: 0
psp2MediaCapacity: 0
psp2DLCConfigPath:
psp2ThumbnailPath:
psp2BackgroundPath:
@ -150,7 +236,23 @@ PlayerSettings:
psp2TrophyCommId:
psp2TrophyPackagePath:
psp2PackagedResourcesPath:
flashStrippingLevel: 2
psp2SaveDataQuota: 10240
psp2ParentalLevel: 1
psp2ShortTitle: Not Set
psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF
psp2Category: 0
psp2MasterVersion: 01.00
psp2AppVersion: 01.00
psp2TVBootMode: 0
psp2EnterButtonAssignment: 2
psp2TVDisableEmu: 0
psp2AllowTwitterDialog: 1
psp2Upgradable: 0
psp2HealthWarning: 0
psp2UseLibLocation: 0
psp2InfoBarOnStartup: 0
psp2InfoBarColor: 0
psmSplashimage: {fileID: 0}
spritePackerPolicy:
scriptingDefineSymbols: {}
metroPackageName: Fungus
@ -214,8 +316,10 @@ PlayerSettings:
metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1}
metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1}
metroSplashScreenUseBackgroundColor: 0
metroCapabilities: {}
metroUnprocessedPlugins: []
platformCapabilities: {}
metroFTAName:
metroFTAFileTypes: []
metroProtocolName:
metroCompilationOverrides: 1
blackberryDeviceAddress:
blackberryDevicePassword:
@ -223,10 +327,8 @@ PlayerSettings:
blackberryTokenExires:
blackberryTokenAuthor:
blackberryTokenAuthorId:
blackberryAuthorId:
blackberryCskPassword:
blackberrySaveLogPath:
blackberryAuthorIdOveride: 0
blackberrySharedPermissions: 0
blackberryCameraPermissions: 0
blackberryGPSPermissions: 0
@ -244,7 +346,47 @@ PlayerSettings:
tizenGPSPermissions: 0
tizenMicrophonePermissions: 0
stvDeviceAddress:
stvProductDescription:
stvProductAuthor:
stvProductAuthorEmail:
stvProductLink:
stvProductCategory: 0
XboxOneProductId:
XboxOneUpdateKey:
XboxOneSandboxId:
XboxOneContentId:
XboxOneTitleId:
XboxOneSCId:
XboxOneGameOsOverridePath:
XboxOnePackagingOverridePath:
XboxOneAppManifestOverridePath:
XboxOnePackageEncryption: 0
XboxOneDescription:
XboxOneIsContentPackage: 0
XboxOneEnableGPUVariability: 0
XboxOneSockets: {}
XboxOneSplashScreen: {fileID: 0}
XboxOneAllowedProductIds: []
XboxOnePersistentLocalStorageSize: 0
intPropertyNames:
- WebGL::ScriptingBackend
- WebGL::audioCompressionFormat
- WebGL::exceptionSupport
- WebGL::memorySize
- iOS::Architecture
- iOS::ScriptingBackend
WebGL::ScriptingBackend: 1
WebGL::audioCompressionFormat: 4
WebGL::exceptionSupport: 0
WebGL::memorySize: 256
iOS::Architecture: 2
iOS::ScriptingBackend: 0
boolPropertyNames:
- WebGL::dataCaching
WebGL::dataCaching: 0
stringPropertyNames:
- WebGL::emscriptenArgs
- WebGL::template
WebGL::emscriptenArgs:
WebGL::template: APPLICATION:Default
firstStreamedLevelWithResources: 0
unityRebuildLibraryVersion: 9
unityForwardCompatibleVersion: 39
unityStandardAssetsVersion: 0

2
ProjectSettings/ProjectVersion.txt

@ -0,0 +1,2 @@
m_EditorVersion: 5.0.0f4
m_StandardAssetsVersion: 0

39
ProjectSettings/QualitySettings.asset

@ -14,12 +14,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 1
shadowDistance: 15
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 1
textureQuality: 1
anisotropicTextures: 0
antiAliasing: 0
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
lodBias: .300000012
maximumLODLevel: 0
@ -33,12 +37,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 1
shadowDistance: 20
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 0
antiAliasing: 0
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
lodBias: .400000006
maximumLODLevel: 0
@ -52,12 +60,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 1
shadowDistance: 20
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 1
antiAliasing: 0
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
lodBias: .699999988
maximumLODLevel: 0
@ -71,12 +83,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 2
shadowDistance: 40
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 1
antiAliasing: 0
softParticles: 0
softVegetation: 1
realtimeReflectionProbes: 1
billboardsFaceCameraPosition: 1
vSyncCount: 1
lodBias: 1
maximumLODLevel: 0
@ -90,12 +106,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 2
shadowDistance: 70
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 4
textureQuality: 0
anisotropicTextures: 2
antiAliasing: 2
softParticles: 1
softVegetation: 1
realtimeReflectionProbes: 1
billboardsFaceCameraPosition: 1
vSyncCount: 1
lodBias: 1.5
maximumLODLevel: 0
@ -109,28 +129,19 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 4
shadowDistance: 150
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 4
textureQuality: 0
anisotropicTextures: 2
antiAliasing: 2
softParticles: 1
softVegetation: 1
realtimeReflectionProbes: 1
billboardsFaceCameraPosition: 1
vSyncCount: 1
lodBias: 2
maximumLODLevel: 0
particleRaycastBudget: 4096
excludedTargetPlatforms: []
m_PerPlatformDefaultQuality:
Android: 2
BlackBerry: 2
FlashPlayer: 3
GLES Emulation: 3
PS3: 3
Standalone: 3
Tizen: 2
WP8: 3
Web: 3
Wii: 3
Windows Store Apps: 3
XBOX360: 3
iPhone: 2
m_PerPlatformDefaultQuality: {}

Loading…
Cancel
Save