void Init() { if (null == shHanz) { shHanz = new ShowHanzEx(); showMethod = showMothed.NO_SPRITE; } }
public void SetNormalImg(Image sr) { showMethod = showMothed.USE_NORMAL; img = sr; img.useSpriteMesh = true; }
public void SetImg(SVGImage sr) { showMethod = showMothed.USE_IMG; svgUI = sr; }
public void SetSprite(SpriteRenderer sr) { showMethod = showMothed.USE_SPRITE; spriteRd = sr; }