OnMouseDown()
{
obj = this.gameObject;
}
with this code i can choose objects with mouse but if i do this i should write different scripts for different objects. This mean there ll be too many script can i do same thing with a few scripts ?
↧