Sprite-based click detection.
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
name: "unpowered light"
|
||||
components:
|
||||
- type: Clickable
|
||||
bounds:
|
||||
south: 0.25,-0.5,0.75,0.5
|
||||
north: -0.25,-0.5,0.25,0.5
|
||||
east: -0.5,-0.5,0.5,0
|
||||
west: -0.5,0,0.5,0.5
|
||||
- type: InteractionOutline
|
||||
- type: Collidable
|
||||
- type: LoopingSound
|
||||
|
||||
@@ -69,6 +69,9 @@
|
||||
- type: Icon
|
||||
texture: Objects/Tools/cable_coil.png
|
||||
- type: WirePlacer
|
||||
- type: Clickable
|
||||
bounds:
|
||||
all: -0.15,-0.15,0.15,0.15
|
||||
|
||||
- type: entity
|
||||
id: CableStack1
|
||||
|
||||
Reference in New Issue
Block a user