Commit 77d8fabb authored by Bene's avatar Bene

Restarting now reloads the scene and doesnt reset every object manually

Buttons and UI are now relative to the screenscale
parent 4d0df2ee
......@@ -10,7 +10,6 @@ GameObject:
m_Component:
- component: {fileID: 8760503850251772925}
- component: {fileID: 8760503850251772926}
- component: {fileID: 8760503850251772924}
m_Layer: 0
m_Name: skribblefall_background
m_TagString: Untagged
......@@ -81,16 +80,3 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!114 &8760503850251772924
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8760503850251772927}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5e95042538051604c8000742efe1203a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -10
This diff is collapsed.
fileFormatVersion: 2
guid: 868016437747f494ab4c5371ffcfb51f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -9,6 +9,11 @@ public class collider : MonoBehaviour
public Sprite newSprite;
public GameObject coincalculator;
private void Awake()
{
Time.timeScale = 1.0f;
}
private void OnCollisionEnter2D(Collision2D other)
{
if (other.collider.gameObject.layer == LayerMask.NameToLayer("Scribble.Env") && other.collider.gameObject.CompareTag("Pickup"))
......
......@@ -24,7 +24,7 @@ EditorBuildSettings:
path: Assets/_Game/Peng/Peng.unity
guid: 2640b24037f31db489ade4bb30098a84
- enabled: 1
path: Assets/_Game/Scribble Fall/Scenes/Gameplay.unity
path: Assets/_Game/Scribble Fall/Scenes/Scribblefall.unity
guid: 868016437747f494ab4c5371ffcfb51f
- enabled: 1
path: Assets/_Game/SuperPlumber/SuperPlumber0.unity
......
......@@ -126,7 +126,7 @@ QualitySettings:
skinWeights: 2
textureQuality: 0
anisotropicTextures: 0
antiAliasing: 0
antiAliasing: 4
softParticles: 0
softVegetation: 1
realtimeReflectionProbes: 0
......
Markdown is supported
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