Skip to content

Commit

Permalink
added copyright info
Browse files Browse the repository at this point in the history
  • Loading branch information
maxilevi committed Nov 11, 2017
1 parent 3c16a4e commit b821b60
Show file tree
Hide file tree
Showing 31 changed files with 528 additions and 437 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ ProjectSettings
.vs
WireframeShader
/Assets/WireframeShader.meta
/Assets/Neon Skylines.ogg
/Assets/Ship.blend
13 changes: 11 additions & 2 deletions Assets/Explode.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
// C#
// SplitMeshIntoTriangles.cs
/* Copyright (C) Luaek - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Maxi Levi <maxilevi@live.com>, November 2017
*/


using UnityEngine;
using System.Collections;

public class Explode : MonoBehaviour
{
public AudioSource ExplosionAudio;
private GameObject Debris;
void Start(){
Debris = GameObject.FindGameObjectWithTag ("Debris");
SplitMesh();
}

Expand Down Expand Up @@ -41,6 +48,8 @@ void SplitMesh ()
mesh.triangles = new int[] { 0, 1, 2, 2, 1, 0 };

GameObject GO = new GameObject("Triangle " + (i / 3));
if (Debris != null)
GO.transform.parent = Debris.transform;
GO.transform.position = transform.position;
GO.transform.rotation = transform.rotation;
GO.AddComponent<MeshRenderer>().material = MR.materials[submesh];
Expand Down
8 changes: 7 additions & 1 deletion Assets/Extensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
using System.Collections;
/* Copyright (C) Luaek - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Maxi Levi <maxilevi@live.com>, November 2017
*/

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

Expand Down
8 changes: 7 additions & 1 deletion Assets/FollowShip.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
using UnityEngine;
/* Copyright (C) Luaek - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by Maxi Levi <maxilevi@live.com>, November 2017
*/

using UnityEngine;
using System.Collections;

public class FollowShip : MonoBehaviour {
Expand Down
Loading

0 comments on commit b821b60

Please sign in to comment.