void Awake() { if (Instance == null) { Instance = this; } else if (Instance != this) { Destroy(gameObject); } }
public override void Create() { Product = new ProductB(); AirCondition = new AirConditionB(); Camera = new CameraB(); }