Command
Commands are the Controllers in the classic Model-View-Controller structure.
Command(Contex contex)
Remarks
void InitModel()
Remarks
public override void InitModel() {
BindModel(ModelType.ScoreModel, ScoreModel.GetSingleton<ScoreModel>());
}void BindModel(enum, Model model)
Params
Remarks
void AddListener(enum, Action.Do doFunc)
Params
Remarks
void OnMessage(enum, Action.Do doFunc)
Params
Remarks
void OnStart()
Remarks
Example
Last updated