public RigidbodyRotationProvider(System.Object obj) { component = ComponentHelper.GetComponent <Rigidbody>(obj); }
public LightIntensityProvider(Object obj) { light = obj as Light ?? ComponentHelper.GetComponent <Light>(obj); }
public ScaleProvider(System.Object obj) { component = ComponentHelper.GetComponent <Transform>(obj); }
public LocalPositionProvider(System.Object obj) { component = ComponentHelper.GetComponent <Transform>(obj); }
public MeshColorProvider(System.Object obj, Color defaultColor) { component = ComponentHelper.GetComponent <MeshFilter>(obj); this.defaultColor = defaultColor; }
public GraphicColorProvider(Object obj) { graphics = obj as MaskableGraphic ?? ComponentHelper.GetComponent <MaskableGraphic>(obj); }
public TransformRotationProvider(System.Object obj) { component = ComponentHelper.GetComponent <Transform>(obj); }
public MeshColorProvider(System.Object obj) : this(obj, Color.clear) { component = ComponentHelper.GetComponent <MeshFilter>(obj); }
public RectTransformSizeDeltaProvider(System.Object obj) { component = ComponentHelper.GetComponent <RectTransform>(obj); }
private readonly string fieldName; //_TintColor #endregion #region Constructor public RendererFloatProvider(Object obj, string feldName) { material = obj as Material ?? ComponentHelper.GetComponent <Renderer>(obj).material; fieldName = feldName; }
public SpriteRendererAlphaProvider(Object obj) { renderer = obj as SpriteRenderer ?? ComponentHelper.GetComponent <SpriteRenderer>(obj); }
public CameraOrthoSizeProvider(System.Object obj) { camera = ComponentHelper.GetComponent <Camera>(obj); }
public RendererColorProvider(Object obj, string fieldName) { material = obj as Material ?? ComponentHelper.GetComponent <Renderer>(obj).material; this.fieldName = fieldName; }
public TransformShortestRotationLocalProvider(System.Object obj) { component = ComponentHelper.GetComponent <Transform>(obj); }
public CameraRectSizeProvider(System.Object obj) { component = ComponentHelper.GetComponent <Camera>(obj); }