// Use this for initialization void Start() { BuyLogic logic = needshow[0].AddComponent <BuyLogic>(); logic.buy = this; }
public SimpleData(BookManagerLogic bookManagerLogic, PersonManagerLogic personManagerLogic, BuyLogic buyLogic) { _bookManagerLogic = bookManagerLogic; _personManagerLogic = personManagerLogic; _buyLogic = buyLogic; }