48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
URL: https://wiki.studiominus.nl/internalReference/SerialisedLayerBehaviour.html
|
|
Title: People Playground Modding - SerialisedLayerBehaviour
|
|
==================================================
|
|
|
|
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. |