public class SerialisedLayerBehaviour

Inherits MonoBehaviour

No description provided

Fields

public OptionalInt SortingLayerID

No description provided


public OptionalInt SortingOrder

No description provided


public readonly static float NearbySearchRadius

No description provided


public (int id, int order) OriginalSorting

[SkipSerialisation]

No description provided


Methods

public static (int id, int order) GetSortingFor(PhysicalBehaviour phys)

No description provided


public static void SetSortingFor(PhysicalBehaviour phys, int sortingLayerId, int sortingOrder)

No description provided


public void SetOrder(int layerId, int order)

No description provided


public void SetOrder(OptionalInt layerId, OptionalInt order)

No description provided


public void MoveLayer(int delta)

Simplified layering method. This operation is quite expensive.


public static bool FindTopmostAround(Vector2 point, int sortingLayerId, out PhysicalBehaviour result, out int sortingOrder)

No description provided


public static bool FindBottommostAround(Vector2 point, int sortingLayerId, out PhysicalBehaviour result, out int sortingOrder)

No description provided


public void SendToBack()

Move behind all nearby objects. This operation is quite expensive.


public void BringToFront()

Move in front of all nearby objects. This operation is quite expensive.


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi