0116
This commit is contained in:
@@ -18,6 +18,7 @@ namespace Simulator.Data {
|
||||
this.data = data;
|
||||
rackData= data;
|
||||
SpawnCell(data.rack_layout,false);
|
||||
onComponentClicked += FindAnyObjectByType<RackProperty>().SetProertyWindow;
|
||||
}
|
||||
|
||||
public override void GetModelData(DataObject modelData)
|
||||
@@ -128,5 +129,10 @@ namespace Simulator.Data {
|
||||
FitCollider();
|
||||
}
|
||||
}
|
||||
|
||||
public override void getpath()
|
||||
{
|
||||
onComponentClicked?.Invoke(ComponentType.Rack, rackData);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user