养成界面动画的完成
This commit is contained in:
parent
072b0dcd4b
commit
de1b5fb316
@ -73,7 +73,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 1
|
||||
m_SortingOrder: -1
|
||||
m_Sprite: {fileID: 21300000, guid: 8e8244b4b0d166146b5764c6a9542438, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
|
@ -3318,7 +3318,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: 7809d2bde3db162449baeb9aa9e39c43, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@ -10879,7 +10879,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: -2
|
||||
m_Sprite: {fileID: 21300000, guid: 6917918eac156694ea7b020d479802b3, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@ -41321,7 +41321,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: 0e7992614bd479b4883eb61fef1360d8, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@ -52598,7 +52598,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: 2d95d9fb43eaa3643a280995a03f70b3, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@ -55213,7 +55213,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: 9af11944126dd4b48a6d5cb46c229ad2, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@ -57717,7 +57717,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: d9cffc4627ef01a4b82c8c0c839eac11, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@ -58729,7 +58729,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: 180ce2ff98632514f9ec0c6f325f2909, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@ -63961,6 +63961,7 @@ GameObject:
|
||||
- component: {fileID: 1665266452}
|
||||
- component: {fileID: 1665266451}
|
||||
- component: {fileID: 1665266450}
|
||||
- component: {fileID: 1665266453}
|
||||
m_Layer: 0
|
||||
m_Name: Canvas
|
||||
m_TagString: Untagged
|
||||
@ -64051,6 +64052,19 @@ Canvas:
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 1
|
||||
m_TargetDisplay: 0
|
||||
--- !u!114 &1665266453
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1665266448}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d1691587b1992984caa500263cc35577, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
time: 0
|
||||
--- !u!1 &1665324091
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -69325,7 +69339,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: 5a260a480ed262043b9bf2910da181fa, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
@ -74731,7 +74745,7 @@ SpriteRenderer:
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: 1d4c3b0bf2c5f4446a177531ec96d04a, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
|
@ -17,9 +17,9 @@ public class AnimatoinManager : MonoBehaviour
|
||||
|
||||
private void Playanim()
|
||||
{
|
||||
GameObject fi = Instantiate((GameObject)Resources.Load("fish_1"));
|
||||
GameObject fi = Instantiate((GameObject)Resources.Load("fish_1"),this.gameObject.transform);
|
||||
float x = Random.Range(-5, 5);
|
||||
float y = Random.Range(-49,-67);
|
||||
float y = Random.Range(-11,0);
|
||||
fi.transform.position = new Vector3(x,y,0);
|
||||
Destroy(fi, 2f);
|
||||
}
|
||||
@ -28,9 +28,9 @@ public class AnimatoinManager : MonoBehaviour
|
||||
{
|
||||
for (int i = 0; i < Random.Range(1, 4); i++)
|
||||
{
|
||||
GameObject fi = Instantiate(Resources.Load<GameObject>("yunduo" + Random.Range(1, 4)));
|
||||
float x = Random.Range(-11, -18);
|
||||
float y = Random.Range(-49,-67);
|
||||
GameObject fi = Instantiate(Resources.Load<GameObject>("yunduo" + Random.Range(1, 4)),this.gameObject.transform);
|
||||
float x = Random.Range(-13, -15);
|
||||
float y = Random.Range(-11,11);
|
||||
fi.transform.position = new Vector3(x,y,0);
|
||||
Destroy(fi,10f);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user