So I’m pretty new on Unity, and basically I’m following this training : Live Training 17th December 2014 - Merry Fragmas: Multiplayer FPS, Part 2 - YouTube
At 53 minutes the guy is changing the layer of an object.
If I’m typing the same thing as him, it don’t work.
I’ve tried a lot of things, but the thing is I can’t select, or at least change, a game object.
For example I’ve got this super simple code :
GameObject bla = GameObject.Find("FirstPersonCharacter/GunCamera/gun");
Destroy (bla);
Well it still doesn’t work.
I can’t tell if it’s because the object is not selected at all or because for some reason it can’t change the object.