Quantcast
Channel: Latest Questions by MiniForge
Browsing latest articles
Browse All 21 View Live

Basic object creation in arrays! Syntax error!

I'm trying to create a basic array of buildings, and store each Building object in an array slot. The array will hold a list of Building's that can later be put into a menu that would place the object...

View Article



Array empties values on RunTime?

I am trying to create an array from my building objects I have created. My script BuildingManager holds an array of my building objects. The array is public and I have dragged the three cubes shown in...

View Article

C# List looping Vector3's

Short story-I have a box and I want it to patrol a list of Vector3's in order. I want it to go through each List value and then go back to the first list value once its done. However, it seems that my...

View Article

Screen.showCursor = !Screen.showCursor; Not working

I have Screen.showCursor set to false after the level is loaded(Not in this script). However I want the cursor to toggle each time input is received from the escape key. I know my Input.getKey stuff is...

View Article

Unity GUI 4.6 stops animation

Basically, I have set up a small panel with 4 buttons. It is an in-game menu to let the player quit the game, and do other basic tasks. So I followed the Unity UI tutorials that were released, and...

View Article


RPCMode.AllBuffered Basic Question

The documentation seems to be pretty concise on the way AllBuffered is being sent. Basically, I have a build where a player hosts a game and plays at the same time(Listen server...

View Article

Multiplayer Level Loading

In [this example][1] on the Unity documentation it explains that the sending of RPCs should be turned off while the server loads Network.isMessageQueueRunning = false; Network.SetSendingEnabled(0,...

View Article

Multiplayer - Handling players leaving

What is the proper way to handle a player leaving a server during a game match? Currently, I have the OnPlayerDisconnected method as follows. void OnPlayerDisconnected(NetworkPlayer player){...

View Article


Networking HLAPI Spawning Objects

Hello, I have been reading through the new networking manual and ran into a few pretty simple questions. http://docs.unity3d.com/Manual/UNetSpawning.html > "there is a registration step that>...

View Article


HLAPI SyncVars property setter function

Hello, I was reading through the HLAPI manual section on Unity's website and got to this [section][1] about State Synchronization > Note that setting a SyncVar member variable inside a property...

View Article

HLAPI RPC synchronization - how to wait for a RPC

Hello, I've noticed when running a local server that my Network.Destroy will execute before the RPC call finishes on clients, which results in an RPC error being thrown. If I invoke the Destroy with a...

View Article
Browsing latest articles
Browse All 21 View Live




Latest Images