/// <summary> /// Check if the GameRegistery has a DataContainer for the player /// </summary> /// <param name="container">output the DataContainer if it exists or null</param> /// <returns></returns> public static bool HasPlayerData(out DataContainer container) { container = Registery.m_player; return(container != null); }
/// <summary> /// Register the DataContainer of the player /// </summary> /// <param name="container"></param> public static void RegisterPlayer(DataContainer container) { Registery.m_player = container; }