示例#1
0
 private void InitHeart(int index)
 {
     _hearts[index] = ActorFactory.CreateHeart();
     _hearts[index].Transform.Parent = Transform;
     Instatiate(_hearts[index]);
     PlaceHeart(_hearts[index], index);
 }