Commit 408f312a by Juliper

fix-2

parents 5e5ec16c 52ac555a
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -4,7 +4,6 @@ using UnityEngine;
public class BackgroundChanger : MonoBehaviour {
private List<GameObject> backgroundGroup = new List<GameObject>();
private List<GameObject> obstacleGroup = new List<GameObject>();
private GameObject[] gameObjectGroup;
......@@ -23,7 +22,6 @@ public class BackgroundChanger : MonoBehaviour {
background = GameObject.FindWithTag("Background");
}
private void CollectObstacles()
{
foreach(string color in colors)
......@@ -67,7 +65,6 @@ public class BackgroundChanger : MonoBehaviour {
UpdateObstacle(tagColor);
}
private void UpdateObstacle(string tagColor)
{
foreach (GameObject obstacle in obstacleGroup)
......
......@@ -3,16 +3,7 @@
--- !u!78 &1
TagManager:
serializedVersion: 2
tags:
- BlueObstacle
- GreenObstacle
- Background
- BlueBackground
- GreenBackground
- WhiteObstacle
- YellowObstacle
- GreyObstacle
- Water
tags: []
layers:
- Default
- TransparentFX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment