1
Fork 0
mirror of https://github.com/Steffo99/gravity-fusion.git synced 2024-11-21 16:04:18 +00:00
This commit is contained in:
Steffo 2019-10-07 17:50:34 +02:00
parent f907e3570f
commit 6f413af0b6
24 changed files with 1008 additions and 599 deletions

View file

@ -1,18 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BigBang : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View file

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: c376f1674be0b92429fb7196da95ecc1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -6,6 +6,9 @@ using UnityEngine;
[RequireComponent(typeof(Collider2D))]
public class BlackHole : MonoBehaviour
{
[BeforeStart]
public float startingMass;
[AfterStart]
public float spentMass;
public float Mass {
@ -43,7 +46,7 @@ public class BlackHole : MonoBehaviour
}
protected void Start() {
Mass = 50;
Mass = startingMass;
spentMass = 0;
}

View file

@ -9,6 +9,12 @@ public class CameraPan : MonoBehaviour
protected Vector3? lastMousePosition;
protected GameController gameController;
protected void Awake() {
gameController = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameController>();
}
private void Start() {
lastMousePosition = null;
}
@ -26,7 +32,11 @@ public class CameraPan : MonoBehaviour
}
lastMousePosition = currentMousePosition;
if(Input.GetAxisRaw("ResetCamera") > 0) {
Camera.main.transform.position = new Vector3(0, 0, Camera.main.transform.position.z);
if(gameController.blackHole != null) {
Camera.main.transform.position = new Vector3(gameController.blackHole.transform.position.x,
gameController.blackHole.transform.position.y,
Camera.main.transform.position.z);
}
}
}
}

View file

@ -62,9 +62,7 @@ public class GameController : MonoBehaviour
}
[Header("Simulation Status")]
[HideInInspector]
public List<Gravitation> simulatedObjects;
[HideInInspector]
public int maxTierPresent;
[Header("References")]
@ -89,7 +87,6 @@ public class GameController : MonoBehaviour
[HideInInspector]
public BlackHole blackHole;
protected void Awake() {
spawner = Camera.main.GetComponent<SpawnOnMouseClick>();
pusher = Camera.main.GetComponent<PushOnMouseClick>();
@ -97,7 +94,6 @@ public class GameController : MonoBehaviour
musicManager = GetComponent<MusicManager>();
simulatedObjects = new List<Gravitation>();
canvas = GameObject.FindGameObjectWithTag("Canvas").GetComponent<Canvas>();
blackHole = GameObject.FindGameObjectWithTag("BlackHole").GetComponent<BlackHole>();
upgradePanel = GameObject.FindGameObjectWithTag("UpgradePanel").GetComponent<UpgradePanel>();
}

View file

@ -4,7 +4,7 @@ MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
executionOrder: -50
icon: {instanceID: 0}
userData:
assetBundleName:

View file

