mirror of
https://github.com/tetreum/brickcraft.git
synced 2026-02-09 11:38:59 -06:00
23 lines
424 B
C#
23 lines
424 B
C#
using UnityEngine;
|
|
|
|
namespace Brickcraft
|
|
{
|
|
public class Brick {
|
|
public string id;
|
|
public int itemId;
|
|
public GameObject gameObject;
|
|
|
|
public Item item {
|
|
get {
|
|
return Server.items[itemId];
|
|
}
|
|
}
|
|
|
|
public BrickModel model {
|
|
get {
|
|
return Server.brickModels[item.brickModelId];
|
|
}
|
|
}
|
|
}
|
|
}
|