예제 #1
0
 public void Fill(Creature creature)
 {
     var partPrefab = creature.GetPartPrefab(type);
     var part = InstantiatePrefab(partPrefab, transform.position, transform.rotation);
     part.transform.parent = transform;
     
     part.FillSlots(creature);
 }