ドキュメント

Unity Engine

Unity Engine

value

This is the relative value that indicates the sort order of this layer relative to the other layers.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int value { get; }

Remarks

You may use this to determine the sort order of the layer. Additional Resources: SortingLayer.GetLayerValueFromID.