public virtual void Start() { if (logicButton == null) { logicButton = GetComponentInChildren <LogicButton>(); } logicButton.SetButtonObj(elementObject); }
void Start() => logicButton.SetButtonObj(elementObject);