|
|
|
|
|
|
|
|
|
|
channel = EngineConfigurationChannel() |
|
|
|
|
|
|
|
env = UnityEnvironment(base_port = 5004, side_channels = [channel]) |
|
|
|
env = UnityEnvironment(base_port = UnityEnvironment.DEFAULT_EDITOR_PORT, side_channels = [channel]) |
|
|
|
|
|
|
|
channel.set_configuration_parameters(time_scale = 2.0) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
channel = FloatPropertiesChannel() |
|
|
|
|
|
|
|
env = UnityEnvironment(base_port = 5004, side_channels = [channel]) |
|
|
|
env = UnityEnvironment(base_port = UnityEnvironment.DEFAULT_EDITOR_PORT, side_channels = [channel]) |
|
|
|
|
|
|
|
channel.set_property("parameter_1", 2.0) |
|
|
|
|
|
|
|