Class CustomStyleAttribute
Use this attribute to customize the appearance of a Marker.
구현
상속된 멤버
네임스페이스: UnityEngine.Timeline
어셈블리: solution.dll
구문
[AttributeUsage(AttributeTargets.Class)]
public class CustomStyleAttribute : Attribute, _Attribute
예
[CustomStyle("MyStyle")]
public class MyMarker : UnityEngine.Timeline.Marker { }
MyStyle
{
/* Specify the appearance of the marker in the collapsed state here. */
}
MyStyle:checked
{
/* Specify the appearance of the marker in the expanded state here. */
}
MyStyle:focused:checked
{
/* Specify the appearance of the marker in the selected state here. */
}
생성자
이름 | 설명 |
---|---|
CustomStyleAttribute(string) | Creates a new CustomStyleAttribute. |
필드
이름 | 설명 |
---|---|
ussStyle | The name of the USS style. |