move
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user