Skip to content

Commit c991c75

Browse files
committed
Added Testie
1 parent 1c3e252 commit c991c75

240 files changed

Lines changed: 11334 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Testie/Assets/Scenes.meta

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
30.8 KB
Binary file not shown.

Testie/Assets/Scenes/CrosshairTest.unity.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
35.3 KB
Binary file not shown.

Testie/Assets/Scenes/FaderTest.unity.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Testie/Assets/Scripts.meta

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using UnityEngine;
4+
5+
public class RandomSpinningCube : MonoBehaviour {
6+
7+
//This class will be awesome!
8+
9+
public Vector3 rotationSpeed;
10+
public float maxRotationSpeed = 1;
11+
12+
void Awake()
13+
{
14+
rotationSpeed = new Vector3(
15+
Random.Range(-maxRotationSpeed, +maxRotationSpeed),
16+
Random.Range(-maxRotationSpeed, +maxRotationSpeed),
17+
Random.Range(-maxRotationSpeed, +maxRotationSpeed));
18+
}
19+
20+
void FixedUpdate()
21+
{
22+
transform.localEulerAngles += rotationSpeed;
23+
24+
}
25+
26+
}

Testie/Assets/Scripts/RandomSpinningCube.cs.meta

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Testie/Assets/Standard Assets.meta

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Testie/Assets/Standard Assets/Characters.meta

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)