-
-
Notifications
You must be signed in to change notification settings - Fork 2
Glossary: Events
Tron edited this page Jun 14, 2022
·
25 revisions
⚠️ This network is destroyed instantly right after its fired, for latter usage refer
network:fetch("Assetify:onLoad", true):on(function()
print("Assetify successfully loaded")
end)
network:fetch("Assetify:onUnload", true):on(function()
print("Assetify successfully unloaded")
end)
⚠️ This network is destroyed instantly right after its fired, for latter usage refer
network:fetch("Assetify:onModuleLoad", true):on(function()
print("Assetify's modules successfully loaded")
end)
network:fetch("Assetify:onLoad", true):on(function(assetType, assetName)
print("Asset Loaded: "..assetName.."("..assetType..")")
end)
network:fetch("Assetify:onUnload", true):on(function(assetType, assetName)
print("Asset Unloaded: "..assetName.."("..assetType..")")
end)
---
### ━ Assetify:onGlobalDataChange (Shared)
##### @Objective: Fired when asset is being unloaded.
```lua
network:fetch("Assetify:onGlobalDataChange", true):on(function(data, oldValue, newValue)
print("Global Data Changed: "..data.." : "..tostring(oldValue).." : "..tostring(newValue))
end)