This commit is contained in:
2025-08-04 17:26:24 +09:00
parent 34b1390d09
commit 8b873aa20d
14 changed files with 680 additions and 648 deletions

View File

@@ -28,7 +28,6 @@ public abstract class SimulationModel : MonoBehaviour, IClickable
public Transform DataBubbleSocket;
protected BubbleUI bubbleUIPrefab;
protected BubbleUI currentBubble;
public string eventKey;
private bool isQuitting = false;
public Action<SimulationModel> onModelClicked;
protected Panel_SimulationUI simulationUI;
@@ -57,10 +56,6 @@ public abstract class SimulationModel : MonoBehaviour, IClickable
}
}
private void OnEnable()
{
StartCoroutine(RunSimulationCoroutine());
}
private void OnDestroy()
{
if (isQuitting) return;
@@ -94,10 +89,6 @@ public abstract class SimulationModel : MonoBehaviour, IClickable
collider.size = transform.InverseTransformVector(bounds.size);
collider.size = new Vector3(Mathf.Abs(collider.size.x), Mathf.Abs(collider.size.y),Mathf.Abs(collider.size.z));
}
protected virtual IEnumerator RunSimulationCoroutine()
{
yield return null;
}
public abstract void GetData(string data);