Game.UI.InGame.PrefabUISystem+ComponentInt2PropertyBinder`1
Assembly: Game
Namespace: Game.UI.InGame
Type: class public
Base: Game.UI.InGame.PrefabUISystem+Int2PropertyBinder
Implements: Game.UI.InGame.PrefabUISystem+IPrefabPropertyBinder
Code
public class ComponentInt2PropertyBinder<T> : Game.UI.InGame.PrefabUISystem+Int2PropertyBinder, Game.UI.InGame.PrefabUISystem+IPrefabPropertyBinder
{
private readonly System.Func<T, Unity.Mathematics.int2> m_Getter;
private readonly System.Boolean m_OmitZero;
public ComponentInt2PropertyBinder`1(System.String labelId, System.String unit, System.Func<T, Unity.Mathematics.int2> getter, System.Boolean omitZero, System.Boolean signed, System.String icon, System.String valueIcon);
public virtual Unity.Mathematics.int2 GetValue(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity);
public virtual System.Boolean Matches(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity);
}
Fields
private readonly System.Func<T, Unity.Mathematics.int2> m_Getter
private readonly System.Func<T, Unity.Mathematics.int2> m_Getter;
private readonly System.Boolean m_OmitZero
private readonly System.Boolean m_OmitZero;
Constructors
public ComponentInt2PropertyBinder
1(System.String labelId, System.String unit, System.Funcgetter, System.Boolean omitZero = True, System.Boolean signed = False, System.String icon = null, System.String valueIcon = null)`
public ComponentInt2PropertyBinder`1(System.String labelId, System.String unit, System.Func<T, Unity.Mathematics.int2> getter, System.Boolean omitZero, System.Boolean signed, System.String icon, System.String valueIcon);
Methods
public virtual GetValue(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity) : Unity.Mathematics.int2
public virtual Unity.Mathematics.int2 GetValue(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity);
public virtual Matches(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity) : System.Boolean
public virtual System.Boolean Matches(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity);