protected override void AddOnButtonClickMethod(StringBuilder builder, string gameObjectName) { builder.Append(string.Format(@" private void OnClick{0} () {{ }}", gameObjectName, NameConverter.RemoveButton(gameObjectName))); }
protected override void AddOnButtonClickMethod(StringBuilder builder, string gameObjectName) { builder.Append(string.Format(@" public void {0} () {{ throw new System.NotImplementedException(); }}", NameConverter.RemoveButton(gameObjectName))); }
protected override void AddOnButtonClickMethod(StringBuilder builder, string gameObjectName) { var method = string.Format(@" public virtual void {0} () {{ Model.{0}(); }}", NameConverter.RemoveButton(gameObjectName)); builder.Append(method); }
protected override void AddOnButtonClickMethod(StringBuilder builder, string gameObjectName) { builder.Append(string.Format(@" [Test] public void Test{0} () {{ // Set // Do {1}Model.{0} (); // Check throw new System.NotImplementedException(); }}", NameConverter.RemoveButton(gameObjectName), NameConverter.ConvertPrivateField(ModuleName))); }