public void Typing() { if (Time.time - lastTypingSent > sendTypingFrequency) { lastTypingSent = Time.time; SteamController.steamInScene.SendTypingTo(user.GetIdUInt64()); } }
public void SetUser(uint userId) { if (user == null || user.GetIdUInt32() != userId) { user = SteamController.steamInScene.GetFriendWithAccountId(userId); SteamController.steamInScene.RequestFriendChatHistory(user.GetIdUInt64()); } }