void Generate(ClassPrototypeModel model) { var template = new ClassPrototype(model); var content = template.TransformText(); var fileName = String.Concat(model.Name, "Prototype", _options.Extension); _files.Add(new GeneratedFile(content, fileName)); }
private void Start() { pClass = GetComponent <PlayerClass>(); if (useClassSelection) { Debug.Log(BControl.CurrentClass); ClassL = BControl.CurrentClass; } pClass.allPerks = ClassL.Perks; pClass.onLevelUp = ClassL.OnLevel; pClass.TakeDefaults(ClassL.Defaults); }