Beispiel #1
0
        public void TrackProgressed(CompletableController completableController)
        {
            var completableId       = completableController.Completable.getId();
            var completableType     = (CompletableTracker.Completable)completableController.Completable.getType() - 1;
            var completableProgress = completableController.Progress;

            TrackerAsset.Instance.Completable.Progressed(completableId, completableType, completableProgress);
        }
Beispiel #2
0
        public void TrackCompleted(CompletableController completableController, TimeSpan timeElapsed)
        {
            var completableId    = completableController.Completable.getId();
            var completableType  = (CompletableTracker.Completable)completableController.Completable.getType() - 1;
            var completableScore = completableController.Score;

            TrackerAsset.Instance.setVar("time", timeElapsed.TotalSeconds);
            TrackerAsset.Instance.Completable.Completed(completableId, completableType, true, completableScore);
        }
Beispiel #3
0
        public void TrackStarted(CompletableController completableController)
        {
            var completableId   = completableController.Completable.getId();
            var completableType = (CompletableTracker.Completable)completableController.Completable.getType() - 1;


            TrackerAsset.Instance.Completable.Initialized(completableId, completableType);
            TrackerAsset.Instance.Completable.Progressed(completableId, completableType, 0);
        }