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