예제 #1
0
 public HitTarget(HitTargetData data) : base(data)
 {
     _meshGenerator = new HitTargetMeshGenerator(Data);
     _hitGenerator  = new HitTargetHitGenerator(Data, _meshGenerator);
 }
 public HitTargetHitGenerator(HitTargetData data, HitTargetMeshGenerator meshGenerator)
 {
     _data          = data;
     _meshGenerator = meshGenerator;
 }