Is it possible to attach an integer or any other type of variable to a gameobject and then access it other scripts? I have a number of blocks in my game and want to attach some extra data to it and access this data for various operations. Its similar to adding metadata to an object. Hope u get what i want to say.
GameObjects don’t do anything without scripts or components on them. If you want GameObjects with scripts already attached, take a look at the reference for Prefabs and Instantiate. I don’t know of a limit.
Only performance issue is to keep the Update() code in each as minimal as you can.