Fishing Rod + Cursor

This commit is contained in:
s-prechtl 2022-06-03 08:29:07 +02:00
parent 29de95f46a
commit fe63511825
5 changed files with 29 additions and 15 deletions

View file

@ -0,0 +1,20 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 761f645f009328845bc7851753024e92, type: 3}
m_Name: FishingRod
m_EditorClassIdentifier:
displayName: Fishing Rod
description: Used to fish fish.
id: 5
selectedSprite: {fileID: 21300214, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
defaultSprite: {fileID: 21300240, guid: 2700e06d970d112489ff23cfb58c3f78, type: 3}
cost: 100

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ea1a26b19bc34a0ba29bad77253c7266
timeCreated: 1654237403

View file

@ -7,11 +7,11 @@ namespace Tiles
protected Color color;
public Color getColor => color;
// TODO: Change to Sprite, also in subclasses
// public Sprite sprite;
public Sprite Sprite;
protected BaseTile(Color color)
protected BaseTile(Sprite sprite)
{
this.color = color;
this.Sprite = sprite;
}
protected void Start()

View file

@ -137,21 +137,12 @@
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.nuget.newtonsoft-json": {
"version": "3.0.2",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.services.core": {
"version": "1.3.1",
"version": "1.0.1",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.nuget.newtonsoft-json": "3.0.2",
"com.unity.modules.androidjni": "1.0.0"
"com.unity.modules.unitywebrequest": "1.0.0"
},
"url": "https://packages.unity.com"
},