Welcome,
Guest
. Please
login
or
register
.
December 06, 2024, 02:26:22 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
TNet 3 Support
»
automatic tno ID ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: automatic tno ID ? (Read 2285 times)
Wonse
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 15
automatic tno ID ?
«
on:
September 02, 2013, 05:14:11 PM »
hello,
is there a way to get automaticly a ID to my TNobject ? or i have to set it myselft ? (it is for multiples environnements éléments, not instantiate mobs)
Logged
pyscho2day
Jr. Member
Thank You
-Given: 2
-Receive: 0
Posts: 74
Re: automatic tno ID ?
«
Reply #1 on:
September 02, 2013, 05:17:57 PM »
in unity go to Component > TNet > Normalize IDs
This will set all static TNObject IDs starting from 1.
If the item is a prefab and will be instantiated then leave it at 0 as when it is spawned it will be assigned one at that time.
Logged
Wonse
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 15
Re: automatic tno ID ?
«
Reply #2 on:
September 03, 2013, 01:48:42 AM »
It work. Tank you
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
TNet 3 Support
»
automatic tno ID ?