private void Init() { if (!_Initialized) { _Ribbon = this.GetComponentInChildren <RibbonWidget>(); _Initialized = true; } }
void Awake() { _Ribbon = this.GetComponentInChildren <RibbonWidget>(); this.GetComponent <Button>().onClick.AddListener(OnClick); WorldObjectProvider.OnWorldChanged += RefreshSelection; }