// Use this for initialization void Start() { btn_back.onClick.AddListener(() => BackClick()); btn_y.onClick.AddListener(() => YClick()); btn_no.onClick.AddListener(() => NClick()); anim = GetComponent<Animator>(); Instance = this; }
// Use this for initialization void Start() { btn_back.onClick.AddListener(() => BackClick()); btn_y.onClick.AddListener(() => YClick()); btn_no.onClick.AddListener(() => NClick()); anim = GetComponent <Animator>(); Instance = this; }
private void InitBlock(QuitDialog enclosingInstance) { this.enclosingInstance = enclosingInstance; }
public SymWindow(QuitDialog enclosingInstance) { InitBlock(enclosingInstance); }
public SymAction(QuitDialog enclosingInstance) { InitBlock(enclosingInstance); }