Ejemplo n.º 1
0
 protected override void AddOnButtonClickMethod(StringBuilder builder, string gameObjectName)
 {
     builder.Append(string.Format(@"        private void OnClick{0} ()
 {{
     
 }}", gameObjectName, NameConverter.RemoveButton(gameObjectName)));
 }
Ejemplo n.º 2
0
 protected override void AddOnButtonClickMethod(StringBuilder builder, string gameObjectName)
 {
     builder.Append(string.Format(@"        public void {0} ()
 {{
     throw new System.NotImplementedException();
 }}", NameConverter.RemoveButton(gameObjectName)));
 }
Ejemplo n.º 3
0
        protected override void AddOnButtonClickMethod(StringBuilder builder, string gameObjectName)
        {
            var method = string.Format(@"        public virtual void {0} ()
        {{
            Model.{0}();
        }}", NameConverter.RemoveButton(gameObjectName));

            builder.Append(method);
        }
Ejemplo n.º 4
0
        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)));
        }