Jump to content

How do i add tags to existing prefabs?


Recommended Posts

AddPrefabPostInit("InsertPrefabHere", function()
	inst:AddTag("thetagyouwannaadd")
end)

There's also AddComponentPostInit, AddStategraphPostInit, AddClassPostConstruct and more. you can find this in the modutil.lua

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...