Skip to content
Snippets Groups Projects
Commit 9f9438ba authored by Raffael Di Pietro's avatar Raffael Di Pietro
Browse files

Ajustements

parent f05fa90c
Branches
No related merge requests found
......@@ -5588,7 +5588,7 @@ BoxCollider2D:
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: -11.424435, y: -9.144066}
m_Offset: {x: -11.424435, y: -7.6097336}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
......@@ -5599,7 +5599,7 @@ BoxCollider2D:
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 49.0467, y: 7.5176697}
m_Size: {x: 49.0467, y: 4.449005}
m_EdgeRadius: 0
--- !u!4 &1467294797 stripped
Transform:
......@@ -8,6 +8,8 @@ using System;
using System.Timers;
public class PlayerNature : MonoBehaviour
{
// l'instance de PlayerNature (pour un singleton)
......@@ -39,8 +41,6 @@ public class PlayerNature : MonoBehaviour
}
void Update()
{
......
......@@ -55,6 +55,7 @@ public class Shopping : MonoBehaviour
if (Input.GetKeyDown(KeyCode.E) && playerInRange && sellItem && itemForSale.Count>0)
{
PlayerNature.instance.LooseNature(25);
switch (sellItem.id)
{
case 1:
......
......@@ -5,19 +5,19 @@ EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
- enabled: 0
path: Assets/Scenes/Niveau1.unity
guid: 2cda990e2423bbf4892e6590ba056729
- enabled: 1
- enabled: 0
path: Assets/Scenes/Menu.unity
guid: 458707c07ba6b4b4297fc1de6ac38622
- enabled: 1
path: Assets/Scenes/sceneRaffael.unity
guid: bdf7662389bf8487c9a7909d08af8c3e
- enabled: 1
- enabled: 0
path: Assets/Scenes/Valentin.unity
guid: 8c9ceab1c999ea749aa0fe2b0c87b0bf
- enabled: 1
- enabled: 0
path: Assets/Scenes/Niveau2.unity
guid: 4ae30febc4f91474fa9164b85521aaf5
m_configObjects: {}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment