public override void SetEquipmentHUDSprites(Sprite[] sprites) { sprite = sprites[0]; ShrinkExpand shrinkExpand = gameObject.AddComponent <ShrinkExpand>(); shrinkExpand.SetValues(0.015f, 0.015f, 0, 0.85f, 1.15f); }
void Start() { image = GetComponent <Image>(); se = GetComponent <ShrinkExpand>(); se.enabled = false; previousCheck = hud.character.EquipmentModel[equipmentNum].GetHUDStatus(); image.sprite = sprite; image.color = color; }