MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / CheckboxUpdated

Method CheckboxUpdated

Source/Prefab.cpp:256–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256void Prefab::CheckboxUpdated(Checkbox* checkbox, double time)
257{
258 if (checkbox == mEnabledCheckbox)
259 {
260 for (auto& module : mModuleContainer.GetModules())
261 {
262 module->SetEnabled(mEnabled);
263 }
264 }
265}
266
267void Prefab::SavePrefab(std::string savePath)
268{

Callers

nothing calls this directly

Calls 1

SetEnabledMethod · 0.45

Tested by

no test coverage detected