// Start is called before the first frame update void Start() { FactoryIPhone8 factoryIPhone8 = new FactoryIPhone8(); factoryIPhone8.CreateIPhone(); FactoryIPhoneX factoryIPhoneX = new FactoryIPhoneX(); factoryIPhoneX.CreateIPhone(); }
// Start is called before the first frame update void Start() { FactoryIPhone8 factoryIPhone8 = new FactoryIPhone8(); factoryIPhone8.ProduceIPhone(); factoryIPhone8.ProduceIPhoneCharger(); FactoryIPhoneX factoryIPhoneX = new FactoryIPhoneX(); factoryIPhoneX.ProduceIPhone(); factoryIPhoneX.ProduceIPhoneCharger(); }