uc deploy 8 years ago
commit 0c525903f2
  1. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Anna-Standby.asset
  2. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Cloud-Standby.asset
  3. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Elsa-Standby.asset
  4. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Elsa_Effect_A-Standby.asset
  5. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Elsa_Effect_B-Standby.asset
  6. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Kristoff-Standby.asset
  7. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Marshmallow-Standby.asset
  8. 4
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Olaf-Standby.asset
  9. 0
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Olaf-Standby.asset.meta
  10. 15
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Olaf_CC065056-Standby.asset
  11. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Space-Day.asset
  12. 2
      Unity_2018_Frozen/Assets/Frozen/DSAsset/Space-Night.asset
  13. 3088
      Unity_2018_Frozen/Assets/Frozen/Frozen.unity
  14. 12
      Unity_2018_Frozen/Assets/Frozen/FrozenNightParticleUniforms.asset
  15. 4
      Unity_2018_Frozen/Assets/Frozen/Material/GiantSnowflake.mat
  16. 2
      Unity_2018_Frozen/Assets/Frozen/Material/Space-Wall.mat
  17. 417
      Unity_2018_Frozen/Assets/Frozen/Script/CharacterBehaviour.cs
  18. 85
      Unity_2018_Frozen/Assets/Frozen/Script/ElsaEffectGenerator.cs
  19. 13
      Unity_2018_Frozen/Assets/Frozen/Script/ElsaEffectGenerator.cs.meta
  20. 88
      Unity_2018_Frozen/Assets/Frozen/Script/GiantSnowflake.cs
  21. 14
      Unity_2018_Frozen/Assets/Frozen/Script/SceneController.cs
  22. 2
      Unity_2018_Frozen/Assets/Frozen/Script/SpaceMeshGenerator.cs
  23. 76
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Anna-icn.mat
  24. 6
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Anna-icn.mat.meta
  25. 76
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Elsa-icn.mat
  26. 10
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Elsa-icn.mat.meta
  27. 76
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Kristoff_Sven-icn.mat
  28. 10
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Kristoff_Sven-icn.mat.meta
  29. 76
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Marshmallow-icn.mat
  30. 10
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Marshmallow-icn.mat.meta
  31. 76
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Olaf-icn.mat
  32. 10
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/Olaf-icn.mat.meta
  33. 3
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/icon_elsa.png
  34. 88
      Unity_2018_Frozen/Assets/Frozen/Texture/Character/icon_elsa.png.meta
  35. 97
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/Cloud_Snow-icn.mat
  36. 10
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/Cloud_Snow-icn.mat.meta
  37. 78
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/Elsa_Effect_A-icn.mat
  38. 10
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/Elsa_Effect_A-icn.mat.meta
  39. 2
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/Elsa_Effect_A.mat
  40. 78
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/Elsa_Effect_B-icn.mat
  41. 10
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/Elsa_Effect_B-icn.mat.meta
  42. 3
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/icon_cloud.png
  43. 88
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/icon_cloud.png.meta
  44. 3
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/icon_snowMagic.png
  45. 88
      Unity_2018_Frozen/Assets/Frozen/Texture/Effect/icon_snowMagic.png.meta

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Anna-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/Demo/Olaf-standby.avi
m_VideoPath: ../FrozenMaterial/day/snowball_only_hap.avi

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Cloud-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/Demo/Olaf-standby.avi
m_VideoPath: ../FrozenMaterial/icon/icon_cloud.avi

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Elsa-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/night/Elsa_Icon.avi
m_VideoPath: ../FrozenMaterial/icon/icon_elsa.avi

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Elsa_Effect_A-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/Demo/Olaf-standby.avi
m_VideoPath: ../FrozenMaterial/icon/icon_snowMagic.avi

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Elsa_Effect_B-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/Demo/Olaf-standby.avi
m_VideoPath: ../FrozenMaterial/icon/icon_snowMagic.avi

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Kristoff-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/Demo/Olaf-standby.avi
m_VideoPath: ../FrozenMaterial/day/snowball_only_hap.avi

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Marshmallow-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/Demo/Olaf-standby.avi
m_VideoPath: ../FrozenMaterial/icon/icon_elsa.avi