@ -1,6 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
@ -8,9 +8,6 @@ public class Gravitation : MonoBehaviour
{
public bool isStatic;
[HideInInspector]
public int positionInList;
protected new Rigidbody2D rigidbody;
protected GameController gameController;
@ -38,7 +35,6 @@ public class Gravitation : MonoBehaviour
}
private void OnEnable() {
positionInList = SimulatedObjects.Count;
SimulatedObjects.Add(this);
}
@ -46,15 +42,11 @@ public class Gravitation : MonoBehaviour
SimulatedObjects.Remove(this);
}
private void Start()
{
}
// O(n²)
private void FixedUpdate()
{
foreach(Gravitation other in SimulatedObjects.Skip<Gravitation>(positionInList + 1)) {
if(other.positionInList <= this.positionInList) continue;
int positionInList = SimulatedObjects.IndexOf(this);
foreach(Gravitation other in SimulatedObjects.Skip(positionInList)) {
float distance = Vector3.Distance(this.transform.position, other.transform.position);
float force = GravitationConstant * this.Mass * other.Mass / Mathf.Clamp(Mathf.Pow(distance, 2), 0.1f, float.PositiveInfinity);
Vector3 direction = (other.transform.position - this.transform.position).normalized;

View file

@ -7,7 +7,9 @@ public class Merger : MonoBehaviour
{
public float mergeAfterSeconds;
protected bool mergeEnabled;
[HideInInspector]
public bool mergeEnabled;
protected List<Merger> mergeCandidates;
[HideInInspector]
@ -65,6 +67,11 @@ public class Merger : MonoBehaviour
}
protected void DoMerge() {
if(particle.gameController.blackHole == null) {
particle.gameController.blackHole = Instantiate(particle.gameController.blackHolePrefab, transform.position, Quaternion.identity).GetComponent<BlackHole>();
Destroy(this.gameObject);
return;
}
particle.Tier += 1;
foreach(Merger merged in mergeCandidates.ToArray()) {
if(merged == null) continue;

View file

@ -31,7 +31,15 @@ public class MusicManager : MonoBehaviour
neverStarted = true;
}
protected GameController gameController;
protected void Awake() {
gameController = GetComponent<GameController>();
}
public void UpdateLayers(int maxTier) {
if(gameController.blackHole == null) return;
if(maxTier == -1) {
baseLayerTargetVolume = 1f;
}

View file

@ -20,7 +20,7 @@ public class SpawnOnMouseClick : MonoBehaviour
return Camera.main.ScreenToWorldPoint(Input.mousePosition);
}
void Update()
protected void Update()
{
if(!gameController.upgradePanel.gameObject.activeSelf && Input.GetMouseButtonDown(mouseButton)) {
Vector3 mousePosition = GetWorldMousePosition();

View file

@ -16,6 +16,7 @@ public class TextFromBlackHoleMass : MonoBehaviour
protected void Update()
{
if(gameController.blackHole == null) return;
text.text = gameController.blackHole.Mass.ToString("0");
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -0,0 +1,91 @@
fileFormatVersion: 2
guid: 9f8f9bc84a629b64d92622a2ebf3c5e4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,397 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2403919130725522827
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2403919130725522831}
- component: {fileID: 2403919130725522830}
- component: {fileID: 2403919130725522825}
- component: {fileID: 2403919130725522824}
m_Layer: 5
m_Name: Canvas
m_TagString: Canvas
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2403919130725522831
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2403919130725522827}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2403919130170789885}
- {fileID: 2403919128831932114}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!223 &2403919130725522830
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2403919130725522827}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!114 &2403919130725522825
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2403919130725522827}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!114 &2403919130725522824
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2403919130725522827}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!1001 &8082650385904397302
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 2403919130725522831}
m_Modifications:
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 12
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 12
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_SizeDelta.x
value: 360
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_SizeDelta.y
value: 38.7
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_Pivot.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333642, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_Name
value: Mass
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333638, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: blackHole
value:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 48928de23c4bf22498a7fc6a69f24b08, type: 3}
--- !u!224 &2403919130170789885 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
m_PrefabInstance: {fileID: 8082650385904397302}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8438952279416240769
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 2403919130725522831}
m_Modifications:
- target: {fileID: 6071206155585637468, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_Name
value: Upgrades
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalPosition.z
value: -1
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.x
value: 856
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.y
value: 602
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206154778020748, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.x
value: 360
objectReference: {fileID: 0}
- target: {fileID: 6071206155260561004, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.x
value: 360
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMin.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 15
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.x
value: 111.29999
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_Pivot.x
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb, type: 3}
--- !u!224 &2403919128831932114 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
m_PrefabInstance: {fileID: 8438952279416240769}
m_PrefabAsset: {fileID: 0}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 76f8b0dd2ad607c40a99929d0fb69038
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -265,7 +265,6 @@ GameObject:
- component: {fileID: 9012813807232547518}
- component: {fileID: 4937878819460165300}
- component: {fileID: 1086337020}
- component: {fileID: 6405160859608101276}
m_Layer: 0
m_Name: GameController
m_TagString: GameController
@ -529,19 +528,6 @@ MonoBehaviour:
layers:
- {fileID: 4850948939192426854}
- {fileID: 1636788351}
--- !u!114 &6405160859608101276
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4669070901862137127}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 417c5b9357424244781a5ac6c548630c, type: 3}
m_Name:
m_EditorClassIdentifier:
upgrades: {fileID: 0}
--- !u!1 &7887871963136015922
GameObject:
m_ObjectHideFlags: 0

View file

@ -159,8 +159,8 @@ Rigidbody2D:
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 1
m_Mass: 0.7853982
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 0
@ -450,4 +450,5 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
mergeAfterSeconds: 0.2
mergeEnabled: 0
particle: {fileID: 0}

View file

