Make work with astra
This commit is contained in:
parent
21859bcfb3
commit
c8ee5045e2
1 changed files with 6338 additions and 4613 deletions
|
|
@ -16,8 +16,10 @@ public class tweetPoller : NetworkBehaviour {
|
|||
|
||||
private clientGameMenu client;
|
||||
|
||||
private void Start ()
|
||||
public override void OnStartServer ()
|
||||
{
|
||||
base.OnStartServer();
|
||||
url = url.TrimEnd('/');
|
||||
GameObject newTweetObject = Instantiate(tweetPrefab);
|
||||
client = newTweetObject.GetComponent<clientGameMenu>();
|
||||
NetworkServer.Spawn(newTweetObject);
|
||||
|
|
|
|||
Loading…
Reference in a new issue