Forum Libraries, Components, and Plugins

CCTextField problem

Hello! I add CCTextField on Layer, but when i click nothing happens! My code in constructor:

textField = new CCTextField ("click here","Arial",50);
AddChild(textField);

and in OnCreate:

textField.AnchorPoint = CCPoint.AnchorMiddle;
textField.Position = new CCPoint(300,300);

What am I doing wrong? Maybe I should add some delegates to events? Thanks!

Answers

Sign In or Register to comment.