@ -9,7 +9,7 @@ MonoBehaviour:
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b7eca376a120a0e49a97afa024778843, type: 3}
m_Name: Olaf_CC065053-Standby
m_Name: Olaf-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/Demo/Olaf-standby.avi
m_VideoPath: ../FrozenMaterial/icon/icon_snowMagic.avi

@ -1,15 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b7eca376a120a0e49a97afa024778843, type: 3}
m_Name: Olaf_CC065056-Standby
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/Demo/Olaf-standby.avi

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Space-Day
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/space-dark-mountain-sq.avi
m_VideoPath: ../FrozenMaterial/space-ice-forest-sq_720p.avi

@ -12,4 +12,4 @@ MonoBehaviour:
m_Name: Space-Night
m_EditorClassIdentifier:
m_VideoLocation: 1
m_VideoPath: ../FrozenMaterial/space-dark-mountain-v1.avi
m_VideoPath: ../FrozenMaterial/space-dark-mountain-sq_720p.avi

File diff suppressed because it is too large Load Diff

@ -13,18 +13,18 @@ MonoBehaviour:
m_EditorClassIdentifier:
numRate: 1
movement: 1
geomSize: 0.094
velocityDamping: 1
lifeDuration: 10
geomSize: 0.02
velocityDamping: 0.98
lifeDuration: 5
lifeVariation: 0
convergence: 0
homeStrength: 0
homeStrength: 0.243
noiseStrength: 0.055
noiseSeed: 0.5
noiseTimeScale: 1
noiseFrequency: 0.731
noiseFrequency: 0.733
forceDirection: {x: 0, y: 0, z: 1}
forceStrength: 0
impulsePosition: {x: 0, y: 0, z: 0}
impulseRadius: 3
impulseStrength: 0.06
impulseStrength: 0.1

@ -39,7 +39,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: 86f3cfc9597a8cb439f8b1a059e766c5, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
@ -72,5 +72,5 @@ Material:
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 0.99999887}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

@ -77,7 +77,7 @@ Material:
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
- _isGamma: 0
- _isGamma: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

