SyncSnyicNotifier 

    Namespace: SynicSugar.P2P
    Class: p2pInfo

    public SyncSnyicNotifier SyncSnyicNotifier

    Description 

    Invoke the registered event when synced some Synic variables by SyncSynic.

    Event 

    APIdescription
    OnSyncedSynicInvoke when some Synic variables is synced

    Function 

    APIdescription
    RegisterSet events
    using SynicSugar.P2P;
    using UnityEngine;
    
    public class p2pSample : MonoBehaviour {
        void Start(){
            p2pInfo.Instance.SyncSnyicNotifier.OnSyncedSynic += OnSyncedSynic;
        }
    
        void OnSyncedSynic(){
            if(!p2pInfo.Instance.HasReceivedAllSyncSynic){
                return;
            }
            Debug.Log($"Get all basis data on phase {p2pInfo.Instance.SyncedSynicPhase}");
        }
    }