void Start() { bGLModule = GetComponentInChildren <BGLModule>(); //DEL CloseBTN.onClick.AddListener(delegate { CloseEvent(); }); SaveBTN.onClick.AddListener(delegate { SaveEvent(); }); OkBTN.onClick.AddListener(delegate { OkEvent(); }); }
public void EnterAspect(byte entaspect) { bGLModule = GetComponentInChildren <BGLModule>(); FBGL = entaspect; while (bGLModule.sl == null) { return; } bGLModule.sl.value = FBGL; }