RemoveData||doc136343

September 20, 2022

Format

GlobalDataStore:RemoveData(key)

Describe

Remove the value on the key corresponding to the global data.

parameter

Variable name Type Describe
key string key

Code example

Remove the information of a player from the global data of the "message board".

local messageBoardData = Engine.DataService:GetGlobalDataStore("MessageBoard")
messageBoardData:RemoveData("Player_A")