public void setMethod(Completable.Score.ScoreMethod scoreMethod)
        {
            if (getMethod() == scoreMethod)
            {
                return;
            }

            if (scoreMethod != Completable.Score.ScoreMethod.SINGLE)
            {
                score.setId("");
            }
            else
            {
                score.setSubScores(new List <Completable.Score>());
                scoreDataControls.Clear();
            }

            Controller.Instance.AddTool(ChangeEnumValueTool.Create(score, scoreMethod, "getMethod", "setMethod"));
        }
Exemplo n.º 2
0
 public void setStorageType(TrackerConfig.StorageType storageType)
 {
     controller.AddTool(ChangeEnumValueTool.Create(trackerConfig, storageType, "getStorageType",
                                                   "setStorageType"));
 }
Exemplo n.º 3
0
 public void setTraceFormat(TrackerConfig.TraceFormat traceFormat)
 {
     controller.AddTool(ChangeEnumValueTool.Create(trackerConfig, traceFormat, "getTraceFormat",
                                                   "setTraceFormat"));
 }
 public void setType(Completable.Score.ScoreType scoreType)
 {
     score.setId("");
     Controller.Instance.AddTool(ChangeEnumValueTool.Create(score, scoreType, "getType", "setType"));
 }
Exemplo n.º 5
0
 public void setType(Completable.Progress.ProgressType type)
 {
     Controller.Instance.AddTool(ChangeEnumValueTool.Create(progress, type, "getType", "setType"));
 }
Exemplo n.º 6
0
 public void setType(Completable.Milestone.MilestoneType type)
 {
     Controller.Instance.AddTool(ChangeEnumValueTool.Create(milestone, type, "getType", "setType"));
 }
Exemplo n.º 7
0
 public void setTransitionType(TransitionType value)
 {
     Controller.Instance.AddTool(ChangeEnumValueTool.Create(cutscene, value, "getTransitionType", "setTransitionType"));
 }