Update GaCy-GO
This commit is contained in:
1 parent
da8a32f60d
commit
0cbe460e49
345 files changed
+98202
-77559
No files matched your search
@@ -0,0 +1,16 @@
|
||||
-- One detached native UI object, immediately destroyed; no live page changes.
|
||||
do
|
||||
if not _G.__gacImageCtor1 then
|
||||
_G.__gacImageCtor1=true
|
||||
local obj
|
||||
local ok,e=pcall(function()
|
||||
obj=CS.UnityEngine.GameObject('GaCDetachedImageProbe',typeof(CS.UnityEngine.RectTransform),typeof(CS.UnityEngine.UI.Image))
|
||||
obj:SetActive(false)
|
||||
local image=obj:GetComponent(typeof(CS.UnityEngine.UI.Image))
|
||||
local rect=obj:GetComponent(typeof(CS.UnityEngine.RectTransform))
|
||||
CS.UnityEngine.Debug.Log('[GAC_IMAGE_CTOR] image='..tostring(image~=nil)..' rect='..tostring(rect~=nil))
|
||||
end)
|
||||
if obj then CS.UnityEngine.Object.Destroy(obj) end
|
||||
if not ok then CS.UnityEngine.Debug.Log('[GAC_IMAGE_CTOR] ERROR '..tostring(e))end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user