GE Lua Documentation

Press F to search!

onEnabled

Definition


-- @/lua/ge/client/postFx/fog.lua:53
underwaterFogPostFxCallbacks.onEnabled = function()
  local causticsFX = scenetree.findObject("CausticsPFX")
  if causticsFX then
    causticsFX:enable()
  end
  return true;
end

Callers