public GeneralSpriteProvider(AssetBundle assetBundle, string catalogContent) { _assetBundle = assetBundle; _spritesInformation = new SpritesInformation(catalogContent); _cachedSprites = new Utils.RingBuffer <Rendering.CachedSpriteInformation>(Constants.MapSizeX * Constants.MapSizeY * Constants.MapSizeZ * Constants.MapSizeW); }
public OnscreenMessageBox(Vector3Int?position, string speaker, int speakerLevel, MessageModeType mode, int messagesSize, TMPro.TextMeshProUGUI textMesh = null) { _position = position; Speaker = speaker; _speakerLevel = speakerLevel; Mode = mode; _messages = new Utils.RingBuffer <OnscreenMessage>(messagesSize); _textMesh = textMesh; }