Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: Doomlazy on February 18, 2016, 08:52:58 AM
Title:
How to do TNManager.Create as GameObject?
Post by:
Doomlazy
on
February 18, 2016, 08:52:58 AM
I am trying to do this:
myPlayer
=
TNManager
.
Create
(
playerPrefab, redPlayerSpawns
[
i
]
.
transform
.
position
, redPlayerSpawns
[
i
]
.
transform
.
rotation
,
false
)
as
GameObject
;
but I just get this error:
Cannot convert type `void' to `UnityEngine.GameObject' via a built-in conversion
How can I do this?
Title:
Re: How to do TNManager.Create as GameObject?
Post by:
ArenMook
on
February 18, 2016, 11:03:45 AM
http://www.tasharen.com/forum/index.php?topic=5416.0