MGame.ShowNote C# (CSharp) Method

ShowNote() public method

public ShowNote ( string message, float duration ) : void
message string
duration float
return void
    public void ShowNote(string message, float duration)
    {
        FLabel noteLabel = new FLabel("Cubano",message);

        noteLabel.scale = 0.8f;

        container.AddChild(noteLabel);

        Go.to (noteLabel,duration,new TweenConfig().floatProp("scale",1.0f).onComplete (HandleNoteComplete));
    }