Skip to content

Commit c974025

Browse files
committed
update project to 2017.4.24f1
1 parent cdbc8cd commit c974025

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

Assets/Scripts/BuildScene.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
using UnityEngine;
2-
using System.Collections;
3-
4-
// builds stack of boxes
1+
// instantiate stack of boxes
2+
using UnityEngine;
53

64
public class BuildScene : MonoBehaviour
75
{

Assets/Scripts/MeshFader.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using UnityEngine;
2-
using System.Collections;
1+
// note: fade doesnt work if the material doest support transparency..
32

4-
// note: fade doesnt work if the material doest support transparency..
3+
using UnityEngine;
4+
using System.Collections;
55

66
public class MeshFader : MonoBehaviour
77
{

Assets/Scripts/SimpleMeshExploder.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using UnityEngine;
2-
using System.Collections;
32
using UnityEngine.SceneManagement;
43

54
public class SimpleMeshExploder : MonoBehaviour
@@ -15,7 +14,6 @@ void Start()
1514
cam = Camera.main;
1615
}
1716

18-
1917
void Update()
2018
{
2119
// for testing only, R to reset scene
@@ -75,8 +73,7 @@ void Explode(Transform target)
7573

7674
void CreateMeshPiece(float extrudeSize, Vector3 pos, Material mat, int index, Vector3 faceNormal, Vector3 v1, Vector3 v2, Vector3 v3, Vector2 uv1, Vector2 uv2, Vector2 uv3)
7775
{
78-
GameObject go = new GameObject();
79-
go.name = "piece_" + index;
76+
GameObject go = new GameObject("piece_" + index);
8077

8178
Mesh mesh = go.AddComponent<MeshFilter>().mesh;
8279
go.AddComponent<MeshRenderer>();

ProjectSettings/ProjectSettings.asset

15.3 KB
Binary file not shown.

ProjectSettings/ProjectVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
m_EditorVersion: 5.5.2p1
1+
m_EditorVersion: 2017.4.24f1

UnityPackageManager/manifest.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"dependencies": {
3+
}
4+
}

0 commit comments

Comments
 (0)