bubble
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
using Octopus.Simulator;
|
||||
using UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
@@ -47,6 +48,10 @@ public class SimulationModelResource : SimulationModel
|
||||
{
|
||||
this.currentStatus = data;
|
||||
SetBubble($"{data.claimers}/{data.original_capacity}");
|
||||
if (currentBubble)
|
||||
{
|
||||
currentBubble.SetDetail(data, logicType.resource, FindAnyObjectByType<LogicUIManager>().itemMap[nodeID].Label);
|
||||
}
|
||||
}
|
||||
|
||||
public override void GetData(string data)
|
||||
|
||||
Reference in New Issue
Block a user