mirror of
https://github.com/ConjureETS/Labo_2_Equ_1_a15.git
synced 2026-03-24 01:50:58 +00:00
Initial commit
This commit is contained in:
commit
1ec4de6231
21
.gitignore
vendored
Normal file
21
.gitignore
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[Ll]ibrary/
|
||||||
|
[Tt]emp/
|
||||||
|
[Oo]bj/
|
||||||
|
[Bb]uild/
|
||||||
|
|
||||||
|
# Autogenerated VS/MD solution and project files
|
||||||
|
*.csproj
|
||||||
|
*.unityproj
|
||||||
|
*.sln
|
||||||
|
*.suo
|
||||||
|
*.tmp
|
||||||
|
*.user
|
||||||
|
*.userprefs
|
||||||
|
*.pidb
|
||||||
|
*.booproj
|
||||||
|
|
||||||
|
# Unity3D generated meta files
|
||||||
|
*.pidb.meta
|
||||||
|
|
||||||
|
# Unity3D Generated File On Crash Reports
|
||||||
|
sysinfo.txt
|
||||||
9
Assets/Scenes.meta
Normal file
9
Assets/Scenes.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fba83323f8a85d748ba822e774f034fe
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1446000140
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Scenes/Master_Scene.unity
Normal file
BIN
Assets/Scenes/Master_Scene.unity
Normal file
Binary file not shown.
8
Assets/Scenes/Master_Scene.unity.meta
Normal file
8
Assets/Scenes/Master_Scene.unity.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7abe53abcf23a6941ae93e1e5f574ca9
|
||||||
|
timeCreated: 1446000170
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Scripts.meta
Normal file
9
Assets/Scripts.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ef1cd6b079e08644ebdad8b0af0395ae
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1446000121
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Scripts/Class.meta
Normal file
9
Assets/Scripts/Class.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0357ddb859d78154e9a13a61976ebcb3
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1446000203
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
27
Assets/Scripts/Class/Character.cs
Normal file
27
Assets/Scripts/Class/Character.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
public class Character{
|
||||||
|
|
||||||
|
private int mass;
|
||||||
|
private int mouvementSpeed { get; set; }
|
||||||
|
private int forceJump { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public Character(int m, int mvtSpeed, int fJump)
|
||||||
|
{
|
||||||
|
this.mass = m;
|
||||||
|
this.mouvementSpeed = mvtSpeed;
|
||||||
|
this.forceJump = fJump;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public int getMass()
|
||||||
|
{
|
||||||
|
return mass;
|
||||||
|
}
|
||||||
|
public void setMass(int m)
|
||||||
|
{
|
||||||
|
this.mass = m;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
12
Assets/Scripts/Class/Character.cs.meta
Normal file
12
Assets/Scripts/Class/Character.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ed97b5359b8dfea4ba7feb94ffd6cc1d
|
||||||
|
timeCreated: 1446000208
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
12
Assets/Scripts/Gravity.cs
Normal file
12
Assets/Scripts/Gravity.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class Gravity : MonoBehaviour {
|
||||||
|
|
||||||
|
public Character player;
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update () {
|
||||||
|
int test = player.getMass();
|
||||||
|
}
|
||||||
|
}
|
||||||
12
Assets/Scripts/Gravity.cs.meta
Normal file
12
Assets/Scripts/Gravity.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6a6a594d9cabe154c9b149b419887601
|
||||||
|
timeCreated: 1446000197
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
9
Assets/Sprites.meta
Normal file
9
Assets/Sprites.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7bfcc9491825f1245b3fcc84090496f1
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1446000148
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
ProjectSettings/AudioManager.asset
Normal file
BIN
ProjectSettings/AudioManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/DynamicsManager.asset
Normal file
BIN
ProjectSettings/DynamicsManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/EditorBuildSettings.asset
Normal file
BIN
ProjectSettings/EditorBuildSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/EditorSettings.asset
Normal file
BIN
ProjectSettings/EditorSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/GraphicsSettings.asset
Normal file
BIN
ProjectSettings/GraphicsSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/InputManager.asset
Normal file
BIN
ProjectSettings/InputManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/NavMeshAreas.asset
Normal file
BIN
ProjectSettings/NavMeshAreas.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/NetworkManager.asset
Normal file
BIN
ProjectSettings/NetworkManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/Physics2DSettings.asset
Normal file
BIN
ProjectSettings/Physics2DSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/ProjectSettings.asset
Normal file
BIN
ProjectSettings/ProjectSettings.asset
Normal file
Binary file not shown.
2
ProjectSettings/ProjectVersion.txt
Normal file
2
ProjectSettings/ProjectVersion.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
m_EditorVersion: 5.2.2f1
|
||||||
|
m_StandardAssetsVersion: 0
|
||||||
BIN
ProjectSettings/QualitySettings.asset
Normal file
BIN
ProjectSettings/QualitySettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/TagManager.asset
Normal file
BIN
ProjectSettings/TagManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/TimeManager.asset
Normal file
BIN
ProjectSettings/TimeManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/UnityAdsSettings.asset
Normal file
BIN
ProjectSettings/UnityAdsSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/UnityAnalyticsManager.asset
Normal file
BIN
ProjectSettings/UnityAnalyticsManager.asset
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user