Skip to content

Commit

Permalink
new proj
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenbai1 committed Feb 23, 2017
1 parent 60231bc commit 0a4fb6f
Show file tree
Hide file tree
Showing 1,141 changed files with 113,455 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Tutorial/Assets/Materials.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Tutorial/Assets/Materials/Ball_Material.mat
Binary file not shown.
8 changes: 8 additions & 0 deletions Tutorial/Assets/Materials/Ball_Material.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Tutorial/Assets/Materials/Floor_Material.mat
Binary file not shown.
8 changes: 8 additions & 0 deletions Tutorial/Assets/Materials/Floor_Material.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Tutorial/Assets/Materials/Player_Material.mat
Binary file not shown.
8 changes: 8 additions & 0 deletions Tutorial/Assets/Materials/Player_Material.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Tutorial/Assets/PhysicMaterials.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Tutorial/Assets/Prefebs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Tutorial/Assets/Prefebs/Ball_prefab.prefab
Binary file not shown.
8 changes: 8 additions & 0 deletions Tutorial/Assets/Prefebs/Ball_prefab.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Tutorial/Assets/Prefebs/Launcher_prefab.prefab
Binary file not shown.
8 changes: 8 additions & 0 deletions Tutorial/Assets/Prefebs/Launcher_prefab.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Tutorial/Assets/Scenes.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Tutorial/Assets/Scenes/GameScene.unity
Binary file not shown.
8 changes: 8 additions & 0 deletions Tutorial/Assets/Scenes/GameScene.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Tutorial/Assets/Scripts.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions Tutorial/Assets/Scripts/Ball.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Ball : MonoBehaviour {

// Use this for initialization
void Start () {
GetComponent<Rigidbody>().velocity = new Vector3(-8.0f, 8.0f, 0.0f);
}

// Update is called once per frame
void Update () {

}

void OnBecameInvisible()
{
Destroy(this.gameObject);
}
}
12 changes: 12 additions & 0 deletions Tutorial/Assets/Scripts/Ball.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions Tutorial/Assets/Scripts/Launcher.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Launcher : MonoBehaviour {
public GameObject ball;
// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {
if (Input.GetMouseButtonUp(1))
{
Instantiate(ball);
}
}
}
12 changes: 12 additions & 0 deletions Tutorial/Assets/Scripts/Launcher.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions Tutorial/Assets/Scripts/Player.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Player : MonoBehaviour {

private bool bIsLand = true;

protected float jump_speed = 5.0f;
// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {
if (Input.GetMouseButtonUp(0))
{
bIsLand = false;
GetComponent<Rigidbody>().velocity = Vector3.up * jump_speed;
}
}

void OnCollisionEnter(Collision collision)
{
Debug.Log("rextest onCollisionEnter!!!" + collision.gameObject.tag);
bIsLand = true;
// Debug.Break();
}
}
12 changes: 12 additions & 0 deletions Tutorial/Assets/Scripts/Player.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Tutorial/Library/AnnotationManager
Binary file not shown.
1 change: 1 addition & 0 deletions Tutorial/Library/AssetImportState
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5;0;6;0;0
Binary file added Tutorial/Library/AssetServerCacheV3
Binary file not shown.
Empty file.
Binary file added Tutorial/Library/BuildSettings.asset
Binary file not shown.
Binary file added Tutorial/Library/CurrentLayout.dwlt
Binary file not shown.
Binary file added Tutorial/Library/CurrentMaximizeLayout.dwlt
Binary file not shown.
Binary file added Tutorial/Library/EditorUserBuildSettings.asset
Binary file not shown.
Binary file added Tutorial/Library/EditorUserSettings.asset
Binary file not shown.
Binary file added Tutorial/Library/InspectorExpandedItems.asset
Binary file not shown.
Binary file added Tutorial/Library/LastBuild.buildreport
Binary file not shown.
4 changes: 4 additions & 0 deletions Tutorial/Library/LastSceneManagerSetup.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sceneSetups:
- path: Assets/Scenes/GameScene.unity
isLoaded: 1
isActive: 1
2 changes: 2 additions & 0 deletions Tutorial/Library/LibraryFormatVersion.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
unityRebuildLibraryVersion: 11
unityForwardCompatibleVersion: 40
Binary file added Tutorial/Library/MonoManager.asset
Binary file not shown.
Binary file added Tutorial/Library/ProjectSettings.asset
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions Tutorial/Library/ScriptAssemblies/BuiltinAssemblies.stamp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0000.5880b754.0000
0000.5880b76c.0000
Binary file added Tutorial/Library/ScriptMapper
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 0a4fb6f

Please sign in to comment.