Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by theness_ · Mar 22, 2016 at 03:55 AM · networkingmultiplayernetworkmanager

Unet - whats the best approach for a global game manager?

I have some players running around, projectiles etc. all work great. But now I want to make a global script that synchronize general things between players, a "game manager" if you will. Among the game manager duties:

  1. check if victory condition is met (for example last man standing) and declare victory message to all players.

  2. send time-based and random messages to all players.

  3. synchronize level related stuff that don't necessarily have their own "player" object (for example, scene ambient light might change).

  4. etc.

so what's the best approach to create such an object? should I make an empty game object with network identity of server only and implement everything via client RPC functions? or do it like a "player" with local authority that sync stuff? and what Unet method should I use to transport those general messages (its not like position sync, its more like single events).

I'm new to the new Unet system and still trying to figure out what's the "right way" to do some things.

Thanks!

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image wildlucas · Aug 10, 2016 at 06:39 AM 0
Share

I also try to make multiplayer gamemanager. I create similar question: http://answers.unity3d.com/questions/1227175/increment-global-counter-on-all-players-with-unet.html

avatar image LK84 · Nov 29, 2016 at 10:34 AM 0
Share

Hey, I'm curious how you eventually created your game manager. I'm in a similar situation right now, trying to get familiar with UNET.

avatar image wildlucas LK84 · Nov 30, 2016 at 12:21 AM 0
Share

Hi! $$anonymous$$y solution is: 1) I spawn object on server with local authority and assign authority with player. This object plays role of NetworkGame$$anonymous$$anager. 2) I make synchronization between two NetworkGame$$anonymous$$anagers of both player. But now I use PhotonEngine, so I don't have this problem. I think that PhotonEngine is better solution. If you want to know why, I can tell you more.

avatar image theness_ wildlucas · Nov 30, 2016 at 08:03 AM 0
Share

Hi thanks for the reply but the question is no longer relevant (its quite old as you can see) :) cheers!

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Network Manager and Multiple Scenes 1 Answer

Only Host Can Damage Players In A Network Match 0 Answers

What's the [command] attribute with the new Network Manager? 0 Answers

How can I create a server without 3D loading? 1 Answer

Simple ClientRpc Whats wrong with it? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges