Example #1
0
    public void Start()
    {
        SdbManager.InitSdbManager();
        NetworkManager.Instance.receiver = this;
        NetworkManager.Instance.Connect("10.10.0.34");

        playButton.SetActive(true);
        waitingText.enabled = false;
    }
Example #2
0
        public void SdbManager_LoadTestSdb()
        {
            SdbManager.InitSdbManager("MP_Test_Sdb");

            var testSdb = SdbManager.GetSdbOrNull <TestSdb>();

            Assert.IsNotNull(testSdb);

            Debug.Log($"TestSdb's testNum is {testSdb.testNum}");
        }