Static Variables

I need a variable which is like static variable in that you can access it from another script on the same object.

However I do not want it to be accessible to other Objects, and static variables are.

The reason for this is because I want to place a pair of scripts across multiple objects and have them operating with each other, yet not with the other objects scripts.

If you have a reference to the object you want, you won´t be accessing the variable of other objects. Just use:

GetComponent(Script).var

and you´ll be accessing the variable of your current object. If you have another copy of this object in your scene, the same line in the other object will access its own copy of the var.

Very cool, thanks

edit I was using it already, so didnt need static variables. Idiot(me)