some general script I frequently used when developing Unity games.