Ignition / RendererHelpers

Namespace Playniax.Ignition

Script can be found in Assets/Playniax/Framework/Ignition/Scripts/RendererHelpers.cs

Class RendererHelpers

Description

Collection of renderer functions.

Public MethodsDescription
static Bounds GetBounds(GameObject gameObject)Returns the bounds of an object with multiple renderers.
static Vector2 GetSize(GameObject gameObject)Returns the size of an object with multiple renderers.
static void SetOrder(GameObject gameObject, int orderInLayer, bool includeInactive = false)Sets order in layer.