16 lines
290 B
C#
16 lines
290 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
[RequireComponent(typeof(BoxCollider2D))]
|
||
|
public class Minerals : MonoBehaviour
|
||
|
{
|
||
|
[NonSerialized]
|
||
|
public BoxCollider2D boxCollider;
|
||
|
public int amount;
|
||
|
|
||
|
private void Start()
|
||
|
{
|
||
|
boxCollider = GetComponent<BoxCollider2D>();
|
||
|
}
|
||
|
}
|