How to


How to Add Moderation and Translation to Your Unity Game

Learn how to add Moderation and Language Translation to your Unity Game with PubNub. Moderating your chat is an essential feature in protecting your players from harmful behaviors and translating messages allows for more players to access your game.

How to Add Presence to Your Unity Game

Learn how to add Presence to your Unity Game to track the online and custom status of players. You'll learn about the different Presence Events, as well as implementing custom state to manage the exact location and activity of players in your game.

How to Add Real-time Chat to Your Unity Game

Learn how to add real-time chat to your Unity video game with PubNub. Understand how to set up different channel patterns, send/receive messages, and then enhance/secure your in-game chat with advanced features.

How to Summarize Missed Chat Messages with ChatGPT

This how-to focuses on an innovative method to optimize user interaction within your chat applications, employing OpenAI's sophisticated language model, ChatGPT, to summarize chat messages.

Test Cases for Chat Application

As software becomes more easily accessible than ever before, you need to ensure your chat application can successfully handle and support typical user behavior, as well as unintentional, odd, or even malicious behavior that can cause issues for your app.

Building Chat: Building with SDKs versus Components

Follow this how-to to understand the differences around building chat application with Chat Components or SDKs

Building Chat: Dealing with timestamps

Follow this how-to to understand how to deal with and format timestamps for PubNub Chat applications.

How to Develop a Scoring System for a Game

Read our complete guide on developing a scoring system for a game. In this guide, you’ll learn to build a scoring system to make your game interactive and social.

Build Collaborative Applications

Follow this how-to and learn how you can build and power your real-time collaborative applications with PubNub.