@ -6,49 +6,66 @@ using UnityEngine.UI;
public class CharacterBehaviour : MonoBehaviour
{
[SerializeField]
private bool standby = true;
[Range(0, 15)]
public float disappearTime = 5;
public Material mat;
public Area area;
public List<Area> AppearArea = new List<Area>();
public Vector2 wallRoi;
Vector2 wallRoi;
float origin_height = 0.0f;
[SerializeField]
private RectTransform fakeButton;
[SerializeField]
List<CharacterDummy> specificPositions = new List<CharacterDummy>();
[SerializeField, Range(0, 1)]
float roaming = 0.0f;
float roaming_seed = 0.0f;
[Header("DShow Player")]
[SerializeField]
bool isStandbyLoop = true;
public DShowClip standbyClip;
public DShowClip triggerClip;
public List<DShowClip> triggerClips = new List<DShowClip>();
int trigger_clip_index = 0;
[SerializeField]
private DShowMoviePlayer[] players;
private MeshRenderer m_meshRender;
public Color color;
private bool isSleep;
public float videoStopTime = 1.5f;
private const float checktriggerColliderTime = 0.5f;
private float triggerColliderTimer;
enum State
{
TRIGGER = 0,
STANDBY = 1,
SLEEP = 2
}
[SerializeField]
List<CharacterDummy> specificPositions = new List<CharacterDummy>();
State state = State.SLEEP;
DShowMoviePlayer StatePlayer { get { return players[(int)state]; } }
MeshRenderer StateRenderer { get { return renderers[(int)state]; } }
[SerializeField, Range(0, 1)]
float roaming = 0.0f;
float roaming_seed = 0.0f;
MeshRenderer[] renderers;
bool isTriggered = false;
Coroutine flow = null;
[SerializeField, Header("Debug")]
bool debug = false;
[SerializeField]
string debugString;
private void Awake()
{
m_meshRender = GetComponent<MeshRenderer>();
mat = new Material(Shader.Find("Unlit/ColorTransparent"));
m_meshRender.material = mat;
renderers = GetComponentsInChildren<MeshRenderer>();
if (renderers.Length != 2)
Debug.LogWarningFormat("{0} renderer count is {1}", gameObject.name, renderers.Length);
//m_meshRender = GetComponent<MeshRenderer>();
//mat = new Material(Shader.Find("Unlit/ColorTransparent"));
//m_meshRender.material = mat;
origin_height = transform.position.y;
@ -57,7 +74,7 @@ public class CharacterBehaviour : MonoBehaviour
void InitialiseDSPlayer()
{
CreateDSPlayer(triggerClip);
CreateDSPlayer(triggerClips[0]);
CreateDSPlayer(standbyClip);
players = GetComponentsInChildren<DShowMoviePlayer>();
}
@ -81,7 +98,8 @@ public class CharacterBehaviour : MonoBehaviour
fakeButton.anchorMin = new Vector2(0, 0);
fakeButton.anchorMax = new Vector2(0, 0);
fakeButton.pivot = new Vector2(0.5f, 0.5f);
fakeButton.sizeDelta = new Vector2(transform.localScale.x, transform.localScale.y) * FrozenScreenToWorldSpace.Instance.finalPixelsByMeter;
var standby_scale = renderers[(int)State.STANDBY].transform.localScale;
fakeButton.sizeDelta = new Vector2(standby_scale.x, standby_scale.y) * FrozenScreenToWorldSpace.Instance.finalPixelsByMeter;
fakeButton.anchoredPosition3D = new Vector3(0, 0, 0);
fakeButton.localScale = Vector3.one;
fakeButton.gameObject.AddComponent<RawImage>();
@ -93,24 +111,24 @@ public class CharacterBehaviour : MonoBehaviour
private void Start()
{
//standby = true;
//isSleep = false;
mat.mainTextureScale = new Vector2(1, -1);
mat.mainTextureOffset = new Vector2(0, -1);
//StartCoroutine(PlayOnStart());
//InitialTouchButton();
//StartCoroutine(RandomPosNoTriggerOther());
foreach (var rdr in renderers)
{
rdr.material.mainTextureScale = new Vector2(1, -1);
rdr.material.mainTextureOffset = new Vector2(0, -1);
}
}
private void OnEnable()
{
standby = true;
isSleep = false;
StartCoroutine(PlayOnStart());
InitialTouchButton();
StartCoroutine(RandomPosNoTriggerOther());
color = new Color(1,1,1,0);
StartCoroutine(Sleep());
ResetFlow();
//standby = true;
//isSleep = false;
//StartCoroutine(PlayStandbyOnStart());
//StartCoroutine(RandomPosNoTriggerOther());
//color = new Color(1, 1, 1, 0);
//StartCoroutine(Sleep());
if (fakeButton != null)
fakeButton.gameObject.SetActive(true);
}
@ -121,60 +139,198 @@ public class CharacterBehaviour : MonoBehaviour
fakeButton.gameObject.SetActive(false);
}
IEnumerator PlayOnStart()
private void ResetFlow()
{
DShowMoviePlayer player = currentPlayer;
player.Loop = true;
while (!player.IsPlaying)
if (flow != null)
{
player.Play();
mat.mainTexture = player.Texture;
yield return null;
StopCoroutine(flow);
flow = null;
}
isTriggered = false;
foreach (var rdr in renderers)
{
rdr.material.color = new Color(1, 1, 1, 0);
rdr.material.SetColor("_TintColor", new Color(1, 1, 1, 0));
}
foreach (var ply in players)
{
ply.Pause();
ply.Frame = 0;
}
flow = StartCoroutine(Flow());
}
void Update()
IEnumerator Flow()
{
if (Input.GetKeyDown(KeyCode.R))
if (debug) debugString = "setup";
// setup
{
if (!isTriggerCollider)
StartCoroutine(RandomPosNoTriggerOther());
}
if (specificPositions.Count > 0)
{
SetSpecificPos();
}
else
{
RandomAppearWall();
}
roaming_seed = Random.Range(0.0f, 1.0f);
UpdateMaterial();
trigger_clip_index = ++trigger_clip_index % triggerClips.Count;
players[(int)State.TRIGGER].VideoAsset = triggerClips[trigger_clip_index];
yield return null;
}
if (isSleep == false)
if (debug) debugString = "STANDBY";
// standby
{
if (standby == false)
state = State.STANDBY;
var player = StatePlayer;
player.Loop = isStandbyLoop;
player.Play();
while (isTriggered == false)
{
CheckPlayFinished();
if (debug) debugString = "STANDBY is not triggered";
if (player.Loop == false)
{
if (player.IsPlaying == false)
{
//player.Pause();
//player.Frame = player.TotalNumFrames;
if (debug) debugString = "STANDBY is not triggered and set frame";
}
}
yield return null;
}
else if (standby && roaming > 0.0f)
}
if (debug) debugString = "TRIGGER";
// trigger
{
state = State.TRIGGER;
var player = StatePlayer;
player.Play();
while (player.IsPlaying)
{
UpdateRoamingPosition();
UpdateWallRoiFromPosition();
UpdateButtonPos();
if (debug) debugString = "TRIGGER is playing";
yield return null;
}
player.Pause();
player.Frame = player.TotalNumFrames;
if (debug) debugString = "TRIGGER is stopped";
yield return new WaitForSeconds(videoStopTime);
}
if (isTriggerCollider)
CheckTriggerCollider();
}
if (debug) debugString = "SLEEP";
// sleep
{
state = State.SLEEP;
yield return new WaitForSeconds(disappearTime);
}
void CheckTriggerCollider()
flow = null;
yield return null;
}
/*
IEnumerator PlayStandbyOnStart()
{
triggerColliderTimer -= Time.deltaTime;
if (triggerColliderTimer <= 0)
isTriggerCollider = false;
DShowMoviePlayer player = CurrentPlayer;
player.Loop = isStandbyLoop;
while (!player.IsPlaying)
{
player.Play();
renderers[STANDBY].material.mainTexture = player.Texture;
yield return null;
}
}
*/
void Update()
{
for (int i = 0; i < players.Length; i++)
{
if (players[i].IsPlaying)
{
renderers[i].material.mainTexture = players[i].Texture;
}
}
// standby material
{
float smooth = Time.deltaTime * 2.0f;
if (state != State.STANDBY && isStandbyLoop == false)
smooth = 1.0f;
float alpha = System.Convert.ToInt32(state == State.STANDBY);
var mat = renderers[(int)State.STANDBY].material;
var col = new Color(1, 1, 1, Mathf.Lerp(mat.color.a, alpha, smooth));
mat.color = col;
mat.SetColor("_TintColor", col);
}
// trigger material
{
float smooth = Time.deltaTime * 2.0f;
if (state == State.TRIGGER)
smooth = 1.0f;
float alpha = System.Convert.ToInt32(state == State.TRIGGER);
var mat = renderers[(int)State.TRIGGER].material;
var col = new Color(1, 1, 1, Mathf.Lerp(mat.color.a, alpha, smooth));
mat.color = col;
mat.SetColor("_TintColor", col);
}
switch (state)
{
case State.STANDBY:
{
if (roaming > 0.0f)
{
UpdateRoamingPosition();
UpdateWallRoiFromPosition();
UpdateButtonPos();
}
}
break;
case State.TRIGGER:
{
}
break;
case State.SLEEP:
{
}
break;
}
if (Input.GetKeyDown(KeyCode.R))
{
ResetFlow();
}
if (flow == null)
ResetFlow();
}
void UpdateRoamingPosition()
{
float noise = Mathf.PerlinNoise(Time.time * 0.4f, roaming_seed) > 0.5f ? 1.0f : -1.0f;
noise *= roaming * Time.deltaTime;
float padding = transform.localScale.x * 0.5f;
//float padding = transform.localScale.x * 0.5f;
float padding = renderers[(int)State.TRIGGER].transform.localScale.x * 0.5f;
Vector3 pos = transform.position;
switch (area)
{
@ -196,20 +352,6 @@ public class CharacterBehaviour : MonoBehaviour
}
}
void UpdateMaterial()
{
mat.mainTexture = currentPlayer.Texture;
mat.SetColor("_Color", color);
}
void CheckPlayFinished()
{
if (currentPlayer.IsFinished)
{
StartCoroutine(Sleep());
}
}
void RandomAppearWall()
{
Vector3 newPos = Vector3.zero;
@ -231,13 +373,13 @@ public class CharacterBehaviour : MonoBehaviour
q.SetLookRotation(Vector3.forward);
}
transform.rotation = q;
transform.position = newPos + FrozenScreenToWorldSpace.Instance.Position;
transform.position = newPos;// + FrozenScreenToWorldSpace.Instance.Position;
RandomPos();
}
void RandomPos()
{
float minX = transform.localScale.x / 2;
float minX = renderers[(int)State.TRIGGER].transform.localScale.x / 2;
#if true
switch (area)
{
@ -292,7 +434,9 @@ public class CharacterBehaviour : MonoBehaviour
void UpdateButtonPos()
{
Vector2 newScreenPos = FrozenScreenToWorldSpace.Instance.GetFinalScreenPos(area, wallRoi);
//Vector2 newScreenPos = FrozenScreenToWorldSpace.Instance.GetFinalScreenPos(area, wallRoi);
var roi = FrozenScreenToWorldSpace.Instance.GetWallRoiFromPosition(area, renderers[(int)State.STANDBY].transform.position);
Vector2 newScreenPos = FrozenScreenToWorldSpace.Instance.GetFinalScreenPos(area, roi);
fakeButton.anchoredPosition = newScreenPos;
}
@ -314,112 +458,9 @@ public class CharacterBehaviour : MonoBehaviour
private void Trigger(PointerEventData data)
{
if (!standby || isSleep)
if (state != State.STANDBY)
return;
standby = false;
currentPlayer.Play();
mat.mainTexture = currentPlayer.Texture;
}
void Idle()
{
standby = true;
currentPlayer.Play();
}
DShowMoviePlayer currentPlayer { get { return players[System.Convert.ToInt32(standby)]; } }
IEnumerator Sleep()
{
standby = false;
isSleep = true;
yield return StartCoroutine(WaitVideoStopTimeFadeOut());
yield return new WaitForSeconds(GetDisappear());
yield return StartCoroutine(RandomPosNoTriggerOther());
yield return StartCoroutine(WaitVideoStandbyFadeIn());
isSleep = false;
Idle();
}
IEnumerator Fade(float targetA)
{
float value = 0;
float origin = color.a;
while (value < 1)
{
value = Mathf.Clamp(value + Time.deltaTime, 0, 1);
color.a = Mathf.Lerp(origin, targetA, value);
yield return null;
}
color.a = targetA;
}
IEnumerator WaitVideoStandbyFadeIn()
{
standby = true;
currentPlayer.Play();
mat.mainTexture = currentPlayer.Texture;
yield return StartCoroutine(Fade(1));
}
IEnumerator WaitVideoStopTimeFadeOut()
{
yield return new WaitForSeconds(videoStopTime);
yield return StartCoroutine(Fade(0));
currentPlayer.Pause();
currentPlayer.Frame = 0;
}
public bool isTriggerCollider;
private void OnTriggerExit(Collider other)
{
isTriggerCollider = false;
}
void OnTriggerStay(Collider other)
{
isTriggerCollider = true;
triggerColliderTimer = checktriggerColliderTime;
}
private void OnTriggerEnter(Collider other)
{
isTriggerCollider = true;
triggerColliderTimer = checktriggerColliderTime;
}
public float GetDisappear()
{
return disappearTime;
/*
float distime = disappearTime - Random.Range(0, disappearTime / 2);
distime = disappearTime * distime - distime * distime + 0.5f * distime;
return distime;
*/
}
IEnumerator RandomPosNoTriggerOther()
{
if (specificPositions.Count > 0)
{
SetSpecificPos();
yield return null;
}
else
{
RandomAppearWall();
yield return new WaitForSeconds(0.1f);
while (isTriggerCollider)
{
RandomAppearWall();
yield return null;
}
}
roaming_seed = Random.Range(0.0f, 1.0f);
yield return null;
isTriggered = true;
}
}

@ -1,85 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UltraCombos.Frozen
{
public class ElsaEffectGenerator : MonoBehaviour
{
[SerializeField]
KinectOpticalFlowMath kinectMath;
bool isHit = false;
Vector3 hitPoint = Vector3.zero;
private void Start()
{
}
private void Update()
{
/*
float padding = 0.5f;
Ray ray = new Ray(Vector3.zero, -new Vector3(kinectMath.averageVelocity.x, 0, kinectMath.averageVelocity.z));
float enter = 0.0f;
isHit = false;
Vector3 hit_point = Vector3.zero;
if (isHit == false)
{
if (FrozenScreenToWorldSpace.Instance.GetWallPlane(Area.LeftWall).Raycast(ray, out enter))
{
hit_point = ray.GetPoint(enter);
if (Mathf.Abs(hit_point.z) < FrozenScreenToWorldSpace.Instance.length * 0.5f - padding)
{
isHit = true;
}
}
}
if (isHit == false)
{
if (FrozenScreenToWorldSpace.Instance.GetWallPlane(Area.RightWall).Raycast(ray, out enter))
{
hit_point = ray.GetPoint(enter);
if (Mathf.Abs(hit_point.z) < FrozenScreenToWorldSpace.Instance.length * 0.5f - padding)
{
isHit = true;
}
}
}
if (isHit == false)
{
if (FrozenScreenToWorldSpace.Instance.GetWallPlane(Area.TopWall).Raycast(ray, out enter))
{
hit_point = ray.GetPoint(enter);
if (Mathf.Abs(hit_point.x) < FrozenScreenToWorldSpace.Instance.width * 0.5f - padding)
{
isHit = true;
}
}
}
if (isHit)
{
hitPoint = hit_point + transform.position;
}
*/
}
private void OnDrawGizmosSelected()
{
/*
Gizmos.DrawLine(transform.position, transform.position - new Vector3(kinectMath.averageVelocity.x, 0, kinectMath.averageVelocity.z) * 50.0f);
if (isHit == false)
return;
Gizmos.DrawWireCube(hitPoint, Vector3.one);
*/
}
}
}

@ -1,13 +0,0 @@
fileFormatVersion: 2
guid: a7fe449ac7fdb6943ac4f06843bce261
timeCreated: 1525923394
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -10,6 +10,8 @@ namespace UltraCombos.Frozen
float alpha = 0.0f;
float smooth = 0.025f;
[SerializeField]
DShowClip clip;
DShowMoviePlayer player;
[SerializeField]
@ -25,13 +27,31 @@ namespace UltraCombos.Frozen
float offset = 1.5f;
Vector3 root;
Coroutine flow = null;
private void Start()
{
material = GetComponent<MeshRenderer>().sharedMaterial;
player = GetComponent<DShowMoviePlayer>();
root = transform.position;
StartCoroutine(Flow());
//StartCoroutine(Flow());
}
private void OnEnable()
{
if (material == null)
material = GetComponent<MeshRenderer>().material;
if (player == null)
{
player = gameObject.AddComponent<DShowMoviePlayer>();
player.VideoAsset = clip;
player.Load();
}
if (flow != null)
StopCoroutine(flow);
flow = StartCoroutine(Flow());
}
private void FixedUpdate()
@ -47,7 +67,10 @@ namespace UltraCombos.Frozen
material.color = new Color(1.0f, 1.0f, 1.0f, alpha);
material.mainTexture = player.Texture;
if (flow == null)
flow = StartCoroutine(Flow());
}
private void OnDrawGizmosSelected()
@ -70,44 +93,43 @@ namespace UltraCombos.Frozen
{
float video_stamp = 0.0f;
float progress = 0.0f;
while (true)
video_stamp = Time.time;
progress = 0.0f;
player.Pause();
player.Frame = 0;
//Debug.Log("Begin");
while (progress < breakProgress)
{
video_stamp = Time.time;
progress = 0.0f;
player.Pause();
player.Frame = 0;
//Debug.Log("Begin");
while (progress < breakProgress)
var pos = kinect.averagePositinon;
float dist = new Vector2(pos.x - transform.position.x, pos.z - transform.position.z).magnitude;
if (dist < triggerRadius)
{
var pos = kinect.averagePositinon;
float dist = new Vector2(pos.x - transform.position.x, pos.z - transform.position.z).magnitude;
if (dist < triggerRadius)
{
//Debug.Log("OK");
progress += 0.001f;
}
else
{
progress = Mathf.Max(progress - 0.001f, 0.0f);
}
player.Frame = (uint)(player.TotalNumFrames * progress);
yield return null;
//Debug.Log("OK");
progress += 0.001f;
}
//Debug.Log("Play the rest");
player.Play();
while (player.IsFinished == false)
else
{
yield return null;
progress = Mathf.Max(progress - 0.001f, 0.0f);
}
yield return new WaitForSeconds(cooldown);
transform.position = root + new Vector3(Random.Range(-offset, offset), 0, 0);
player.Frame = (uint)(player.TotalNumFrames * progress);
yield return null;
//Debug.Log("Flow done");
}
//Debug.Log("Play the rest");
player.Play();
while (player.IsFinished == false)
{
yield return null;
}
yield return new WaitForSeconds(cooldown);
transform.position = root + new Vector3(Random.Range(-offset, offset), 0, 0);
yield return null;
//Debug.Log("Flow done");
}
}

