local color = require("core.color")
local thisObj
function OnScriptLoaded(level, obj)
  thisObj = obj
  obj:HideModel()
  obj.Parent.Parent:Hide()
  if game.InGameplayOnlyPlaytestMode() == true then
    obj.Parent.Parent:Show()
  end
  game.SubObject.SetForgetOnCheckpoint(obj)
  game.SubObject.Sleep(obj)
end
function ShowDebugText()
  local debugText = "Playtest_Collision: " .. thisObj.Parent.Parent:GetName() .. [[

 InGameplayOnlyPlaytestMode: ]] .. tostring(game.InGameplayOnlyPlaytestMode())
  engine.DrawTextInWorld(thisObj:GetWorldPosition(), debugText, color.white)
end
