Some simple scripts I've used in my C# unity games