A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Hi, Solved my issue with identfying both variables locally by different functions. I think in case of passing a local variable value to a client...
No, by session I meant the sides in the multiplayer game being the host and client. So I need to pass the local variable by RPC to the local...
Hello everyone, I have two variables (int x, int y). In different sessions the x variable has different values (lets say in one x = 5, and in...
Thank you, I have been trying this a lot. I will then procede with two buttons as you suggested.
Hello everyone, I am trying to start the server and client within the same method that will be assigned to a button. Basically when a player...
Hello everyone, I am trying to synconrinize a local list called cardDeck in two different sessions. The list has all same amount of cards and...
Hello everyone, I have UI gameobject in my scene with a component having OnPointerDown event. So it basically opens a panel when the right button...
Hello everyone, I have some UI panels in my scene. I want to add some materials to them. When I apply the materials to the image component of...
Thanks Kurt, The problem here is that it is a dynamic panel (like an inventory) so that the needed position in the panel may vary for numerous...
Hello everyone, I create an empty gameobject in code like: GameObject placeHolder = new GameObject(); placeHolder.AddComponent<LayoutElement>();...
Thanks for the reply. I will consider your suggestion.
public class Card: MonoBehaviour { bool isPLayed; } Hello everyone. I have list of cards defined in my code. What I want to do is to retreive...
Thanks for replies
Hello everyone I have class with an enum like: public class Card : MonoBehaviour { public enum Color {Blue, Orange, Red, Grey} public Color...
Thanks to everyone replying
Hello everyone, I have a method that runs when a UI Button is clicked. So what I want to do is that when the button is clicked the triggered...
Hello everyone, I am trying to change the parent of an instantiated prefab from another script which does not contain the actual...
Hello everyone, I am having a wierd problem that I cannot figure out why it happens. I have a function which runs when a UI Button is clicked. I...
I am not an expert but your question reminded me the command design pattern. As I read from sources and from the videos that I watched, the major...
Indeed, thats what I wanted to do exactly, so you get me correct. It also appeared me as a bad idea when I first think of it but still I wanted to...