Example #1
0
 public UIComponentSkinnerObjectParts(UIComponentSkinnerObjectParts baseParts)
 {
     this._uiSkinnerPartsType = baseParts._uiSkinnerPartsType;
     this._gameObject         = baseParts._gameObject;
     this._setActive          = baseParts._setActive;
     this._uiBasicSprite      = baseParts._uiBasicSprite;
     this._uiBasicSpriteColor = baseParts._uiBasicSpriteColor;
     this._uiWidget           = baseParts._uiWidget;
     this._animatedAlpha      = baseParts._animatedAlpha;
     this._alpha                      = baseParts._alpha;
     this._spriteSkinner              = baseParts._spriteSkinner;
     this._skinnerIndex               = baseParts._skinnerIndex;
     this._skinnerToggle              = baseParts._skinnerToggle;
     this._uiLabel                    = baseParts._uiLabel;
     this._uiLabelFontSize            = baseParts._uiLabelFontSize;
     this._useUnityFont               = baseParts._useUnityFont;
     this._uiLabelNguiFont            = baseParts._uiLabelNguiFont;
     this._uiLabelUnityFont           = baseParts._uiLabelUnityFont;
     this._uiLabelFontStyle           = baseParts._uiLabelFontStyle;
     this._uiLabelText                = baseParts._uiLabelText;
     this._uiLabelColor               = baseParts._uiLabelColor;
     this._uiLabelUseGradient         = baseParts._uiLabelUseGradient;
     this._uiLabelGradientTopColor    = baseParts._uiLabelGradientTopColor;
     this._uiLabelGradientBottomColor = baseParts._uiLabelGradientBottomColor;
     this._uiLabelEffectStyle         = baseParts._uiLabelEffectStyle;
     this._uiLabelEffectColor         = baseParts._uiLabelEffectColor;
     this._uiLabelEffectDistance      = baseParts._uiLabelEffectDistance;
     this._uiScreenPosition           = baseParts._uiScreenPosition;
     this._uiScreenPositionIndex      = baseParts._uiScreenPositionIndex;
     this._replacerIndex              = baseParts._replacerIndex;
     this._gameObjects                = baseParts._gameObjects;
     this._materialSwicher            = baseParts._materialSwicher;
     this._materialSwithcers          = baseParts._materialSwithcers;
     this._materialSwicherIndex       = baseParts._materialSwicherIndex;
 }
Example #2
0
 private void Awake()
 {
     this.spriteSkinner = base.GetComponent <UISpriteSkinnerBase>();
 }