Create Production_workshop.prefab + Start UI display for prep
This commit is contained in:
parent
998cc81e0a
commit
6cce785d2c
8 changed files with 530 additions and 144 deletions
|
@ -16,11 +16,15 @@ public class UITimer : MonoBehaviour
|
|||
time.color = Color.green;
|
||||
}
|
||||
|
||||
//TODO: Override DisplayIcon to set Icon
|
||||
public void DisplayIcon(bool value)
|
||||
{
|
||||
icon.gameObject.SetActive(value);
|
||||
}
|
||||
public void DisplayIcon(Sprite newIcon)
|
||||
{
|
||||
icon.sprite=newIcon;
|
||||
icon.gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
//Value : [0,1]
|
||||
public void SetValue(float value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue