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.
Yes, in theory, you are right. However, it is truly happend in my project. Right now, I just had this conclusion but having no clue why it is...
Did you have both scripts in the one folder? I had the same problem before. The most common situation for me is that I put them into different...
Thanks for point out my mistake. And I already tried to adding the second param which did not work. And what happend in my project is when I apply...
Hi there I just being confuse with the ability of Transform.SetParent In my opition, it should have same result as I maunally set parent in...
If I did not misundertood, you could using code like this. public AbilityOne One; public AbilityTwo Two; public int AbilityIndex = 0;...
In that case, why not just using the varibles to access the scripts? The function of ability menu is more like how your create you UI. In my...
Sorry for the confuse, yes the variables I intend to encapsulation are stats, they will be used in other scripts. My real issue is that I wish to...
Hi everyone Currently, I am doing the code encapsulation and I have some issue about how to deal with the variables. Here is what happened, in...
What I am trying to say is if your scripts had remove or add components to a certant gameobject, this change will show in the inspect window just...
For your first issue the gameObject.SetActive(false); does not mean you had destroy your object at all. If you want to Destroy an gameobject,...
Thanks for your answer, If that the case, I think I did the right thing. Here is the screen shot of my GameObject hierarchy the Can3 is an empty...
Sorry for my mistake, the word “components” in my post means the GameObject which had a parent GameObject. And I did not understand the concept...
Hi there I had an issue related with GameObject.SetActive funciton. I intend to use this func to active an deactived gameobject which contains 4...
Yes, I understand what's you mean. I think I was over pursuited of code simplicity.
Really greatful for your answer. It gives me a clearer view of the object pool usage. And yes, I will still using object pool in this part cause I...
Yes, that is my solution two, passing param manually. While I wish to found a way that can make this process as concise as...
Hi there I am making object pool to optimizing my project. My project has involved object appearence change and I planned to using object pool to...
Hi there Recently, I am play with unity game optimizing. And most of optimizing skills are related with Unity Perfabs. And I am wondering will It...
Thanks for your answer. Actually, I am a beginer of Unity script coding,hadn't using Unity or C# until 1 month ago. I am still play around to find...
Hi guys ! Recently I am working on an project which I need to add Mutiple scripts into one gameobjects. So I'd like to using one script to add...