Noveltech

Tips & Tricks for your Programming

Find all our articles about scripts
  1. Delete children of GameObjects in Unity

    How to delete children of a gameobject while in Editor mode.

  2. Generate Predictable Random Numbers in Unity C#

    Ensure that a sequence of randomly generated numbers stays the same

  3. Modifying PostProcessing Effect Parameters at Runtime in Unity

    Add juice to your game by changing your PostProcessing effects parameters at runtime in Unity URP and HDRP.

  4. Setting up a Custom Cursor in Unity

    2 ways to replace the default system cursor in Unity.

  5. Flatten 2D array in Unity C#

    Sharing an utility class to flatten and unflatten 2D arrays in Unity C# for easy serialisation.

  6. Playmode Grid using Gizmos in Unity

    Visualizing a grid for development in editor play mode for Unity using Gizmos

  7. Easily Remove Missing Components from GameObjects

    Providing a function and an editor script to clean GameObjects containing missing components in Unity.

  8. Sharing Some Unity Utility Scripts on Github

    Sharing simple scripts for camera, lights management, debugging...

  9. Creating a Simple Tilt Shift Effect in Unity URP

    Setting up a Custom Renderer Feature to replicate a basic tilt shift effect that can be stacked on top of other post processing features.

  10. Generating Realistic Heights Distributions for Terrain Generation in C# for Unity

    Combining distributions (Normal, Gamma, Uniform...) to fake real-world height data and sampling them using Perlin or Simplex Noise.