예제 #1
0
    IEnumerator Start()
    {
        // Until we can properly record data, disable
        yield return(new WaitUntil(() => central.state == CentralState.Idle));

        // Register to be notified of new dice getting connected
        central.RegisterClient(this);
    }