I don't have the source code right now, I will try to explain my error:
I created a multidimensional Array of GameObject, for each GameObject I created a primitive cube, added a script component containing a class with a boolean attribute with relative set/get method, set his attribute to true and moved the transform.
Then in my Update() function I want to get the value of the attribute of the clicked GameObject.
The script is working but I get FALSE instead of TRUE.
For Debug I put a Destroy(hit.trasform.gameObject) and the GameObject is destroyed, but still log FALSE instead of true.
Is it something wrong with the procedure? I have forgot something?
If isn't clear I will upload the code later when I have access!