示例#1
0
 // Start is called before the first frame update
 void Awake()
 {
     instance = this;
     model    = GetComponent <DialogModel>();
     view     = GetComponent <DialogView>();
 }
示例#2
0
 // Start is called before the first frame update
 public void Init(DialogModel model)
 {
     _model = model;
 }