private void Update() { if (apply) { apply = false; _rawImage.texture = HanziTextureGenerator.RequestCharacterTexture(hanzi, size); } }
private void Awake() { _rawImage = GetComponent <RawImage>(); _rawImage.texture = HanziTextureGenerator.RequestCharacterTexture(hanzi, size); }