コード例 #1
0
    private void Awake()
    {
        Strength = ConnectionStrength.Offline;

        base.Awake();

        DontDestroyOnLoad(gameObject);

        EventProcessor.AddInstructionParams(Inbound.ConnectionOK, OnConnected);
        EventProcessor.AddInstructionParams(Inbound.PingTest, PingResponse);
        EventProcessor.AddInstructionParams(Inbound.Crash, CrashRecovery);
    }