Fishing Rod + Cursor
This commit is contained in:
parent
29de95f46a
commit
fe63511825
5 changed files with 29 additions and 15 deletions
20
Assets/Items/Usable/FishingRod.asset
Normal file
20
Assets/Items/Usable/FishingRod.asset
Normal 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
|
||||||
3
Assets/Items/Usable/FishingRod.asset.meta
Normal file
3
Assets/Items/Usable/FishingRod.asset.meta
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ea1a26b19bc34a0ba29bad77253c7266
|
||||||
|
timeCreated: 1654237403
|
||||||
|
|
@ -4,7 +4,7 @@ using UnityEngine;
|
||||||
public class TileBehaviour : MonoBehaviour
|
public class TileBehaviour : MonoBehaviour
|
||||||
{
|
{
|
||||||
private BaseTile _tile;
|
private BaseTile _tile;
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,11 @@ namespace Tiles
|
||||||
protected Color color;
|
protected Color color;
|
||||||
public Color getColor => color;
|
public Color getColor => color;
|
||||||
// TODO: Change to Sprite, also in subclasses
|
// 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()
|
protected void Start()
|
||||||
|
|
|
||||||
|
|
@ -137,21 +137,12 @@
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"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": {
|
"com.unity.services.core": {
|
||||||
"version": "1.3.1",
|
"version": "1.0.1",
|
||||||
"depth": 1,
|
"depth": 1,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
"com.unity.modules.unitywebrequest": "1.0.0"
|
||||||
"com.unity.nuget.newtonsoft-json": "3.0.2",
|
|
||||||
"com.unity.modules.androidjni": "1.0.0"
|
|
||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue