コード例 #1
0
 void addCameraSnapPositionIfNotExist(LevelModelComponent component, Entity cameraEntity)
 {
     if (!cameraEntity.hasSnapPosition)
     {
         cameraEntity.AddSnapPosition(component.position.x, component.position.y, component.size.x, component.size.y, false);
     }
 }