first version
esto y aquello y eso otro
This commit is contained in:
9
New Unity Project/Assets/Materials.meta
Normal file
9
New Unity Project/Assets/Materials.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8fe7a480b7eff9043aa250d9fb0cb390
|
||||
folderAsset: yes
|
||||
timeCreated: 1462647662
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
New Unity Project/Assets/Materials/Background.mat
Normal file
BIN
New Unity Project/Assets/Materials/Background.mat
Normal file
Binary file not shown.
8
New Unity Project/Assets/Materials/Background.mat.meta
Normal file
8
New Unity Project/Assets/Materials/Background.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ba046c81a4db63d4980a77479fbd617b
|
||||
timeCreated: 1462647685
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
New Unity Project/Assets/Materials/Sideline.mat
Normal file
BIN
New Unity Project/Assets/Materials/Sideline.mat
Normal file
Binary file not shown.
8
New Unity Project/Assets/Materials/Sideline.mat.meta
Normal file
8
New Unity Project/Assets/Materials/Sideline.mat.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: da8602577bb3d2641854df4022891197
|
||||
timeCreated: 1462652284
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
9
New Unity Project/Assets/Scripts.meta
Normal file
9
New Unity Project/Assets/Scripts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53b40fc35532ab14ab4616cbb63371ce
|
||||
folderAsset: yes
|
||||
timeCreated: 1462649766
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
20
New Unity Project/Assets/Scripts/cameraController.cs
Normal file
20
New Unity Project/Assets/Scripts/cameraController.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class cameraController : MonoBehaviour {
|
||||
|
||||
public GameObject player;
|
||||
//so we reference the player on the inspector
|
||||
private Vector3 offset;
|
||||
//so we can calculate distance between player and camera
|
||||
void Start ()
|
||||
{
|
||||
offset = transform.position - player.transform.position;
|
||||
}
|
||||
|
||||
void LateUpdate ()
|
||||
//on lateUpdate because here goes the animation thingies ¿?
|
||||
{
|
||||
transform.position = player.transform.position + offset;
|
||||
}
|
||||
}
|
||||
12
New Unity Project/Assets/Scripts/cameraController.cs.meta
Normal file
12
New Unity Project/Assets/Scripts/cameraController.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68d9a363b9e46f84c97031449bea4bd7
|
||||
timeCreated: 1462651325
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
24
New Unity Project/Assets/Scripts/playerController.cs
Normal file
24
New Unity Project/Assets/Scripts/playerController.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class playerController : MonoBehaviour {
|
||||
|
||||
public float speed;
|
||||
|
||||
private Rigidbody rb;
|
||||
|
||||
void Start ()
|
||||
{
|
||||
rb = GetComponent<Rigidbody>();
|
||||
}
|
||||
|
||||
void FixedUpdate ()
|
||||
{
|
||||
float moveHorizontal = Input.GetAxis ("Horizontal");
|
||||
float moveVertical = Input.GetAxis ("Vertical");
|
||||
|
||||
Vector3 movement = new Vector3 (moveHorizontal, 0.0f, moveVertical);
|
||||
|
||||
rb.AddForce (movement * speed);
|
||||
}
|
||||
}
|
||||
12
New Unity Project/Assets/Scripts/playerController.cs.meta
Normal file
12
New Unity Project/Assets/Scripts/playerController.cs.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 839806aa7263f3d4ab4de845712585bd
|
||||
timeCreated: 1462649784
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
9
New Unity Project/Assets/_Scenes.meta
Normal file
9
New Unity Project/Assets/_Scenes.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7a92c43d7357865419a6a8d0149ae7cd
|
||||
folderAsset: yes
|
||||
timeCreated: 1462647058
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
New Unity Project/Assets/_Scenes/Minigame.unity
Normal file
BIN
New Unity Project/Assets/_Scenes/Minigame.unity
Normal file
Binary file not shown.
8
New Unity Project/Assets/_Scenes/Minigame.unity.meta
Normal file
8
New Unity Project/Assets/_Scenes/Minigame.unity.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1c7a6c4ebb6c38d4aa550f87d90b726a
|
||||
timeCreated: 1462647499
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
New Unity Project/Library/AnnotationManager
Normal file
BIN
New Unity Project/Library/AnnotationManager
Normal file
Binary file not shown.
1
New Unity Project/Library/AssetImportState
Normal file
1
New Unity Project/Library/AssetImportState
Normal file
@@ -0,0 +1 @@
|
||||
5;0;-1
|
||||
BIN
New Unity Project/Library/AssetServerCacheV3
Normal file
BIN
New Unity Project/Library/AssetServerCacheV3
Normal file
Binary file not shown.
BIN
New Unity Project/Library/AssetVersioning.db
Normal file
BIN
New Unity Project/Library/AssetVersioning.db
Normal file
Binary file not shown.
0
New Unity Project/Library/BuildPlayer.prefs
Normal file
0
New Unity Project/Library/BuildPlayer.prefs
Normal file
BIN
New Unity Project/Library/BuildSettings.asset
Normal file
BIN
New Unity Project/Library/BuildSettings.asset
Normal file
Binary file not shown.
BIN
New Unity Project/Library/CurrentLayout.dwlt
Normal file
BIN
New Unity Project/Library/CurrentLayout.dwlt
Normal file
Binary file not shown.
BIN
New Unity Project/Library/EditorUserBuildSettings.asset
Normal file
BIN
New Unity Project/Library/EditorUserBuildSettings.asset
Normal file
Binary file not shown.
BIN
New Unity Project/Library/EditorUserSettings.asset
Normal file
BIN
New Unity Project/Library/EditorUserSettings.asset
Normal file
Binary file not shown.
BIN
New Unity Project/Library/InspectorExpandedItems.asset
Normal file
BIN
New Unity Project/Library/InspectorExpandedItems.asset
Normal file
Binary file not shown.
2
New Unity Project/Library/LibraryFormatVersion.txt
Normal file
2
New Unity Project/Library/LibraryFormatVersion.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
unityRebuildLibraryVersion: 10
|
||||
unityForwardCompatibleVersion: 40
|
||||
BIN
New Unity Project/Library/MonoManager.asset
Normal file
BIN
New Unity Project/Library/MonoManager.asset
Normal file
Binary file not shown.
BIN
New Unity Project/Library/ScriptAssemblies/Assembly-CSharp.dll
Normal file
BIN
New Unity Project/Library/ScriptAssemblies/Assembly-CSharp.dll
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
0000.55511fec.0000
|
||||
0000.5551202e.0000
|
||||
BIN
New Unity Project/Library/ScriptMapper
Normal file
BIN
New Unity Project/Library/ScriptMapper
Normal file
Binary file not shown.
BIN
New Unity Project/Library/ShaderCache.db
Normal file
BIN
New Unity Project/Library/ShaderCache.db
Normal file
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.
BIN
New Unity Project/Library/assetDatabase3
Normal file
BIN
New Unity Project/Library/assetDatabase3
Normal file
Binary file not shown.
BIN
New Unity Project/Library/guidmapper
Normal file
BIN
New Unity Project/Library/guidmapper
Normal file
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.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user