Example #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();
 }
    private void Awake()
    {
        if (Instance == null)

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

        ncmbRestController = GetComponent <NCMBRestController>();
    }
Example #3
0
 private void Awake()
 {
     ncmbRestController = GetComponent <NCMBRestController>();
 }
 protected override void Awake()
 {
     isDontDestroy = true;
     base.Awake();
     ncmbRestController = GetComponent <NCMBRestController>();
 }