@ -121,632 +121,136 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!224 &306773063 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
m_PrefabInstance: {fileID: 5870222235764070476}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &769317669
--- !u!1001 &187646578
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2084275844800580026, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522827, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_Name
value: BlackHole
value: Canvas
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_RootOrder
value: 1
value: 2
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2084275844800580021, guid: d2ff0823532914e4a8f5ecd0efc2a146,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d2ff0823532914e4a8f5ecd0efc2a146, type: 3}
--- !u!1 &863596081
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 863596085}
- component: {fileID: 863596084}
- component: {fileID: 863596083}
- component: {fileID: 863596082}
m_Layer: 5
m_Name: Canvas
m_TagString: Canvas
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &863596082
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 863596081}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &863596083
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 863596081}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!223 &863596084
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 863596081}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &863596085
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 863596081}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 306773063}
- {fileID: 1109083496}
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!1 &1109083495 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6071206155585637468, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
m_PrefabInstance: {fileID: 6071206154544056635}
m_PrefabAsset: {fileID: 0}
--- !u!224 &1109083496 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
m_PrefabInstance: {fileID: 6071206154544056635}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1456094397 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3271020097140099258, guid: d2ff0823532914e4a8f5ecd0efc2a146,
type: 3}
m_PrefabInstance: {fileID: 769317669}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2f86d0ffd697a6046a85ea2885566da9, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &1803533283597936005
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4669070901862137127, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_Name
value: GameController
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6405160859608101276, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: upgrades
value:
objectReference: {fileID: 1109083495}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bf08d766b6e86cf4a8773489143ab2d5, type: 3}
--- !u!1001 &4149834372374327779
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4149834372449123650, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_Name
value: EventSystem
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1494a5a29db06cd46ad1296e4d19e683, type: 3}
--- !u!1001 &5870222235764070476
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 863596085}
m_Modifications:
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 12
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 12
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_SizeDelta.x
value: 360
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_SizeDelta.y
value: 38.7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_Pivot.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333643, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130725522831, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333642, guid: 48928de23c4bf22498a7fc6a69f24b08,
- target: {fileID: 2403919130170789874, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_Name
value: Mass
objectReference: {fileID: 0}
- target: {fileID: 5870222235995333638, guid: 48928de23c4bf22498a7fc6a69f24b08,
type: 3}
propertyPath: blackHole
propertyPath: m_Text
value:
objectReference: {fileID: 1456094397}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 48928de23c4bf22498a7fc6a69f24b08, type: 3}
--- !u!1001 &6071206154544056635
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 863596085}
m_Modifications:
- target: {fileID: 6071206155585637468, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
objectReference: {fileID: 0}
- target: {fileID: 2403919128831932125, guid: 76f8b0dd2ad607c40a99929d0fb69038,
type: 3}
propertyPath: m_Name
value: Upgrades
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalPosition.z
value: -1
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.x
value: 856
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.y
value: 602
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206155585637459, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 6071206154778020748, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.x
value: 360
objectReference: {fileID: 0}
- target: {fileID: 6071206155260561004, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.x
value: 360
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMin.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 15
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_SizeDelta.x
value: 111.29999
objectReference: {fileID: 0}
- target: {fileID: 6071206155164727663, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb,
type: 3}
propertyPath: m_Pivot.x
value: 1
value: UpgradePanel
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 92e4f986dfcd64b42bf3ab401d8a2ecb, type: 3}
--- !u!1001 &9221969453494073200
m_SourcePrefab: {fileID: 100100000, guid: 76f8b0dd2ad607c40a99929d0fb69038, type: 3}
--- !u!1001 &199721176
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
@ -796,7 +300,7 @@ PrefabInstance:
- target: {fileID: 9221969453073420272, guid: 6baf9ec6ad712d940a83a3bf6ae3e6b1,
type: 3}
propertyPath: m_RootOrder
value: 2
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9221969453073420272, guid: 6baf9ec6ad712d940a83a3bf6ae3e6b1,
type: 3}
@ -815,3 +319,141 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6baf9ec6ad712d940a83a3bf6ae3e6b1, type: 3}
--- !u!1001 &429638864
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4149834372449123650, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_Name
value: EventSystem
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4149834372449123655, guid: 1494a5a29db06cd46ad1296e4d19e683,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1494a5a29db06cd46ad1296e4d19e683, type: 3}
--- !u!1001 &1193488136
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4669070901862137127, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_Name
value: GameController
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9012813807232547518, guid: bf08d766b6e86cf4a8773489143ab2d5,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bf08d766b6e86cf4a8773489143ab2d5, type: 3}

View file

@ -0,0 +1,115 @@
fileFormatVersion: 2
guid: 55164c05af4d31e4cb46f11ebe0b951d
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 17
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,91 @@
fileFormatVersion: 2
guid: 49dde0865b3fe8b4ea29f41de6d74645
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,91 @@
fileFormatVersion: 2
guid: 202ddae286468e44898ff353995f1bf5
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 10
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View file

@ -1,4 +1,4 @@
# LD45
# ![](/Assets/Media/github_icon.png) LD45
A Ludum Dare 45 Project