internal GeneralSpriteProvider(AssetBundle assetBundle, string catalogContent) { m_AssetBundle = assetBundle; m_SpritesInformation = new SpritesInformation(catalogContent); m_CachedSpriteInformations = new Utility.RingBuffer <Rendering.CachedSpriteInformation>(Constants.MapSizeX * Constants.MapSizeY * Constants.MapSizeZ * Constants.MapSizeW); }
internal OnscreenMessageBox(Vector3Int?position, string speaker, int speakerLevel, MessageModeType mode, int messagesSize, TMPro.TextMeshProUGUI textMesh = null) { m_Position = position; Speaker = speaker; m_SpeakerLevel = speakerLevel; Mode = mode; m_Messages = new Utility.RingBuffer <OnscreenMessage>(messagesSize); m_TextMesh = textMesh; }