public ImageItem(BaseReport rp) : base(rp) { #if REPMAN_ZLIB FDecompStream = new MemoryStream(); #endif dpires = DEFAULT_DPI; Height = DEF_DRAWWIDTH; Width = Height; Expression = ""; SharedImage = SharedImageType.None; FStream = new MemoryStream(); }
void Awake() { if (Instance) { Destroy(gameObject); } else { Instance = this; DontDestroyOnLoad(gameObject); } #if !EASY_MOBILE sharedImageFormat = SharedImageType.PNG; #endif }