/// <summary> /// Verifies the exists. /// </summary> private void VerifyExists() { if (!GlobalList.Exists(_databasePath, _caliberTest, out _errOut)) { bool value = GlobalList.Add(_databasePath, _caliberTest, out _errOut); } }
public void AddTest() { VerifyDoesntExist(); bool value = GlobalList.Add(_databasePath, _caliberTest, out _errOut); General.HasTrueValue(value, _errOut); }
private void OnEnable() { // The GlobalList is not restricted to TriggerEntity. // Any class can use it. GlobalList <Player> .Add(this); ButtonHandler.Subscribe(this); }
private void OnEnable() { GlobalList <PlayerController> .Add(this); }