public TokenManager Initialize() { ClusterManager.Instance.ClustersToIdentifyEvent += OnClustersToIdentify; ClusterManager.Instance.ClustersMovedEvent += OnClustersMoved; ClusterManager.Instance.ClustersCancelledEvent += OnClustersCancelled; ClusterManager.Instance.SetClusterDistThreshold(CurrentTokenType.TokenDiagonalPX); tokenStatistics = TokenStatistics.Instance; return _instance; }
// Use this for initialization void Start () { ts = TokenStatistics.Instance; }