@ -39,8 +39,9 @@ namespace UltraCombos.Frozen
[SerializeField]
List<CharacterBehaviour> nightCharacters = new List<CharacterBehaviour>();
[SerializeField]
bool debug = false;
//[SerializeField]
//bool debug = false;
float target_rate = 0.0f;
private void Start()
{
@ -49,9 +50,14 @@ namespace UltraCombos.Frozen
private void Update()
{
if (debug)
//if (debug)
{
rate = Mathf.Sin(Time.time * 0.2f) * 0.5f + 0.5f;
//rate = Mathf.Sin(Time.time * 0.2f) * 0.5f + 0.5f;
if (Input.GetKeyDown(KeyCode.PageDown) || Input.GetKeyDown(KeyCode.PageUp))
{
target_rate = 1.0f - target_rate;
}
rate = Mathf.Lerp(rate, target_rate, 0.02f);
}
uniform.rate = rate;

@ -32,7 +32,7 @@ namespace UltraCombos.Frozen
{
if (isAnimated)
{
var players = GetComponentsInChildren<DShowMoviePlayer>();
var players = GetComponentsInChildren<DShowMoviePlayer>(true);
foreach (var mp in players)
{
mp.gameObject.SetActive(true);

@ -0,0 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Anna-icn
m_Shader: {fileID: 4800000, guid: a76fe72ab9c198948a9233662c9407f3, type: 3}
m_ShaderKeywords: _ALPHATEST_ON _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 0a8eed7dd69bbac43ab277a7cc6074e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: d2326e93b3259884bb63ae615548d026, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}

@ -1,10 +1,10 @@
fileFormatVersion: 2
guid: 52eefee2f9118e04bbb195c0e27b0fc5
timeCreated: 1524210684
guid: 1cdc8e8858ddf8a48ae2acc576bc1ead
timeCreated: 1525245333
licenseType: Free
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Elsa-icn
m_Shader: {fileID: 4800000, guid: a76fe72ab9c198948a9233662c9407f3, type: 3}
m_ShaderKeywords: _ALPHATEST_ON _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 0a8eed7dd69bbac43ab277a7cc6074e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: fd36f1b4effedff4e9d335c04982acfd, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: ddc66ffea59cab24d93933e970aaea4f
timeCreated: 1525245333
licenseType: Free
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Kristoff_Sven-icn
m_Shader: {fileID: 4800000, guid: a76fe72ab9c198948a9233662c9407f3, type: 3}
m_ShaderKeywords: _ALPHATEST_ON _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 0a8eed7dd69bbac43ab277a7cc6074e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: d2326e93b3259884bb63ae615548d026, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: df84a14e3cc728849a322f8fade47789
timeCreated: 1525245333
licenseType: Free
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Marshmallow-icn
m_Shader: {fileID: 4800000, guid: a76fe72ab9c198948a9233662c9407f3, type: 3}
m_ShaderKeywords: _ALPHATEST_ON _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 0a8eed7dd69bbac43ab277a7cc6074e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: fd36f1b4effedff4e9d335c04982acfd, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 42a6e1bacb07f204cb0af72a39066cae
timeCreated: 1525245333
licenseType: Free
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Olaf-icn
m_Shader: {fileID: 4800000, guid: a76fe72ab9c198948a9233662c9407f3, type: 3}
m_ShaderKeywords: _ALPHATEST_ON _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 0a8eed7dd69bbac43ab277a7cc6074e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: fd36f1b4effedff4e9d335c04982acfd, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 2069c9e41aee9e04e89470e60c57b764
timeCreated: 1525245333
licenseType: Free
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2704e08b626b1b963f3d4d822e3ed169474d87b2a40395ba15489d94b11016b2
size 238374

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: fd36f1b4effedff4e9d335c04982acfd
timeCreated: 1526358761
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
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:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,97 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Cloud_Snow-icn
m_Shader: {fileID: 4800000, guid: a76fe72ab9c198948a9233662c9407f3, type: 3}
m_ShaderKeywords: _ALPHATEST_ON
m_LightmapFlags: 0
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 0a8eed7dd69bbac43ab277a7cc6074e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BlendOp: 0
- _BumpScale: 1
- _CameraFadingEnabled: 0
- _CameraFarFadeDistance: 2
- _CameraNearFadeDistance: 1
- _ColorMode: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DistortionBlend: 0.5
- _DistortionEnabled: 0
- _DistortionStrength: 1
- _DistortionStrengthScaled: 0
- _DstBlend: 0
- _EmissionEnabled: 0
- _FlipbookMode: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _InvFade: 1
- _LightingEnabled: 0
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
- _SoftParticlesFarFadeDistance: 1
- _SoftParticlesNearFadeDistance: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 0.0036816131}
- _ColorAddSubDiff: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
- _TintColor: {r: 1, g: 1, b: 1, a: 0.5}

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 482d068533c073147b880ef1a3cbbbdc
timeCreated: 1525245333
licenseType: Free
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,78 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Elsa_Effect_A-icn
m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _ALPHATEST_ON _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 0a8eed7dd69bbac43ab277a7cc6074e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 298e413853ea27d4986d37d1c19947b3, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _InvFade: 1
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _TintColor: {r: 1, g: 1, b: 1, a: 0.5}

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: ef4c4d78f0eeb744baec7916f94db5be
timeCreated: 1525245333
licenseType: Free
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

@ -75,4 +75,4 @@ Material:
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _TintColor: {r: 1, g: 1, b: 1, a: 0.5}
- _TintColor: {r: 1, g: 1, b: 1, a: 1}

@ -0,0 +1,78 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Elsa_Effect_B-icn
m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _ALPHATEST_ON _EMISSION
m_LightmapFlags: 1
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 2800000, guid: 0a8eed7dd69bbac43ab277a7cc6074e1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 298e413853ea27d4986d37d1c19947b3, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _InvFade: 1
- _Metallic: 0
- _Mode: 1
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _TintColor: {r: 1, g: 1, b: 1, a: 0.5}

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 8c39c22eb38d35d469dada1042a71ea9
timeCreated: 1525245333
licenseType: Free
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55e3ac35f39440370fe5cd28ad5a81736f769324a4e6af0a67caf4a5136d13d4
size 159719

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 517858b313ed84b42a71bdec163b4b6a
timeCreated: 1526355549
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
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:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b39ddb5ae279078aac95cc3822c26ab049842c348ca0f21fbb64d3386ec0a267
size 208049

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 298e413853ea27d4986d37d1c19947b3
timeCreated: 1526355549
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
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:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
Loading…
Cancel
Save