Пример #1
0
 private void Awake()
 {
     this.items          = new List <Dictionary <string, object> >();
     this.restController = this.gameObject.GetComponent <NCMBRestController>();
     this.settings       = this.gameObject.GetComponent <RankingSettings>();
     this.appearance     = this.gameObject.GetComponent <BoardAppearance>();
     this.SetupListView();
 }
Пример #2
0
    private void Awake()
    {
        if (Instance == null)

        {
            Instance = this;
            DontDestroyOnLoad(this.gameObject);
        }
        else
        {
            Destroy(this.gameObject);
        }

        ncmbRestController = GetComponent <NCMBRestController>();
    }
Пример #3
0
 private void Awake()
 {
     ncmbRestController = GetComponent <NCMBRestController>();
 }
 protected override void Awake()
 {
     isDontDestroy = true;
     base.Awake();
     ncmbRestController = GetComponent <NCMBRestController>();
 }