Example #1
0
 // 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;
 }
Example #2
0
 // 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;
 }
Example #3
0
 private void InitBlock(QuitDialog enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Example #4
0
 public SymWindow(QuitDialog enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }
Example #5
0
 public SymAction(QuitDialog enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }