local function QuickPick(inst)
if inst.components.pickable then inst.components.pickable.quickpick = true end
end
AddPrefabPostInit("berrybush", QuickPick)
这个是将函数里面的内容
if inst.components.pickable then inst.components.pickable.quickpick = true end
添加到文件中
还是将整个函数
local function QuickPick(inst)
if inst.components.pickable then inst.components.pickable.quickpick = true end
end
添加到文件中
if inst.components.pickable then inst.components.pickable.quickpick = true end
end
AddPrefabPostInit("berrybush", QuickPick)
这个是将函数里面的内容
if inst.components.pickable then inst.components.pickable.quickpick = true end
添加到文件中
还是将整个函数
local function QuickPick(inst)
if inst.components.pickable then inst.components.pickable.quickpick = true end
end
添加到文件中